add formatting again

This commit is contained in:
Tim
2024-08-24 04:30:30 +02:00
parent 4a4f08c331
commit 3bbf62a710

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 = {
-- lsp_fallback = true,
-- timeout_ms = 1500,
-- }, -- },
-- }, format_on_save = {
-- config = function(_, opts) lsp_fallback = true,
-- local plug = require('conform') timeout_ms = 1500,
-- plug.setup(opts) },
-- end, },
config = function(_, opts)
local plug = require('conform')
plug.setup(opts)
end,
} }