You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
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.
#include <iostream>
#include <vector>
int add(int a, int b);
int main() {
/* std::vector<int> v = {1, 2, 3, 4, 5}; */
std::vector<int> v(10, 5);
int sum = 0;
for (int i = 0; i < v.size(); i++){
sum += v[i];
}
std::cout << "sum is " << sum << std::endl;
std::cout << add(2, 3) << std::endl;
return 0;
}
int add(int a, int b){
return a+b;
}
Expected behavior
The extra highlight for std::cout will work.
Configuration (Fill this out):
Nvim version: v0.5.0-746-gf7cc3ae0b
Which Lsp Client is being used and Lsp Client Version: nvim-lspconfig, latest master.
Mon 02 Nov 202011:10:14 PM CST: lsp_cxx_hl beginning initialization...
Mon 02 Nov 202011:10:14 PM CST: vim-lsp not detected
Mon 02 Nov 202011:10:14 PM CST: LanguageClient-neovim not detected
Mon 02 Nov 202011:10:14 PM CST: coc.nvim not detected
Mon 02 Nov 202011:10:14 PM CST: nvim-lsp successfully registered
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: