update readme

This commit is contained in:
程煊 2019-08-02 16:18:35 +08:00
parent 3ab95016a8
commit 22847fd0c2

View File

@ -155,6 +155,10 @@ An automatic configuration program for vim
vimplus安装时需要访问外国网站由于网络原因可能会失败安装成功也要1个多小时ycm插件有200M左右下载比较耗时强烈建议你通过[手动编译ycm的方式来安装vimplus][78]。
- **`ycmd server SHUT DOWN. Unexpected exit code -11`**
这是由于ycm插件克隆失败导致的强烈建议你通过[手动编译ycm的方式来安装vimplus][78]。
- **`The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library compiled for Python 3 but loaded in Python 2. Set the 'g:ycm_server_python_interpreter' option to a Python 3 interpreter path`**
编译ycm和运行ycmd server的python版本不一致导致的比如说编译ycm时使用系统默认版本python3后来又将系统默认版本改为python2解决该问题有三种方法第一编辑.vimrc将g:ycm_server_python_interpreter指向编译ycm时的python版本第二使用当前python版本重新编译ycm第三恢复系统默认的python版本。