Ignore 'shellslash' when checking for Win32 shell

This commit is contained in:
Tim Pope
2018-08-19 00:11:33 -04:00
parent 8589246545
commit 9979b2ab7c

View File

@@ -40,7 +40,7 @@ function! s:Uniq(list) abort
endfunction endfunction
function! s:winshell() abort function! s:winshell() abort
return exists('+shellslash') && !&shellslash && &shellcmdflag !~# '^-' return has('win32') && &shellcmdflag !~# '^-'
endfunction endfunction
function! s:shellesc(arg) abort function! s:shellesc(arg) abort