summaryrefslogtreecommitdiff
path: root/ale_linters/lua/luacheck.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/lua/luacheck.vim')
-rw-r--r--ale_linters/lua/luacheck.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/lua/luacheck.vim b/ale_linters/lua/luacheck.vim
index 9f9ca4c4..725153c6 100644
--- a/ale_linters/lua/luacheck.vim
+++ b/ale_linters/lua/luacheck.vim
@@ -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