From 42719a9f92decc1780dedd6f7aba04ecbd00a5ec Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Mon, 29 Dec 2025 12:05:57 +0200 Subject: [PATCH] feat(conform): do not disable formatters on timeout --- config/modules/plugins/conform-nvim.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/modules/plugins/conform-nvim.nix b/config/modules/plugins/conform-nvim.nix index 346f8a2..3ec165d 100644 --- a/config/modules/plugins/conform-nvim.nix +++ b/config/modules/plugins/conform-nvim.nix @@ -124,14 +124,15 @@ return end - if slow_format_filetypes[vim.bo[bufnr].filetype] then - return - end + -- if slow_format_filetypes[vim.bo[bufnr].filetype] then + -- return + -- end local function on_format(err) - if err and err:match("timeout$") then - slow_format_filetypes[vim.bo[bufnr].filetype] = true - end + return + -- if err and err:match("timeout$") then + -- slow_format_filetypes[vim.bo[bufnr].filetype] = true + -- end end return { timeout_ms = 200, lsp_fallback = true }, on_format