From 40e26f0bc2a00d25defe190bc277a0cf6ea71479 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 19 Nov 2017 00:02:35 +0000 Subject: #852 - Capture error codes for luacheck --- ale_linters/lua/luacheck.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ale_linters/lua') 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 -- cgit v1.2.3