From 90b19d188bcfbaed1e00d80c10398d8ccaad4599 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Thu, 22 Sep 2016 09:09:35 +0300 Subject: [PATCH] Checker luac: fix errorformat. Newer versions of luac prepend error messages with the actual name of the executable. Reference: http://www.lua.org/source/5.3/luac.c.html#fatal --- plugin/syntastic.vim | 2 +- syntax_checkers/lua/luac.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 9e282675..b882d18b 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.7.0-224' +let g:_SYNTASTIC_VERSION = '3.7.0-225' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/lua/luac.vim b/syntax_checkers/lua/luac.vim index 178f76a5..f37e923e 100644 --- a/syntax_checkers/lua/luac.vim +++ b/syntax_checkers/lua/luac.vim @@ -47,7 +47,7 @@ endfunction function! SyntaxCheckers_lua_luac_GetLocList() dict let makeprg = self.makeprgBuild({ 'args_after': '-p' }) - let errorformat = 'luac: %#%f:%l: %m' + let errorformat = '%*\f: %#%f:%l: %m' return SyntasticMake({ \ 'makeprg': makeprg,