Autoloading

This commit is contained in:
gmarik 2010-10-18 23:08:57 -05:00
parent 043a7b180d
commit 885a14d940

View File

@ -21,6 +21,11 @@ func! vundle#add_bundle(...)
let g:bundle_uris[bundle] = a:1 let g:bundle_uris[bundle] = a:1
endf endf
func! vundle#rc(...)
exec 'silent! so '.expand('~/.vim/bundlerc')
call vundle#require_bundles()
endf
func! vundle#require_bundles() func! vundle#require_bundles()
let rtp = filter(split(&rtp, ','),'v:val !~# g:bundle_dir') let rtp = filter(split(&rtp, ','),'v:val !~# g:bundle_dir')
let after = [] | let before = [] let after = [] | let before = []