From ad8482ad5ca98ad026f3f47dccda0afcd8756e1f Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Thu, 8 Jan 2026 17:12:16 +0100 Subject: [PATCH] fix format --- lua/plugins/format.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/plugins/format.lua b/lua/plugins/format.lua index eaf1980..63f4139 100644 --- a/lua/plugins/format.lua +++ b/lua/plugins/format.lua @@ -14,7 +14,7 @@ return { opts = { log_level = vim.log.levels.DEBUG, notify_on_error = true, - format_on_save = { + format_after_save = { timeout_ms = 500, lsp_format = 'fallback', async = true, @@ -32,7 +32,8 @@ return { javascriptreact = { 'eslint_d' }, typescript = { 'eslint_d' }, typescriptreact = { 'eslint_d' }, - ['*'] = { 'codespell', 'trim_whitespace' }, + -- ['*'] = { 'codespell' }, + ['_'] = { 'trim_whitespace' }, }, }, }