Skip to content

Commit d229436

Browse files
igniscyankiran079
authored andcommitted
Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)
1 parent 9837d1b commit d229436

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

init.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,8 @@ require('lazy').setup({
655655
-- Conform can also run multiple formatters sequentially
656656
-- python = { "isort", "black" },
657657
--
658-
-- You can use a sub-list to tell conform to run *until* a formatter
659-
-- is found.
660-
-- javascript = { { "prettierd", "prettier" } },
658+
-- You can use 'stop_after_first' to run the first available formatter from the list
659+
-- javascript = { "prettierd", "prettier", stop_after_first = true },
661660
},
662661
},
663662
},

0 commit comments

Comments
 (0)