mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 14:23:51 -05:00
Tweak check for Win32 shell
References https://github.com/tpope/vim-fugitive/issues/1079
This commit is contained in:
@@ -40,7 +40,7 @@ function! s:Uniq(list) abort
|
||||
endfunction
|
||||
|
||||
function! s:winshell() abort
|
||||
return &shell =~? 'cmd' || exists('+shellslash') && !&shellslash
|
||||
return exists('+shellslash') && !&shellslash && &shellcmdflag !~# '^-'
|
||||
endfunction
|
||||
|
||||
function! s:shellesc(arg) abort
|
||||
|
||||
Reference in New Issue
Block a user