diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index a20728b8..7b283429 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,6 +19,10 @@ let g:loaded_syntastic_plugin = 1 let s:running_windows = has("win16") || has("win32") || has("win64") +if !s:running_windows + let s:uname = system('uname') +endif + if !exists("g:syntastic_enable_signs") || !has('signs') let g:syntastic_enable_signs = 0 endif @@ -258,7 +262,7 @@ function! SyntasticMake(options) let old_shell = &shell let old_errorformat = &errorformat - if !s:running_windows + if !s:running_windows && (s:uname !~ "FreeBSD") "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='&>'