Skip to content

Instantly share code, notes, and snippets.

@iagox86
Created August 9, 2012 17:20
Show Gist options
  • Save iagox86/3306107 to your computer and use it in GitHub Desktop.
Save iagox86/3306107 to your computer and use it in GitHub Desktop.
function! SyntaxCheckers_lua_GetLocList()
let makeprg = 'luac -p ' . shellescape(expand(''))
let errorformat = 'luac: #f:l: m'
return SyntasticMake({ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'defaults': { 'bufnr': bufnr(''), 'type': 'E' } })
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment