add bundle.rtpath to &rtp on require

This commit is contained in:
gmarik 2011-03-06 17:21:43 -06:00
parent b3216ac594
commit fb77c082e6

View File

@ -13,6 +13,7 @@ func! vundle#config#init()
endf
func! vundle#config#require(bundle)
call s:rtp_add(a:bundle.rtpath())
call s:rtp_add(g:bundle_dir)
" TODO: it has to be relative rtpath, not bundle.name
exec 'runtime! '.a:bundle.name.'/plugin/*.vim'