mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Include PowerShell in check for win32 shell
Closes https://github.com/tpope/vim-fugitive/issues/435
This commit is contained in:
@@ -42,7 +42,7 @@ function! s:Uniq(list) abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:winshell() abort
|
function! s:winshell() abort
|
||||||
return has('win32') && &shellcmdflag !~# '^-'
|
return has('win32') && &shellcmdflag =~# '^/\|^-Command$'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:shellesc(arg) abort
|
function! s:shellesc(arg) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user