問題:YouCompleteMe unavailable: requires Vim compiled with Python 2.x support
解決:重新編譯,加入--enable-pythoninterp=yes參數。如果想開啟Python3支持,則--enable-python3interp=yes
./configure --with-features=huge --enable-pythoninterp=yes --enable-cscope --enable-fontset --with-python-config-dir=/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu --enable-pythoninterp=yes --enable-python3interp=yes
make
make install
