mirror of
https://github.com/neovim/neovim.git
synced 2026-02-27 04:42:53 +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.