简体   繁体   中英

Vim-snipmate with vundle install not working

For some reason vim-snipmate doesn't want to complete snippets with tab. I have the following in my .vimrc , and used the vundle install settings for vim-snipmate . Vundle installed the plugins inside '~/.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. 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' :

:set runtimepath+=~/.vim/bundle/vim-snipmate/after

so that its value looks like

runtimepath=~/.vim/bundle/vim-snipmate,...,~/.vim/bundle/vim-snipmate/after

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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