fix lag and add buffer management
This commit is contained in:
parent
9f86c36b7e
commit
e045491ec1
8 changed files with 121 additions and 24 deletions
|
|
@ -88,7 +88,7 @@ return {
|
|||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
buffer = ev.buf,
|
||||
callback = function()
|
||||
vim.lsp.buf.format({ async = false })
|
||||
vim.lsp.buf.format({ bufnr = ev.buf, async = false })
|
||||
end,
|
||||
})
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue