1. 参考配置:
https://github.com/avdiaid/use_vim_as_ide
2. 安装插件
2.1YouCompleteMe
安装参考:https://vimawesome.com/plugin/youcompleteme#installation
在ubuntu 18.04 下 ./install.py --clang-completer 报错
解决方法:
1. you can directly download the Clang archive here(http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz) and move it in the ~/.vim/bundle/YouCompleteMe/third_party/ycmd/clang_archives
folder. Once this is done, run again the script install.py
.
2../install.py --clang-completer --system-libclang
二选一
原文:https://www.cnblogs.com/x-police/p/12020029.html