From e315263ba6cf437c5aa1c58634a969b9cafb1945 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Fri, 25 May 2012 12:53:21 -0600 Subject: [PATCH] Add fix for OpenBSD --- plugin/syntastic.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 39e9a55a..ff8db755 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -536,7 +536,7 @@ function! SyntasticMake(options) let old_shell = &shell let old_errorformat = &l:errorformat - if !s:running_windows && (s:uname !~ "FreeBSD") + if !s:running_windows && (s:uname !~ "FreeBSD") && (s:uname !~ "OpenBSD") "this is a hack to stop the screen needing to be ':redraw'n when "when :lmake is run. Otherwise the screen flickers annoyingly let &shellpipe='&>' @@ -560,7 +560,7 @@ function! SyntasticMake(options) let &shellpipe=old_shellpipe let &shell=old_shell - if !s:running_windows && s:uname =~ "FreeBSD" + if !s:running_windows && (s:uname =~ "FreeBSD" || s:uname =~ "OpenBSD") redraw! endif