diff --git a/syntax_checkers/python/pylint.vim b/syntax_checkers/python/pylint.vim index 64adbc5f..fd35e08a 100644 --- a/syntax_checkers/python/pylint.vim +++ b/syntax_checkers/python/pylint.vim @@ -7,8 +7,8 @@ function! SyntaxCheckers_python_GetLocList() let makeprg = 'pylint '.g:syntastic_python_checker_args.' -f parseable -r n -i y ' . \ shellescape(expand('%')) . - \ ' 2>&1 \| sed ''s_: \[[RC]_: \[W_''' . - \ ' \| sed ''s_: \[[F]_:\ \[E_''' - let errorformat = '%f:%l: [%t%n%.%#] %m,%f:%l: [%t%.%#] %m,%Z,%-GNo config%m' + \ ' 2>&1 \| sed ''s_: \[\([RCW]\)_: \[W] \[\1_''' . + \ ' \| sed ''s_: \[\([FE]\)_:\ \[E] \[\1_''' + let errorformat = '%f:%l: [%t] %m,%Z,%-GNo config %m' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) endfunction