mirror of
https://github.com/neovim/neovim.git
synced 2026-02-26 20:31:02 +10: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.