Always treat cmd.exe as Windows

Closes #506.
This commit is contained in:
Tim Pope 2014-06-22 13:30:41 -04:00
parent ffd8c0ad58
commit 750db5e5b9

View File

@ -27,7 +27,7 @@ function! s:gsub(str,pat,rep) abort
endfunction endfunction
function! s:winshell() abort function! s:winshell() abort
return exists('+shellslash') && !&shellslash return &shell =~? 'cmd' || exists('+shellslash') && !&shellslash
endfunction endfunction
function! s:shellesc(arg) abort function! s:shellesc(arg) abort