Browse Source

Bundle! (with bang) adds {'sync':'no'}

events
gmarik 15 years ago
parent
commit
efec93b0a9
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      autoload/vundle.vim
  2. +2
    -2
      autoload/vundle/config.vim

+ 1
- 1
autoload/vundle.vim View File

@ -4,7 +4,7 @@
" Readme: http://github.com/gmarik/vundle/blob/master/README.md
" Version: 0.8
com! -nargs=+ Bundle
com! -nargs=+ -bang Bundle
\ call vundle#config#bundle('!' == '<bang>', <args>)
com! -nargs=? -bang -complete=custom,vundle#scripts#complete BundleInstall


+ 2
- 2
autoload/vundle/config.vim View File

@ -1,4 +1,4 @@
func! vundle#config#bundle(bang, arg, ...)
func! vundle#config#bundle(bang, arg, ...) abort
let bundle = vundle#config#init_bundle(a:bang, a:arg, a:000)
call s:rtp_rm_a()
call add(g:vundle#bundles, bundle)
@ -82,7 +82,7 @@ endf
let s:bundle = {}
func! s:bundle.nosync()
return has_key(self, 'sync') && 'no' == self.sync()
return has_key(self, 'sync') && 'no' == self.sync
endf
func! s:bundle.installed()


Loading…
Cancel
Save