summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/conform.lua
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-06-03 23:56:21 +0300
committerKyren223 <contact@kyren.codes>2026-06-03 23:56:21 +0300
commitaad66b37010a905ace858eec570458567d5fff82 (patch)
tree2a4c74525fa4c2351fcdc55547369d03cd83524c /.config/nvim/lua/plugins/conform.lua
parent82e76bad45acfa765ae397c62c94c1486314d497 (diff)
install formatters
Diffstat (limited to '.config/nvim/lua/plugins/conform.lua')
-rw-r--r--.config/nvim/lua/plugins/conform.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/lua/plugins/conform.lua b/.config/nvim/lua/plugins/conform.lua
index 662706c..90172a7 100644
--- a/.config/nvim/lua/plugins/conform.lua
+++ b/.config/nvim/lua/plugins/conform.lua
@@ -12,9 +12,6 @@ return {
opts = {
formatters_by_ft = {
['lua'] = { 'stylua' },
- -- ['c'] = { 'clang-format' },
- -- ['python'] = { 'isort', 'black' },
- -- ['rust'] = { 'rustfmt' },
['go'] = { 'gofumpt', 'goimports-reviser' },
['markdown'] = { 'prettierd', 'prettier', stop_after_first = true },
['yaml'] = { 'prettierd' },
@@ -23,6 +20,9 @@ return {
['css'] = { 'prettierd', 'prettier', stop_after_first = true },
['javascript'] = { 'prettierd', 'prettier', stop_after_first = true },
['typescript'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['c'] = { 'clang-format' },
+ -- ['python'] = { 'isort', 'black' },
+ -- ['rust'] = { 'rustfmt' },
},
format_on_save = function(bufnr)
-- Disable with a global or buffer local variable