简体   繁体   English

YouCompleteMe插件不适用于vim 7.4.52

[英]YouCompleteMe plugin is not working with vim 7.4.52

I was looking auto-completion plugin for python in vim editor. 我在vim编辑器中寻找python的自动完成插件。 I found YCM as cool but It's not working with my editor. 我发现YCM很酷,但是它不适用于我的编辑器。

when I open vim, it throw a warning as given below 当我打开vim时,它会发出如下警告

$ vim
YouCompleteMe unavailable: requires Vim 7.4.1578+.
Press ENTER or type command to continue 

But actually, My current version of vim is 7.4.52, I don't understand why it is happening. 但是实际上,我当前的vim版本是7.4.52,我不明白为什么会这样。 Any help would be appreciated. 任何帮助,将不胜感激。

YouCompleteMe is right; YouCompleteMe是正确的; your version is too old. 您的版本太旧了。

In Vim (as in many other applications), the third element of the version (after major.minor ) is the patch level . 在Vim中(与许多其他应用程序一样),版本的第三个元素(在major.minor之后)是补丁级别 This is a positive integer that gets incremented on each change. 这是一个正整数,每次更改都会递增。 Here, 52 < 1578 . 在这里52 < 1578 The 52 does not represent 5200 ! 52 不代表 5200

You can see more details in the :version output; 您可以在:version输出中查看更多详细信息; it has a line with Included patches: 它包含一行Included patches:的行Included patches:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM