Browse Source

Remove irrelevant code

pull/422/head
leiming 12 years ago
parent
commit
108935167d
2 changed files with 3 additions and 10 deletions
  1. +0
    -7
      autoload/vundle/config.vim
  2. +3
    -3
      autoload/vundle/installer.vim

+ 0
- 7
autoload/vundle/config.vim View File

@ -6,13 +6,6 @@ func! vundle#config#bundle(arg, ...)
return bundle
endf
func! vundle#config#unbundle(arg, ...)
let g:aabundle = vundle#config#init_bundle(a:arg, a:000)
let g:name=g:aabundle.name_spec
let g:unbundle=vundle#installer#get_bundle_dir(g:bundles, g:name)
endf
func! vundle#config#init()
if !exists('g:bundles') | let g:bundles = [] | endif
call s:rtp_rm_a()


+ 3
- 3
autoload/vundle/installer.vim View File

@ -4,7 +4,7 @@ func! vundle#installer#new(bang, ...) abort
\ map(copy(a:000), 'vundle#config#bundle(v:val, {})')
let names = vundle#scripts#bundle_names(map(copy(bundles), 'v:val.name_spec'))
call vundle#scripts#view('Installer',['" Installing bundles to '.expand(g:bundle_dir, 1)], names + ['Helptags'])
call vundle#scripts#view('Installer',['" Installing plugins to '.expand(g:bundle_dir, 1)], names + ['Helptags'])
call s:process(a:bang, (a:bang ? 'add!' : 'add'))
@ -30,7 +30,7 @@ func! s:process(bang, cmd)
endif
if 'updated' == g:vundle_last_status && empty(msg)
let msg = 'Bundles updated; press u to view changelog'
let msg = 'Plugins updated; press u to view changelog'
endif
" goto next one
@ -81,7 +81,7 @@ func! vundle#installer#run(func_name, name, ...) abort
return status
endf
func! s:sign(status)
func! s:sign(status)
if (!has('signs'))
return
endif


Loading…
Cancel
Save