Vim中,VCSCommand插件,报'No suitable plugin'错误

来源:互联网 发布:数据录入外包公司 编辑:程序博客网 时间:2024/06/02 18:55

是因为以下几种可能:

1、当前目录中没有.svn文件夹

解决方法:重新checkout这个工程,svn checkout http://xxx.xxx/xxx .


2、该文件夹中文件的格式,与当前使用的svn client的版本不兼容,比如当前使用的svn client的版本太高或太低

解决方法:卸载svn client,重新安装一个合适的版本。比如我的svn client是1.8版本的,但是我的.svn文件夹的文件的格式版本是1.7版本的(这个版本是svn server决定的),2个版本不兼容,所以就报错。


3、没有设置b:VCSCommandVCSType变量的值


let b:VCSCommandVCSType='SVN'

参考:

1、problem using VCSCommand Vim plugin with Mercurial
http://stackoverflow.com/questions/3771615/problem-using-vcscommand-vim-plugin-with-mercuria


2、The Perfect .Vimrc Vim Config File
http://spf13.com/post/perfect-vimrc-vim-config-file

0 0
原创粉丝点击