Skip to content

Commit 87d8237

Browse files
committed
Make conform.nvim be lazy-loadable again
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 5aeddfd commit 87d8237

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
@@ -627,7 +627,8 @@ require('lazy').setup({
627627

628628
{ -- Autoformat
629629
'stevearc/conform.nvim',
630-
lazy = false,
630+
event = { 'BufWritePre' },
631+
cmd = { 'ConformInfo' },
631632
keys = {
632633
{
633634
'<leader>f',

0 commit comments

Comments
 (0)