Skip to content

Commit a66b739

Browse files
restrayTimothée Belhomme
authored and
Timothée Belhomme
committed
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 b45aa74 commit a66b739

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

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

0 commit comments

Comments
 (0)