From 280dbd5f716e5047e7434659abde705a2cda5b93 Mon Sep 17 00:00:00 2001 From: gmarik Date: Tue, 7 Dec 2010 21:04:32 -0600 Subject: [PATCH] Cleanup --- autoload/vundle.vim | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index e5839d7..6c20e3a 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -73,13 +73,8 @@ func! s:helptags(rtp) return 1 endf -func! s:require(bundle) - exec 'runtime '.bundle.rtpath().'/plugin/*.vim' -endf - func! s:sync(bundle) let git_dir = a:bundle.path().'/.git' - echo a:bundle.name if isdirectory(git_dir) silent exec '!cd '.a:bundle.path().'; git pull' else @@ -88,8 +83,10 @@ func! s:sync(bundle) endf func! s:install(bundle) - call s:sync(a:bundle) - call s:helptags(a:bundle) + echo a:bundle.name + call s:sync(a:bundle) + call s:helptags(a:bundle.rtpath()) + exec 'runtime! '.a:bundle.rtpath().'/plugin/*.vim' endf let s:bundle = {}