From cf538c3a58d61cfe1a77d79455efb9175479fba3 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 15 Nov 2017 17:35:34 +0000 Subject: #852 Capture error codes for pylint, throw away the msgid values --- ale_linters/python/pylint.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim index befc51a5..e3e6624d 100644 --- a/ale_linters/python/pylint.vim +++ b/ale_linters/python/pylint.vim @@ -45,7 +45,8 @@ function! ale_linters#python#pylint#Handle(buffer, lines) abort call add(l:output, { \ 'lnum': l:match[1] + 0, \ 'col': l:match[2] + 1, - \ 'text': l:code . ': ' . l:match[5] . ' (' . l:match[4] . ')', + \ 'text': l:match[5], + \ 'code': l:match[4], \ 'type': l:code[:0] is# 'E' ? 'E' : 'W', \}) endfor -- cgit v1.2.3