-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with clangd 7 #23
Comments
With clangd version 8, some things work:
Edit: After installing latest Nvim and nvim-lsp, and restarting Nvim, omnicompletion works now. Yay! TODO:
|
We could add an automatic check for clangd version on startup. This is something that I've been considering separately, which is that when a user uses our setup function, it doesn't check if you have the binary available. That means it will error when you try to use it. We could, in |
I was told by bfredl, though, that clangd 9 was the only one to have fixed most LSP things, though. I agree, we should put it in the docs that clangd 9 is required/recommended. |
After installing latest Nvim and nvim-lsp, and restarting Nvim, omnicompletion works now (with |
(For reference, so others can find this)
With the default clangd config from nvim-lsp:
That can be fixed by overriding
cmd
:Also note that Neovim puts
build/compile_commands.json
in "build" directory, so theroot_dir
is overridden there.If I try to complete something in
eval.c
, this is the log result:The text was updated successfully, but these errors were encountered: