Skip to content

Commit 847c67f

Browse files
igniscyanmonk3yd
authored andcommitted
Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)
1 parent 371ccbd commit 847c67f

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
@@ -732,9 +732,8 @@ require('lazy').setup({
732732
-- Conform can also run multiple formatters sequentially
733733
-- python = { "isort", "black" },
734734
--
735-
-- You can use a sub-list to tell conform to run *until* a formatter
736-
-- is found.
737-
-- javascript = { { "prettierd", "prettier" } },
735+
-- You can use 'stop_after_first' to run the first available formatter from the list
736+
-- javascript = { "prettierd", "prettier", stop_after_first = true },
738737
},
739738
},
740739
},

0 commit comments

Comments
 (0)