diff --git a/lua/plugins/format.lua b/lua/plugins/format.lua index 1205442..74e0fb8 100644 --- a/lua/plugins/format.lua +++ b/lua/plugins/format.lua @@ -1,19 +1,19 @@ return { - -- 'stevearc/conform.nvim', - -- lazy = false, - -- opts = { - -- notify_on_error = true, - -- -- formatters_by_ft = { - -- -- svelte = { "prettier" }, - -- -- vue = { "prettier" }, - -- -- }, - -- format_on_save = { - -- lsp_fallback = true, - -- timeout_ms = 1500, - -- }, - -- }, - -- config = function(_, opts) - -- local plug = require('conform') - -- plug.setup(opts) - -- end, + 'stevearc/conform.nvim', + lazy = false, + opts = { + notify_on_error = true, + -- formatters_by_ft = { + -- svelte = { "prettier" }, + -- vue = { "prettier" }, + -- }, + format_on_save = { + lsp_fallback = true, + timeout_ms = 1500, + }, + }, + config = function(_, opts) + local plug = require('conform') + plug.setup(opts) + end, }