Closed MontyTHall closed 2 months ago
I just installed on my desktop. Running ubuntu 22 and it has clangd-15 - basically the same configuration. fidget does in fact work. So I decided to install cland-15 on my unbuntu-20 work laptop. No dice. I wonder if it's an OS related issue - perhaps polling is different. Just a stab in the dark.
Same reason my telescope ui was failing I've been running v0.10. Rolled back to v0.9.5 - everythig works.
Sorry for not getting to this sooner. This error shouldn't have anything to do with polling, your OS, or the version of clangd.
But the error also doesn't really make any sense to me, since vim.lsp.get_clients()
is part of Neovim's built-in LSP framework (see :h vim.lsp.get_clients()
). So I don't see why it's complaining that the get_clients()
function doesn't exist, unless your Neovim build happens to be built from some (now-outdated) commit before the get_clients()
function was introduced.
How exactly are you building "v0.10"? In particular, what commit is HEAD
at when you built Neovim? (Or how are you installing it?) The output of running :version
will be helpful here.
For what it's worth, I just tested with the latest commit on Neovim master
and Fidget still works.
Closing due to lack of activity. Please re-open if you have encountered this issue again.
neovim v0.10 - using packer
NOTE: Just switched to lazy. Still having the same problem.
I'm starting clangd in the following way:
I see clangd-12 running as a process. I'm not sure what I'm doing wrong. If I switch to tag=legacy things "work" though I'm not sure what I'm missing in terms of the latest and greated fidget features.
When I open a *cpp file w/ a compile_commands.json at the project root, I get the error shown in the subject. :LspInfo shows the following:
Here's a little snippet of lsp.log with verbose logging turned on:
Just switched back to the legacy tag - and the progress spinner appears and no errors.