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 | 90f6c5ed1bbcb23af49bc2d60625d6701babc366 (patch) | |
| tree | 2106bf02157982cf7d4595f0f99d14211b86ccad /nvim/init.lua | |
| parent | 92aa9b3147610df8a62e40090b3c52c0aab4b341 (diff) | |
| download | dots-90f6c5ed1bbcb23af49bc2d60625d6701babc366.tar.gz | |
Modify conform comments to prevent deprecation warning when used (#1057)
Diffstat (limited to 'nvim/init.lua')
| -rw-r--r-- | nvim/init.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index bfbb676..d4d7b8c 100644 --- a/nvim/init.lua +++ b/nvim/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 }, }, }, }, |