Error format fix for pylint.

This commit is contained in:
LCD 47 2013-04-10 11:48:17 +03:00
parent 01232979aa
commit bd2d5e37ed

View File

@ -18,7 +18,11 @@ function! SyntaxCheckers_python_pylint_GetLocList()
\ 'exe': 'pylint',
\ 'args': ' -f parseable -r n -i y',
\ 'subchecker': 'pylint' })
let errorformat = '%f:%l:%m,%Z,%-GNo config %m'
let errorformat =
\ '%A%f:%l:%m,' .
\ '%A%f:(%l):%m,' .
\ '%-Z%p^%.%#,' .
\ '%-G%.%#'
let loclist=SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })