Skip to content

Commit b40a1af

Browse files
igniscyanrodolfolabiapari
authored andcommitted
Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)
1 parent e1f5260 commit b40a1af

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
@@ -666,9 +666,8 @@ require('lazy').setup({
666666
-- Conform can also run multiple formatters sequentially
667667
-- python = { "isort", "black" },
668668
--
669-
-- You can use a sub-list to tell conform to run *until* a formatter
670-
-- is found.
671-
-- javascript = { { "prettierd", "prettier" } },
669+
-- You can use 'stop_after_first' to run the first available formatter from the list
670+
-- javascript = { "prettierd", "prettier", stop_after_first = true },
672671
},
673672
},
674673
},

0 commit comments

Comments
 (0)