disable formatter

This commit is contained in:
Tim
2024-08-21 22:37:20 +02:00
parent 3717d2c216
commit 4a4f08c331

View File

@@ -1,19 +1,19 @@
return { return {
'stevearc/conform.nvim', -- 'stevearc/conform.nvim',
lazy = false, -- lazy = false,
opts = { -- opts = {
notify_on_error = true, -- notify_on_error = true,
-- formatters_by_ft = { -- -- formatters_by_ft = {
-- svelte = { "prettier" }, -- -- svelte = { "prettier" },
-- vue = { "prettier" }, -- -- vue = { "prettier" },
-- }, -- -- },
format_on_save = { -- format_on_save = {
lsp_fallback = true, -- lsp_fallback = true,
timeout_ms = 1500, -- timeout_ms = 1500,
}, -- },
}, -- },
config = function(_, opts) -- config = function(_, opts)
local plug = require('conform') -- local plug = require('conform')
plug.setup(opts) -- plug.setup(opts)
end, -- end,
} }