From a7aa94d699f8e3d35f59df1ed3c072a967a01d6e Mon Sep 17 00:00:00 2001 From: gmarik Date: Sun, 10 Apr 2011 18:33:39 -0500 Subject: [PATCH] indent --- autoload/vundle/installer.vim | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index e3e4de5..dac1aa4 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -36,12 +36,11 @@ func! vundle#installer#clean(bang) abort return end - if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles?') =~? 'y') - if has('win32') || has('win64') - exec '!rmdir /S /Q '.join(map(x_dirs, 'shellescape(v:val)'), ' ') - else - exec '!rm -rf '.join(map(x_dirs, 'shellescape(v:val)'), ' ') - endif + if (a:bang || input('Are you sure you want to remove '.len(x_dirs).' bundles? [ y/n ]:') =~? 'y') + let cmd = (has('win32') || has('win64')) ? + \ 'rmdir /S /Q' : + \ 'rm -rf' + exec '!'.cmd.' '.join(map(x_dirs, 'shellescape(v:val)'), ' ') endif endf