Open jdhao opened 3 years ago
Hi,
By any chance did you try enabling the log of lsp?
vim.lsp.set_log_level("debug")
Better to make sure that ccls
is publishing $ccls/publishSemanticHighlight
Any update on this?
I am having the same issue as OP.
Additionally, I get an error message Error: ls ranges is not enabled in ccls
, when opening an .c/.c++ file. My setup is identical to OP.
Describe the bug
I have install ccls successfully and make this plugin work with vim-lsp. But I can not make it work with nvim-lspconfig.
Note that nvim-lsp has been renamed to nvim-lspconfig several month ago.
To Reproduce
Use the below config and open a test.cc file.
Expected behavior
The extra highlight for
std::cout
will work.Configuration (Fill this out):
The config I use:
Log File: Enable logging by adding these lines:
Then post the contents of the log file:
Note that config here for vim-lsp works as expected. So it may be an config issue for nvim-lspconfig. But I am not sure how to debug where it has gone wrong.