mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
Feature/restore display of symbol (#693)
* Add display of the pylint symbol name after the message. * Update test to pass.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user