Revert ":BundleInstall is gone for now"
what was I thinking...?!
This reverts commit 035cc6ecba
.
This commit is contained in:
parent
851fe26a45
commit
1695316a29
@ -7,6 +7,9 @@
|
|||||||
com! -nargs=+ Bundle
|
com! -nargs=+ Bundle
|
||||||
\ call vundle#config#bundle(<args>)
|
\ call vundle#config#bundle(<args>)
|
||||||
|
|
||||||
|
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall
|
||||||
|
\ call vundle#installer#install('!' == '<bang>', <q-args>)
|
||||||
|
|
||||||
com! -nargs=? -bang BundleClean
|
com! -nargs=? -bang BundleClean
|
||||||
\ call vundle#installer#clean('!' == '<bang>')
|
\ call vundle#installer#clean('!' == '<bang>')
|
||||||
|
|
||||||
|
@ -10,6 +10,10 @@ func! vundle#scripts#all(bang, ...)
|
|||||||
endif
|
endif
|
||||||
endf
|
endf
|
||||||
|
|
||||||
|
func! vundle#scripts#complete(a,c,d)
|
||||||
|
return join(s:load_scripts(0),"\n")
|
||||||
|
endf
|
||||||
|
|
||||||
func! vundle#scripts#install() abort
|
func! vundle#scripts#install() abort
|
||||||
let line = substitute(substitute(getline('.'), '\s*Bundle\s*','','g'), "'",'','g')
|
let line = substitute(substitute(getline('.'), '\s*Bundle\s*','','g'), "'",'','g')
|
||||||
call vundle#installer#install(0, line)
|
call vundle#installer#install(0, line)
|
||||||
|
Loading…
Reference in New Issue
Block a user