Closed minhanghuang closed 2 years ago
What's your coc-clangd
version? You can get it from :CocList extensions
.
When you set clangd.path
and the clangd bin was existed, coc-clangd won't download/update clangd.
coc-clangd
version: 0.21.4
+ coc-clangd 0.21.4 ~/.config/coc/extensions/node_modules/coc-clangd
I set clangd.path
in coc-settings.json
, but when I open *.cpp
file, neovim prompted to [coc.nvim] clangd was not found on your PATH. :CocCommand clangd.install will install 14.0.3
Does ~/.config/coc/extensions/coc-clangd-data/install/14.0.0/clangd_14.0.0/bin/clangd
exist?
[coc.nvim] clangd was not found on your PATH. :CocCommand clangd.install will install 14.0.3
coc-clangd will try to find clangd from clangd.path
first, then which
from PATH. When not found, coc-clangd will prompt the not found
message.
I've tested with custom clangd.path
, can't reproduce this.
~/.config/coc/extensions/coc-clangd-data/install/14.0.0/clangd_14.0.0/bin/clangd
not exist, but I didn't delete it.
coc-clangd won't delete this, try :CocCommand clangd.install
to install it.
Hi all ! I don't want to update clangd, How should I set it ?
Here's the
coc-settings.json