安装Vundle
https://www.jianshu.com/p/7699838d4d44
安装下载YouCompleteMe
- 在配置文件添加
Plugin 'Valloric/YouCompleteMe'
- 下载源码
git clone https://github.com/ycm-core/YouCompleteMe.git ~/.vim/bundle
- 下载依赖
git submodule update --init --recursive
https://segmentfault.com/a/1190000019949732
错误处理
错误1:
错误提示:The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1.
/usr/bin/python3 install.py
错误2:
Searching Python 3.8 libraries... ERROR: Python headers are missing in /usr/include/python3.8.
sudo apt-get install python3-dev
https://blog.csdn.net/qq_22073849/article/details/88964444