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
This commit is contained in:
LCD 47 2016-09-22 09:09:35 +03:00
parent 2b84b14cd1
commit 90b19d188b
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START lockvar! g:_SYNTASTIC_START
endif endif
let g:_SYNTASTIC_VERSION = '3.7.0-224' let g:_SYNTASTIC_VERSION = '3.7.0-225'
lockvar g:_SYNTASTIC_VERSION lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1 " Sanity checks {{{1

View File

@ -47,7 +47,7 @@ endfunction
function! SyntaxCheckers_lua_luac_GetLocList() dict function! SyntaxCheckers_lua_luac_GetLocList() dict
let makeprg = self.makeprgBuild({ 'args_after': '-p' }) let makeprg = self.makeprgBuild({ 'args_after': '-p' })
let errorformat = 'luac: %#%f:%l: %m' let errorformat = '%*\f: %#%f:%l: %m'
return SyntasticMake({ return SyntasticMake({
\ 'makeprg': makeprg, \ 'makeprg': makeprg,