From 108935167d021fdbbc2d6bab936d445143a524c4 Mon Sep 17 00:00:00 2001 From: leiming Date: Mon, 31 Mar 2014 17:48:41 +0800 Subject: [PATCH] Remove irrelevant code --- autoload/vundle/config.vim | 7 ------- autoload/vundle/installer.vim | 6 +++--- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index b2c5e98..0d7685f 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -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() diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index a16ea39..7fdc5f3 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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