Bug fix: split checker output into lines before preprocessing.

This commit is contained in:
LCD 47 2013-08-16 01:31:22 +03:00
parent 37c9d118f8
commit 81e2e20892

View File

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