fix messages
This commit is contained in:
parent
97d4520c50
commit
1e516d3249
@ -4,7 +4,7 @@ func! vundle#installer#new(bang, ...) abort
|
|||||||
\ map(copy(a:000), 'vundle#config#init_bundle(v:val, {})')
|
\ map(copy(a:000), 'vundle#config#init_bundle(v:val, {})')
|
||||||
|
|
||||||
let names = map(copy(bundles), 'v:val.name_spec')
|
let names = map(copy(bundles), 'v:val.name_spec')
|
||||||
call vundle#scripts#view('Installer',['" Installing'], names)
|
call vundle#scripts#view('Installer',['" Installing bundles'], names)
|
||||||
|
|
||||||
call s:process(a:bang, 'install', names)
|
call s:process(a:bang, 'install', names)
|
||||||
|
|
||||||
@ -95,14 +95,14 @@ func! vundle#installer#clean(bang) abort
|
|||||||
let headers = ['" All clean!']
|
let headers = ['" All clean!']
|
||||||
let names = []
|
let names = []
|
||||||
else
|
else
|
||||||
let headers = ['"Remove those bundles?']
|
let headers = ['" Removing bundles:']
|
||||||
let names = map(copy(x_dirs), 'fnamemodify(v:val, ":t")')
|
let names = map(copy(x_dirs), 'fnamemodify(v:val, ":t")')
|
||||||
end
|
end
|
||||||
|
|
||||||
call vundle#scripts#view('clean', headers, names)
|
call vundle#scripts#view('clean', headers, names)
|
||||||
redraw!
|
redraw!
|
||||||
|
|
||||||
if (a:bang || empty(names) || input('Are you sure you want to remove '.len(names).' bundles? [ y/n ]:') =~? 'y')
|
if (a:bang || empty(names) || input('Continute ? [ y/n ]:') =~? 'y')
|
||||||
call s:process(a:bang, 'delete', names)
|
call s:process(a:bang, 'delete', names)
|
||||||
echo 'Done!'
|
echo 'Done!'
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user