Skip to content

Commit 5c32c1d

Browse files
authored
chore(diagnostics): follow upstreams autocommand's rename (#796)
See: neovim/neovim#14090 (comment)
1 parent 5d8453d commit 5c32c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/diagnostics.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function M.setup(opts)
137137

138138
if M.enable then
139139
if has_06 then
140-
vim.cmd "au User DiagnosticsChanged lua require'nvim-tree.diagnostics'.update()"
140+
vim.cmd "au DiagnosticChanged * lua require'nvim-tree.diagnostics'.update()"
141141
else
142142
vim.cmd "au User LspDiagnosticsChanged lua require'nvim-tree.diagnostics'.update()"
143143
end

0 commit comments

Comments
 (0)