mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-21 20:11:06 +00:00
fix(diagnostics): deepcopy diagnostic params. Fixes #621
This commit is contained in:
parent
3518c1d73b
commit
1caa27ba4a
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ return {
|
|||
end
|
||||
end
|
||||
|
||||
vim.diagnostic.config(opts.diagnostics)
|
||||
vim.diagnostic.config(vim.deepcopy(opts.diagnostics))
|
||||
|
||||
local servers = opts.servers
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue