用vim 7.4.4版本装YouCompleMe的时候提示这样的信息:
YouCompleteMe unavailable: requires Vim 7.4.1578+
。明明版本比它要求的还高,居然还会报错,网上搜了一下说需要升级vim到8.0版本,大都需要用到sudo命令,但是我的是在服务器上,我并没有sudo权限,所以可以考虑将vim安装在local,安装步骤如下:
I. Install the Vim 8.0 with Make
1. Install the necessary package.
$ sudo yum install gcc-c++ ncurses-devel python-devel
2. Get the source code of Vim.
$ git clone https://github.com/vim/vim.git
3. Go to build directory.
$ cd vim/src && git check v8.0.1522
Use the version like my MacVim.
4. Configure it !
$ ./configure \
--disable-nls \