这玩意折腾了一下午,具体安装步骤如下:
Step 1:
edit .vimrc, add:
Bundle "https://github.com/V
Step 2:
open a new vim and run:
:BundleInstall
Step 3:
cd ~/.vim/bundle/YouCompleteMe
./install.sh --clang-completer
安装过程有参考cmake的方法,直接make ycm_core,但是安装完后就提示:
ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it. Read the docs!
郁闷坏了,随意最简单的方法还是上面的步骤。