diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index be338025..cedfcfcf 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.8.0-109' +let g:_SYNTASTIC_VERSION = '3.8.0-110' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index cd651890..e5ee447e 100644 --- a/syntax_checkers/python/flake8.vim +++ b/syntax_checkers/python/flake8.vim @@ -40,7 +40,7 @@ function! SyntaxCheckers_python_flake8_GetLocList() dict let parts = matchlist(e['text'], '\v\C^([A-Z]+)(\d+):?\s+(.*)') if len(parts) >= 4 let e['type'] = parts[1][0] - let e['text'] = printf('%s [%s%03d]', parts[3], parts[1], parts[2]) + let e['text'] = printf('%s [%s%s]', parts[3], parts[1], parts[2]) if e['type'] ==? 'E' && parts[2] !~# '\m^9' let e['subtype'] = 'Style'