summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/conform.lua
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-19 00:58:09 +0200
committerKyren223 <Kyren223@proton.me>2024-11-19 00:58:09 +0200
commit92010ca06c47eaaa7d39526d5a0f8b3138dfd59d (patch)
treecb30c2752d80f3c771b3285b3b06dd4647b46dec /.config/nvim/lua/custom/plugins/conform.lua
parent39b82ef71b84077c6ebd9f53ca1f017e3670243a (diff)
Disabled a bunch of nvim stuff, will re-enable later once I sort things out
Diffstat (limited to '.config/nvim/lua/custom/plugins/conform.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/conform.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/.config/nvim/lua/custom/plugins/conform.lua b/.config/nvim/lua/custom/plugins/conform.lua
index 5569159..973e5dc 100644
--- a/.config/nvim/lua/custom/plugins/conform.lua
+++ b/.config/nvim/lua/custom/plugins/conform.lua
@@ -12,18 +12,18 @@ return {
---@type conform.setupOpts
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' },
- ['json'] = { 'jq' },
- ['html'] = { 'prettierd', 'prettier', stop_after_first = true },
- ['css'] = { 'prettierd', 'prettier', stop_after_first = true },
- ['javascript'] = { 'prettierd', 'prettier', stop_after_first = true },
- ['typescript'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['lua'] = { 'stylua' },
+ -- ['c'] = { 'clang-format' },
+ -- ['python'] = { 'isort', 'black' },
+ -- ['rust'] = { 'rustfmt' },
+ -- ['go'] = { 'gofumpt', 'goimports-reviser' },
+ -- ['markdown'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['yaml'] = { 'prettierd' },
+ -- ['json'] = { 'jq' },
+ -- ['html'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['css'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['javascript'] = { 'prettierd', 'prettier', stop_after_first = true },
+ -- ['typescript'] = { 'prettierd', 'prettier', stop_after_first = true },
},
format_on_save = function(bufnr)
-- Disable with a global or buffer local variable