From 7701ac5fd8b7e7a85d2496d2249c3f4962388f1f Mon Sep 17 00:00:00 2001 From: Jacobo de Vera Date: Thu, 18 Aug 2011 12:08:37 +0100 Subject: [PATCH] Do not reload vimrc on BundleInstall BundleInstall sources the current vimrc in order to reload all Bundles in order to consider new Bundles that might have been added by the user directly on their vimrc file. This, however, should not be Vundle's responsibility, changes in vimrc should not be applied unless it is re-sourced explicitly by the user. This makes Vundle use the known list of Bundles for installation. --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 03e1915..a3eec95 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -1,6 +1,6 @@ func! vundle#installer#new(bang, ...) abort let bundles = (a:1 == '') ? - \ s:reload_bundles() : + \ g:bundles : \ map(copy(a:000), 'vundle#config#init_bundle(v:val, {})') let names = map(copy(bundles), 'v:val.name_spec')