跳到主要内容
CNode

vim 插件安装问题

社区
Wwldouglas发布于 13 年前最后回复 13 年前
12200950

在安装YouCompleteMe完成的时候打开vim 上面显示 YouCompleteMe unavailable:requires vim 7.3.548+**

查看回复

回复 (12)

M
mystery#1213 年前

个人觉得提示这个功能太不习惯了, 果断删除了。

A
argcargv#1113 年前

compile clang的教程我用的这个http://solarianprogrammer.com/2013/01/17/building-clang-libcpp-ubuntu-linux/ 装完后是的clang version是3.4 如果直接sudo apt-get install clang的话版本是3.0

搞好youcompleteme之后别忘了还的在你*.cpp的文件夹里面放上.ycm_extra_conf.py。作者自己写好了一个sample可用,把用不上的flag给关上就好了。

我也在学习vim希望可以互相交流!

A
argcargv#1013 年前

教程在这里,试过了可用https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source 完成后vim版本是 VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 1 2013 22:33:39) Included patches: 1-1287

J
jiyinyiyong#813 年前
引用 jiyinyiyong下意识觉得是 Vim 版本问题,, 然后?

@wldouglas 呃, 不玩 Vim 的啊.. 而且你什么错总要描述清楚才行 如果搞不定, 收集一下细节和网上的说法提交一个问题等高人吧 http://segmentfault.com/

W
wldouglas#713 年前
引用 jiyinyiyong下意识觉得是 Vim 版本问题,, 然后?

@jiyinyiyong 没有成功额,求指导指导哈

J
jiyinyiyong#513 年前
引用 jiyinyiyong下意识觉得是 Vim 版本问题,, 然后?

@wldouglas Vim 我只做基本用途的, 不过这个问题在 README 上有写的呀

https://github.com/Valloric/YouCompleteMe#ubuntu-linux-x64-super-quick-installation

Make sure you have Vim 7.3.584 with python2 support. At the time of writing, the version of Vim shipping with Ubuntu is too old. You may need to compile Vim from source (don't worry, it's easy).

他都这么说了, 编译过程应该不难的, 我觉得你应该试一试

W
wldouglas#413 年前
J
jiyinyiyong#313 年前
引用 jiyinyiyong下意识觉得是 Vim 版本问题,, 然后?

@wldouglas 什么系统, Ubuntu 不?

W
wldouglas#213 年前
引用 jiyinyiyong下意识觉得是 Vim 版本问题,, 然后?

然后怎么升级到这个版本就是一个很纠结的问题了

J
jiyinyiyong#113 年前

下意识觉得是 Vim 版本问题,, 然后?

参与回复

登录后即可参与回复。登录