diff options
Diffstat (limited to 'lua/kickstart/plugins')
-rw-r--r-- | lua/kickstart/plugins/conform.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/kickstart/plugins/conform.lua b/lua/kickstart/plugins/conform.lua index 4f280f7..e7fc728 100644 --- a/lua/kickstart/plugins/conform.lua +++ b/lua/kickstart/plugins/conform.lua @@ -30,9 +30,8 @@ return { -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- - -- You can use a sub-list to tell conform to run *until* a formatter - -- is found. - -- javascript = { { "prettierd", "prettier" } }, + -- You can use 'stop_after_first' to run the first available formatter from the list + -- javascript = { "prettierd", "prettier", stop_after_first = true }, }, }, }, |