[英]Vim-snipmate with vundle install not working
For some reason vim-snipmate doesn't want to complete snippets with tab. 出于某种原因,vim-snipmate不想用tab来完成片段。 I have the following in my .vimrc , and used the vundle install settings for vim-snipmate .
我在.vimrc中有以下内容,并使用了vim-snipmate的vundle安装设置 。 Vundle installed the plugins inside '~/.vim/bundle/'.
Vundle在'〜/ .vim / bundle /'中安装了插件。 I've tried adding
我试过添加
set runtimepath^=~/.vim/bundle/vim-snipmate
and 和
set runtimepath^=~/.vim/bundle/vim-snipmate/after
to my .vimrc, but with no success. 到我的.vimrc,但没有成功。 Any suggestions?
有什么建议么? What am I missing?
我错过了什么?
I don't know whether that fixes the issue, but the after directory should definitely be appended ( :set +=
), not prepended ( :set ^=
) to 'runtimepath'
: 我不知道是否能解决问题,但是必须将after目录 附加 (
:set +=
),而不是追加 ( :set ^=
)到'runtimepath'
:
:set runtimepath+=~/.vim/bundle/vim-snipmate/after
so that its value looks like 所以它的价值看起来像
runtimepath=~/.vim/bundle/vim-snipmate,...,~/.vim/bundle/vim-snipmate/after
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.