nvim: Fix prettier formatting timeout
Add a longer timeout to give prettier time to read and format each file, especially useful for longer files.
This commit is contained in:
parent
eb9fa8a156
commit
a689d7cc3d
1 changed files with 2 additions and 1 deletions
|
@ -153,6 +153,7 @@ require("mason-null-ls").setup({
|
||||||
prettier = function(_, _)
|
prettier = function(_, _)
|
||||||
null_ls.register(null_ls.builtins.formatting.prettier.with({
|
null_ls.register(null_ls.builtins.formatting.prettier.with({
|
||||||
extra_filetypes = { "astro" },
|
extra_filetypes = { "astro" },
|
||||||
|
timeout = 7000,
|
||||||
}))
|
}))
|
||||||
end,
|
end,
|
||||||
eslint = function(_, _)
|
eslint = function(_, _)
|
||||||
|
|
Loading…
Reference in a new issue