Skip to content

Commit c3daba4

Browse files
VlaDexapetalas
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 940d897 commit c3daba4

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

668668
{ -- Autoformat
669669
'stevearc/conform.nvim',
670-
lazy = false,
670+
event = { 'BufWritePre' },
671+
cmd = { 'ConformInfo' },
671672
keys = {
672673
{
673674
'<leader>f',

0 commit comments

Comments
 (0)