From d585123d646200ceb7e0580dcad2d28d00331332 Mon Sep 17 00:00:00 2001 From: aurieh Date: Thu, 16 Nov 2017 00:58:33 +0200 Subject: [PATCH] #852 Capture error codes for checkmake --- ale_linters/make/checkmake.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ale_linters/make/checkmake.vim b/ale_linters/make/checkmake.vim index 3dd8cc91..63c35db3 100644 --- a/ale_linters/make/checkmake.vim +++ b/ale_linters/make/checkmake.vim @@ -5,12 +5,12 @@ function! ale_linters#make#checkmake#Handle(buffer, lines) abort let l:output = [] for l:match in ale#util#GetMatches(a:lines, l:pattern) - let l:text = l:match[2] . ': ' . l:match[3] call add(l:output, { \ 'bufnr': a:buffer, \ 'lnum': l:match[1] + 0, \ 'type': 'E', - \ 'text': l:text, + \ 'code': l:match[2], + \ 'text': l:match[3], \}) endfor return l:output