add bundle.rtpath to &rtp on require
This commit is contained in:
parent
b3216ac594
commit
fb77c082e6
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user