Browse Source

allow install functions to use bundle configs

edited the vundle#installer#install function to lookup (and use) the
configuration specified by the users Bundle commands.
pull/187/head
C.D. Clark III 14 years ago
parent
commit
d820c25dc8
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      autoload/vundle/installer.vim

+ 9
- 1
autoload/vundle/installer.vim View File

@ -100,7 +100,15 @@ endf
func! vundle#installer#install(bang, name) abort
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
let b = vundle#config#init_bundle(a:name, {})
"let b = vundle#config#init_bundle(a:name, {})
"we've already initialized all these bundles.
"we just need to find the one we that corresponds to a:name
for bb in g:bundles
if ( bb.name_spec == substitute(a:name,"['".'"]\+','','g') )
let b = bb
break
endif
endfor
return s:sync(a:bang, b)
endf


Loading…
Cancel
Save