replaced loops with functional analogues

This commit is contained in:
gmarik
2011-03-10 22:27:50 -06:00
parent de308ff406
commit f99ca2e5ac
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ func! vundle#installer#install(bang, ...)
let bundles = (a:1 == '') ?
\ s:reload_bundles() :
\ map(copy(a:000), 'vundle#config#init_bundle(v:val, {})')
for bundle in bundles | call s:install(a:bang, bundle) | endfor
call map(copy(bundles), 's:install(a:bang, v:val)')
call vundle#installer#helptags(bundles)
endf