summaryrefslogtreecommitdiff
path: root/ale_linters/python/pylint.vim
diff options
context:
space:
mode:
authorJohn Sivak <jsivak@winterjewel.com>2017-06-25 13:22:13 -0400
committerw0rp <w0rp@users.noreply.github.com>2017-06-25 18:22:13 +0100
commita9b29fef28a72291ada90e30d8b25ee12351d825 (patch)
treeccc11b7656e1c034e11367c918ccc6e6e764dece /ale_linters/python/pylint.vim
parentc2f69b77501d098fdd973c332d08e18d8e30abd0 (diff)
downloadale-a9b29fef28a72291ada90e30d8b25ee12351d825.zip
Feature/restore display of symbol (#693)
* Add display of the pylint symbol name after the message. * Update test to pass.
Diffstat (limited to 'ale_linters/python/pylint.vim')
-rw-r--r--ale_linters/python/pylint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim
index 57c3870a..d339daa9 100644
--- a/ale_linters/python/pylint.vim
+++ b/ale_linters/python/pylint.vim
@@ -57,7 +57,7 @@ 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],
+ \ 'text': l:code . ': ' . l:match[5] . ' (' . l:match[4] . ')',
\ 'type': l:code[:0] ==# 'E' ? 'E' : 'W',
\})
endfor