Open WillDawnlll opened 2 years ago
I would like to do something similar. Except that my approach would be to make clangd.exe
work since the code base I'm compiling has some windows exclusive instructions, therefore I need Windows' clangd to work. I can't use WSL's.
I get this log when I try to open some C++ file:
with the following config:
I've just realized that my config did not make use of coc-clangd
. However, I tried:
{
"clangd": {
"path": "clangd.exe"
}
}
but I got the following message:
[coc.nvim] clangd was not found on your PATH. :CocCommand clangd.install will install 14.0.3.
I also tried with:
"path": "/mnt/c/Program\\ Files/LLVM/bin/clang.exe"
and it didn't change anything.
Sorry I don't have a Window env to test.
@sim590 if you run nvim server on the wsl, then you can use msys clangd.exe on the windows side
which clangd
/mingw64/bin/clangd
^ On windows powershell shell on Windows Terminal
i test these configs , and all not work : 1 . set "clangd.path" to "wsl clangd" ,
i not familiar with js , but simply check the code , may be the reason is clangd execute bin path append ".exe" in windows ?