Browse Source

indent

pull/25/merge
gmarik 15 years ago
parent
commit
a7aa94d699
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      autoload/vundle/installer.vim

+ 5
- 6
autoload/vundle/installer.vim View File

@ -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


Loading…
Cancel
Save