Skip to content

Commit 8bb9034

Browse files
igniscyankenji-yamada
authored andcommitted
Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)
1 parent 4bb927e commit 8bb9034

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
@@ -670,9 +670,8 @@ require('lazy').setup({
670670
-- Conform can also run multiple formatters sequentially
671671
-- python = { "isort", "black" },
672672
--
673-
-- You can use a sub-list to tell conform to run *until* a formatter
674-
-- is found.
675-
-- javascript = { { "prettierd", "prettier" } },
673+
-- You can use 'stop_after_first' to run the first available formatter from the list
674+
-- javascript = { "prettierd", "prettier", stop_after_first = true },
676675
},
677676
},
678677
},

0 commit comments

Comments
 (0)