When I open one of the .c file and inspect :LspInfo, it shows 1 client(s) attached to this buffer
However, when I tried to use gd to go definition, it doesn't work.
Moreover, I notice that the preprocessor that should comment out some block also does not work.
Expected behavior
Lsp operations can be active.
Steps to reproduce
Not sure how to reproduce.
System information
ccls version and clang version: ccls --version gives the result
OS: Ubuntu 18.04 on VirtualBox 7.0
Editor: Neovim v0.9.1
Language client (and version): ccls
Dose anyone has some idea? Or, is there something I miss?
If I lost some information, please let me know and I will edit it. Thanks.
Hi
I use Bear (2.3.11) to generate
compile_commands.json
at the root directory and the lspconfig is set as follows (refering to ccls example on nvim-lspconfig and TJ's video)Observed behavior
When I open one of the
However, when I tried to use
.c
file and inspect:LspInfo
, it shows1 client(s) attached to this buffer
gd
to go definition, it doesn't work. Moreover, I notice that the preprocessor that should comment out some block also does not work.Expected behavior
Lsp operations can be active.
Steps to reproduce
Not sure how to reproduce.
System information
ccls version and clang version:![](https://upload.cc/i1/2023/08/30/2ZnHs5.png)
ccls --version
gives the resultOS: Ubuntu 18.04 on VirtualBox 7.0
Editor: Neovim v0.9.1
Language client (and version): ccls
Dose anyone has some idea? Or, is there something I miss? If I lost some information, please let me know and I will edit it. Thanks.