Merge pull request #956 from bukzor/pylint-fix-colorized
Prevent pylint drom doing stupid things when pythonrc specifies format=colorized. With format=colorized, {C} in --msg-template is longer than 1 character, and thus can't match %t in errorformat.
This commit is contained in:
commit
c3bd2bda16
@ -23,7 +23,7 @@ endfunction
|
||||
|
||||
function! SyntaxCheckers_python_pylint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args': (s:pylint_new ? '--msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" -r n' : '-f parseable -r n -i y') })
|
||||
\ 'args': (s:pylint_new ? '-f text --msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" -r n' : '-f parseable -r n -i y') })
|
||||
|
||||
let errorformat =
|
||||
\ '%A%f:%l:%c:%t: %m,' .
|
||||
|
Loading…
x
Reference in New Issue
Block a user