mirror of
https://github.com/neovim/neovim.git
synced 2026-01-07 13:53:12 +00:00
`lsp.diagnostic.get_all()` was returning diagnotics for `:bwipeout`-ed buffers because the diagnostic cache is not cleared. The first argument of on_detach callback is the string "detach", not the bufnr.