mirror of
https://github.com/neovim/neovim.git
synced 2025-11-09 03:55:11 +00:00
fix(diagnostic): populate data key in DiagnosticChanged autocmd in reset (#20207)
Follow up to #20173.
This commit is contained in:
@@ -1426,6 +1426,7 @@ function M.reset(namespace, bufnr)
|
|||||||
vim.api.nvim_exec_autocmds('DiagnosticChanged', {
|
vim.api.nvim_exec_autocmds('DiagnosticChanged', {
|
||||||
modeline = false,
|
modeline = false,
|
||||||
buffer = iter_bufnr,
|
buffer = iter_bufnr,
|
||||||
|
data = { diagnostics = {} },
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user