Skip to content

Commit 9525dec

Browse files
VlaDexabenwis
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 e961671 commit 9525dec

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

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

0 commit comments

Comments
 (0)