diff options
author | Vladislav Grechannik <52157081+VlaDexa@users.noreply.github.com> | 2024-07-21 22:34:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-21 16:34:17 -0400 |
commit | b36d84ddf0b88ab71593d25bf68b48cae9d578eb (patch) | |
tree | fbbf6a4dcd8beeb9cc20a4dffbc3428144788f65 | |
parent | c405d3fd4f5e105c3c7a43dcddcb96f01ca70dee (diff) |
Make conform.nvim be lazy-loadable again (#977)
The PR that disabled lazy loading (#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -626,7 +626,8 @@ require('lazy').setup({ { -- Autoformat 'stevearc/conform.nvim', - lazy = false, + event = { 'BufWritePre' }, + cmd = { 'ConformInfo' }, keys = { { '<leader>f', |