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' }, }, }, }