diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 3af2204b..20bf7ac3 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -388,7 +388,7 @@ function! SyntasticMake(options) let $LC_MESSAGES = 'C' let $LC_ALL = '' - let err_lines = system(a:options['makeprg']) + let err_lines = split(system(a:options['makeprg']), "\n", 1) let $LC_ALL = old_lc_all let $LC_MESSAGES = old_lc_messages