aboutsummaryrefslogtreecommitdiffstats
path: root/doc/recipes.md
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-09-16 22:37:18 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-09-16 22:37:18 -0700
commit0d963f82add9ca4faf49b54fc28f57038742ded3 (patch)
tree8368c5bb75c6131238823a97410295d8866b80aa /doc/recipes.md
parenta589750635fcc5bb52c7e572cd853446c2c63855 (diff)
fix: unify timeout error message format with LSP
Diffstat (limited to 'doc/recipes.md')
-rw-r--r--doc/recipes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/recipes.md b/doc/recipes.md
index c235475..5aeaf47 100644
--- a/doc/recipes.md
+++ b/doc/recipes.md
@@ -149,7 +149,7 @@ require("conform").setup({
return
end
local function on_format(err)
- if err and err:match("timed out$") then
+ if err and err:match("timeout$") then
slow_format_filetypes[vim.bo[bufnr].filetype] = true
end
end