|
|
|
@ -6,6 +6,19 @@ func! vundle#config#bundle(arg, ...) |
|
|
|
return bundle |
|
|
|
endf |
|
|
|
|
|
|
|
func! vundle#config#bundle_if(arg, ...) |
|
|
|
let versions = split(a:arg, '\.') |
|
|
|
if len(versions) == 2 |
|
|
|
if v:version > versions[0] || v:version == versions[0] && has(join(['patch',versions[1]],'')) |
|
|
|
call vundle#config#bundle(join(a:000)) |
|
|
|
endif |
|
|
|
else |
|
|
|
if v:version >= versions[0] |
|
|
|
call vundle#config#bundle(join(a:000)) |
|
|
|
endif |
|
|
|
endif |
|
|
|
endf |
|
|
|
|
|
|
|
func! vundle#config#init() |
|
|
|
if !exists('g:bundles') | let g:bundles = [] | endif |
|
|
|
call s:rtp_rm_a() |
|
|
|
|