Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Checker luac: fix errorformat.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lcd047 committed Sep 22, 2016
1 parent 2b84b14 commit 90b19d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/syntastic.vim
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/lua/luac.vim
Expand Up @@ -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,
Expand Down

0 comments on commit 90b19d1

Please sign in to comment.