feat(conform): re-enable auto formatting, fix #47 #48

Merged
palkx merged 4 commits from feat/update-conform-plugin into main 2025-12-29 12:11:44 +02:00
Showing only changes of commit 543ccb7573 - Show all commits

View File

@@ -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