diff options
author | Brandon Clark <bwclark97@gmail.com> | 2024-07-28 12:43:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-28 12:43:08 -0400 |
commit | 1cef2325e0d28ec99c1d8446be4ea58b73028901 (patch) | |
tree | a2ab3d84a03baceec89be87793afd68a8571c3e1 | |
parent | f00b2866de46fab6fcac519b70dbec1d0c683f9b (diff) |
Modify conform comments to prevent deprecation warning when used (#1057)
-rw-r--r-- | init.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 }, }, }, }, |