feat(lsp): tweak formatting sync timeout
This commit is contained in:
parent
4de18981ce
commit
730e7e32c1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ function M.on_attach(client, bufnr)
|
|||
vim.cmd(([[
|
||||
augroup CosmicFormat
|
||||
autocmd!
|
||||
autocmd BufWritePre %s lua vim.lsp.buf.formatting_sync(nil, 200)
|
||||
autocmd BufWritePre %s lua vim.lsp.buf.formatting_sync(nil, 400)
|
||||
augroup end
|
||||
]]):format(format_filetypes))
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue