From 3bbf62a7107cdc9e3f886bcb6b9feb6fb1c53d61 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 24 Aug 2024 04:30:30 +0200 Subject: [PATCH] add formatting again --- lua/plugins/format.lua | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) 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, }