diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-07-28 20:50:15 +0200 |
---|---|---|
committer | Damjan 9000 <damjan.9000@gmail.com> | 2024-07-28 20:50:15 +0200 |
commit | 5a2930fe62bd4fea7a512a51dab355522736432e (patch) | |
tree | de57d6bcd0a4a035b173efcb0c6c482f6dc7a716 /lua/kickstart/plugins/conform.lua | |
parent | e1d6094136efb6f0c1f5a9f303fb8cbbe32b5976 (diff) | |
parent | 1cef2325e0d28ec99c1d8446be4ea58b73028901 (diff) |
Merge 'upstream' conform warning, redundant hlsearch
Modify conform comments to prevent deprecation warning when used
Remove redundant hlsearch option
Diffstat (limited to 'lua/kickstart/plugins/conform.lua')
-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 }, }, }, }, |