Browse Source

Revert ":BundleInstall is gone for now"

what was I thinking...?!

This reverts commit 035cc6ecba.
pull/10/head
gmarik 15 years ago
parent
commit
1695316a29
2 changed files with 7 additions and 0 deletions
  1. +3
    -0
      autoload/vundle.vim
  2. +4
    -0
      autoload/vundle/scripts.vim

+ 3
- 0
autoload/vundle.vim View File

@ -7,6 +7,9 @@
com! -nargs=+ Bundle
\ 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
\ call vundle#installer#clean('!' == '<bang>')


+ 4
- 0
autoload/vundle/scripts.vim View File

@ -10,6 +10,10 @@ func! vundle#scripts#all(bang, ...)
endif
endf
func! vundle#scripts#complete(a,c,d)
return join(s:load_scripts(0),"\n")
endf
func! vundle#scripts#install() abort
let line = substitute(substitute(getline('.'), '\s*Bundle\s*','','g'), "'",'','g')
call vundle#installer#install(0, line)


Loading…
Cancel
Save