Merge pull request #214 from jamezpolley/master

Fixes #202 - redict stderr in a way that doesn't break on versions of bash <4.0
This commit is contained in:
Martin Grenfell 2012-03-26 08:44:11 -07:00
commit 0fab9ef09d

View File

@ -7,7 +7,7 @@
function! SyntaxCheckers_python_GetLocList()
let makeprg = 'pylint '.g:syntastic_python_checker_args.' -f parseable -r n -i y ' .
\ shellescape(expand('%')) .
\ ' \|& sed ''s_: \[[RC]_: \[W_''' .
\ ' 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'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })