From 885a14d9403666fb2fe2569bc76368f8bab4ee48 Mon Sep 17 00:00:00 2001 From: gmarik Date: Mon, 18 Oct 2010 23:08:57 -0500 Subject: [PATCH] Autoloading --- plugin/vundle.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/vundle.vim b/plugin/vundle.vim index 4161bb7..2fe56ef 100644 --- a/plugin/vundle.vim +++ b/plugin/vundle.vim @@ -21,6 +21,11 @@ func! vundle#add_bundle(...) let g:bundle_uris[bundle] = a:1 endf +func! vundle#rc(...) + exec 'silent! so '.expand('~/.vim/bundlerc') + call vundle#require_bundles() +endf + func! vundle#require_bundles() let rtp = filter(split(&rtp, ','),'v:val !~# g:bundle_dir') let after = [] | let before = []