neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 982fef6018fb64c883ddafc897c8f7c58fb1c62d
parent 89b9eab638d5e6467156c25f0d54df48d861ca16
Author: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Date:   Thu, 15 Sep 2022 11:03:07 -0600

fix(diagnostic): populate data key in DiagnosticChanged autocmd in reset (#20207)

Follow up to #20173.
Diffstat:
Mruntime/lua/vim/diagnostic.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua @@ -1426,6 +1426,7 @@ function M.reset(namespace, bufnr) vim.api.nvim_exec_autocmds('DiagnosticChanged', { modeline = false, buffer = iter_bufnr, + data = { diagnostics = {} }, }) end end