Browse Source

Merge pull request #242 from techlivezheng/feature/use-global-bundles

Use the global bundles instead of reinitializing
pull/406/head
Jacobo de Vera 12 years ago
parent
commit
938cd59785
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      autoload/vundle/installer.vim

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

@ -100,7 +100,8 @@ 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 n = substitute(a:name,"['".'"]\+','','g')
let b = filter(copy(g:bundles), 'v:val.name_spec == n')[0]
return s:sync(a:bang, b)
endf


Loading…
Cancel
Save