Bug: vim.lsp.diagnostic.get_count() is deprecated
GaetanLepage opened this issue · comments
Gaétan Lepage commented
OS
Arch Linux
Neovim version
NVIM v0.7.0-dev+697-g6063e07a0
Describe the bug
The plugin seems to rely on vim.lsp.diagnostic.get_count()
but the latter has been deprecated.
To Reproduce
Nothing special, just loading the plugin with 'diagnostics' enabled.
gegoune commented
@kyazdani42 I tried to get PR, but seems like response from vim.lsp.diagnostic.get_all()
differs from vim.diagnosic.get()
.
Gaétan Lepage commented
I didn't check that indeed...
Vladyslav commented
Duh. I hate when one plugin (telescope) decides to drop compatibility for <0.6.0, you update your neovim installation and suddenly realize everything else uses deprecated stuff heavily :P