#1216 respond to CocDiagnosticChange (#1243)

This commit is contained in:
Alexander Courtis 2022-05-08 19:41:20 +10:00 committed by GitHub
parent b1dfcabba1
commit a448e66dde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,7 @@ function M.setup(opts)
if M.enable then
log.line("diagnostics", "setup")
vim.cmd "au DiagnosticChanged * lua require'nvim-tree.diagnostics'.update()"
vim.cmd "au User CocDiagnosticChange lua require'nvim-tree.diagnostics'.update()"
end
end