From d31be49a6ec0dd32a2b5c22461a1355d8a99f901 Mon Sep 17 00:00:00 2001 From: Timo Sand Date: Fri, 15 Feb 2013 15:16:49 +0000 Subject: [PATCH] CHANGED: Installer uses newly created function --- autoload/vundle/installer.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index c4d0580..ff37a61 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -3,7 +3,7 @@ func! vundle#installer#new(bang, ...) abort \ g:bundles : \ map(copy(a:000), 'vundle#config#bundle(v:val, {})') - let names = vundle#scripts#bundle_names(map(copy(bundles), 'v:val.name_spec')) + let names = vundle#scripts#bundle_names(vundle#scripts#get_bundles()) call vundle#scripts#view('Installer',['" Installing bundles to '.expand(g:bundle_dir, 1)], names + ['Helptags']) call s:process(a:bang, (a:bang ? 'add!' : 'add')) @@ -125,7 +125,8 @@ func! vundle#installer#helptags(bundles) abort endf func! vundle#installer#list(bang) abort - let bundles = vundle#scripts#bundle_names(map(copy(g:bundles), 'v:val.name_spec')) + + let bundles = vundle#scripts#bundle_names(vundle#scripts#get_bundles()) call vundle#scripts#view('list', ['" My Bundles'], bundles) redraw echo len(g:bundles).' bundles configured'