Closed YaQia closed 2 years ago
BTW, my Ubuntu20.04 neovim version is 0.4.3, I guess it's because 0.4.3 doesn't support nvim-lsp?
I've tried to use nvim-lsp, but it still doesn't work. I removed coc-clangd, but it's not working...
I've tried to use vim, not working...
I'm not too familiar with the differences in versions of neovim, while I do use neovim daily I am mostly compiling it from source.
There's nothing preventing this plugin specifically from running on any architecture that can run vim/neovim as it is written 100% in vimscript.
As a first step please look more into if coc.nvim is working correctly on your Android setup. Clangd support in this plugin requires coc.nvim, because coc translates clangd's different highlighting protocol back to something this plugin can understand. Whether nvim-lsp works or not is likely not making any difference in this case.
Also check if you have the correct coc configuration flags. From the README:
{
"clangd.semanticHighlighting": true,
"coc.preferences.semanticTokensHighlights": false
}
Thanks! Maybe I have some configuration neglected, I'll check the coc.nvim configuration.
Describe the bug I found it seemed not available on termux for Cpp highlighting. The classes and functions are not highlighted.
To Reproduce
pkg install neovim pkg install clangd Install coc.nvim by setting init.vim Install coc-clangd Install vim-lsp-cxx-highlight In vim, typing :CocConfig to set like the example.
Expected behavior highlighting vscode-like with cmake projects.
Screenshots If applicable, add screenshots to help explain your problem.
Configuration (Fill this out):
vimrc
orinit.vim
that you think are relevant to vim-lsp-cxx-highlightLog File: Enable logging by adding these lines:
Then post the contents of the log file:
Additional context All the same configurations work well on my x86-64 Ubuntu20.04, so I wanna know whether it is not supported on Android yet.