vim 编译使用ycm启动问题 fixed

YouCompleteMe unavailable: requires Vim compiled with Python (2.7 or 3.4+) support.

在ubuntu环境上

vim编译 也加了启用python但还有问题

            ./configure --with-features=huge \

                --enable-multibyte \

                --enable-rubyinterp=yes \

                --enable-pythoninterp=yes \

                --with-python3-command=python3 \

                --enable-python3interp=yes \

                --with-python3-config-dir=/usr/bin/python3-config  \

                --enable-perlinterp=yes \

                --enable-luainterp=yes \

                --enable-cscope \

                --prefix=$vim_home 

 

--with-python3-config-dir 和 --with-python-config-dir=/usr/bin/python2.7-config      只能使用一个不能两个都使用。

 

参考:https://www.jianshu.com/p/020a2d5d9637

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...