chore(diagnostics): follow upstreams autocommand's rename (#796)
See: https://github.com/neovim/neovim/issues/14090#issuecomment-979424077
This commit is contained in:
parent
5d8453dfbd
commit
5c32c1d8b3
@ -137,7 +137,7 @@ function M.setup(opts)
|
||||
|
||||
if M.enable then
|
||||
if has_06 then
|
||||
vim.cmd "au User DiagnosticsChanged lua require'nvim-tree.diagnostics'.update()"
|
||||
vim.cmd "au DiagnosticChanged * lua require'nvim-tree.diagnostics'.update()"
|
||||
else
|
||||
vim.cmd "au User LspDiagnosticsChanged lua require'nvim-tree.diagnostics'.update()"
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user