mirror of
https://github.com/neovim/neovim.git
synced 2026-02-17 09:04:19 +00:00
feat(diagnostic): pass diagnostics as data to DiagnosticChanged autocmd (#20173)
This commit is contained in:
@@ -727,6 +727,7 @@ function M.set(namespace, bufnr, diagnostics, opts)
|
||||
vim.api.nvim_exec_autocmds('DiagnosticChanged', {
|
||||
modeline = false,
|
||||
buffer = bufnr,
|
||||
data = { diagnostics = diagnostics },
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user