diff options
author | aurieh <me@aurieh.me> | 2017-11-16 00:58:33 +0200 |
---|---|---|
committer | aurieh <me@aurieh.me> | 2017-11-16 00:58:33 +0200 |
commit | d585123d646200ceb7e0580dcad2d28d00331332 (patch) | |
tree | 0954170755c7c823e00c702013236f480ab7f9bd /ale_linters/make | |
parent | 1d65e5692f7075bad6806d88eb11961ea32d3e7d (diff) | |
download | ale-d585123d646200ceb7e0580dcad2d28d00331332.zip |
#852 Capture error codes for checkmake
Diffstat (limited to 'ale_linters/make')
-rw-r--r-- | ale_linters/make/checkmake.vim | 4 |
1 files 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 |