neovim lsp 诊断 get_count 已弃用但未使用

neovim lsp diagnostic get_count deprecated but unused

我正在使用 nvim v0.7.0-dev,Ubuntu 20.04 LTS。 我看到以下错误:

vim.lsp.diagnostic.get_count is deprecated. See :h deprecated

但我没有使用 'get_count',所以,我不能更改它,也不能删除它或其他任何东西。为什么我看到这个错误?我该如何解决?

我猜有些插件使用了vim.lsp.diagnostic.get_count但还没有升级。所以你可以暂时禁用这些插件或打开新的问题或寻找其他类似的插件