Skip to content

Commit e498aa2

Browse files
VlaDexakenji-yamada
authored andcommitted
Make conform.nvim be lazy-loadable again (nvim-lua#977)
The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being loaded before write. This sets up lazy to load conform before write.
1 parent 8849336 commit e498aa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ require('lazy').setup({
639639

640640
{ -- Autoformat
641641
'stevearc/conform.nvim',
642-
lazy = false,
642+
event = { 'BufWritePre' },
643+
cmd = { 'ConformInfo' },
643644
keys = {
644645
{
645646
'<leader>f',

0 commit comments

Comments
 (0)