aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorBrandon Clark <bwclark97@gmail.com>2024-07-28 12:43:08 -0400
committerGitHub <noreply@github.com>2024-07-28 12:43:08 -0400
commit1cef2325e0d28ec99c1d8446be4ea58b73028901 (patch)
treea2ab3d84a03baceec89be87793afd68a8571c3e1 /init.lua
parentf00b2866de46fab6fcac519b70dbec1d0c683f9b (diff)
Modify conform comments to prevent deprecation warning when used (#1057)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index bfbb676..d4d7b8c 100644
--- a/init.lua
+++ b/init.lua
@@ -653,9 +653,8 @@ require('lazy').setup({
-- 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 },
},
},
},