diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index 497f3595..cd32cff2 100644 --- a/syntax_checkers/python/flake8.vim +++ b/syntax_checkers/python/flake8.vim @@ -23,6 +23,6 @@ endfunction function! SyntaxCheckers_python_GetLocList() let makeprg = 'flake8 '.g:syntastic_python_checker_args.' '.shellescape(expand('%')) - let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %m,%E%f:%l: %m,%-G%.%#' + let errorformat = '%E%f:%l: could not compile,%-Z%p^,%E%f:%l:%c: %m,%W%f:%l: %m,%-G%.%#' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) endfunction