Fix shell pipe hack.

This commit is contained in:
LCD 47 2013-04-06 21:58:38 +03:00
parent e473038e66
commit ba13a3d4b5

View File

@ -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()