From 9979b2ab7c0af062809185e7fc27885565e27d1d Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 19 Aug 2018 00:11:33 -0400 Subject: [PATCH] Ignore 'shellslash' when checking for Win32 shell --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index bf80df6..6ec3f6f 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -40,7 +40,7 @@ function! s:Uniq(list) abort endfunction function! s:winshell() abort - return exists('+shellslash') && !&shellslash && &shellcmdflag !~# '^-' + return has('win32') && &shellcmdflag !~# '^-' endfunction function! s:shellesc(arg) abort