indent
This commit is contained in:
parent
68be1a6ef1
commit
a7aa94d699
@ -36,12 +36,11 @@ func! vundle#installer#clean(bang) abort
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles?') =~? 'y')
|
if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles? [ y/n ]:') =~? 'y')
|
||||||
if has('win32') || has('win64')
|
let cmd = (has('win32') || has('win64')) ?
|
||||||
exec '!rmdir /S /Q '.join(map(x_dirs, 'shellescape(v:val)'), ' ')
|
\ 'rmdir /S /Q' :
|
||||||
else
|
\ 'rm -rf'
|
||||||
exec '!rm -rf '.join(map(x_dirs, 'shellescape(v:val)'), ' ')
|
exec '!'.cmd.' '.join(map(x_dirs, 'shellescape(v:val)'), ' ')
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endf
|
endf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user