Fix shell pipe hack.
This commit is contained in:
parent
e473038e66
commit
ba13a3d4b5
@ -344,7 +344,7 @@ endfunction
|
|||||||
"the script changes &shellpipe and &shell to stop the screen flicking when
|
"the script changes &shellpipe and &shell to stop the screen flicking when
|
||||||
"shelling out to syntax checkers. Not all OSs support the hacks though
|
"shelling out to syntax checkers. Not all OSs support the hacks though
|
||||||
function! s:OSSupportsShellpipeHack()
|
function! s:OSSupportsShellpipeHack()
|
||||||
return !s:running_windows && (s:uname() !~ "FreeBSD") && (s:uname() !~ "OpenBSD")
|
return !s:running_windows && executable('/bin/bash') && (s:uname() !~ "FreeBSD") && (s:uname() !~ "OpenBSD")
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:IsRedrawRequiredAfterMake()
|
function! s:IsRedrawRequiredAfterMake()
|
||||||
|
Loading…
Reference in New Issue
Block a user