#852 - Capture error codes for luacheck
This commit is contained in:
parent
41cb174f3a
commit
40e26f0bc2
2 changed files with 12 additions and 5 deletions
|
@ -35,8 +35,9 @@ function! ale_linters#lua#luacheck#Handle(buffer, lines) abort
|
|||
call add(l:output, {
|
||||
\ 'lnum': l:match[1] + 0,
|
||||
\ 'col': l:match[2] + 0,
|
||||
\ 'text': l:match[3] . l:match[4] . ': ' . l:match[5],
|
||||
\ 'type': l:match[3],
|
||||
\ 'code': l:match[3] . l:match[4],
|
||||
\ 'text': l:match[5],
|
||||
\})
|
||||
endfor
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue