Closed shuaixr closed 4 years ago
This could be a bad clangd index. Try removing .clangd
directory from your project.
This could be a bad clangd index. Try removing
.clangd
directory from your project.
no such folder
Then let's stop guessing. Please post all the logs, in their entirety.
Then let's stop guessing. Please post all the logs, in their entirety.
I updated it in issues
can you post the clangd
log too ?
Also can you try running this manualy from the command line:L
/home/s/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clangd/output/bin/clangd -header-insertion-decorators=0 -resource-dir=/home/s/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clang/lib/clang/10.0.0 -limit-results=500
can you post the
clangd
log too ?Also can you try running this manualy from the command line:L
/home/s/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clangd/output/bin/clangd -header-insertion-decorators=0 -resource-dir=/home/s/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/clang/lib/clang/10.0.0 -limit-results=500
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
778
Just install ncurses5-compat-libs
from AUR.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
What did you do?
python install.py --clangd-completer vim main.c
What actually happened?
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Output of
YcmDiags
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
OS version, distribution, etc.
Output of build/install commands