Skip to content

Commit cae353e

Browse files
VlaDexamonk3yd
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 5df05b7 commit cae353e

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

706706
{ -- Autoformat
707707
'stevearc/conform.nvim',
708-
lazy = false,
708+
event = { 'BufWritePre' },
709+
cmd = { 'ConformInfo' },
709710
keys = {
710711
{
711712
'<leader>f',

0 commit comments

Comments
 (0)