diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 28599042..707cd88e 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -18,7 +18,7 @@ if has('reltime') let g:syntastic_start = reltime() endif -let g:syntastic_version = '3.4.0-7' +let g:syntastic_version = '3.4.0-8' " Sanity checks {{{1 diff --git a/syntax_checkers/python/pylint.vim b/syntax_checkers/python/pylint.vim index 5cc74bb0..181e9330 100644 --- a/syntax_checkers/python/pylint.vim +++ b/syntax_checkers/python/pylint.vim @@ -63,9 +63,10 @@ function! s:PylintNew(exe) try " On Windows the version is shown as "pylint-script.py 1.0.0". " On Gentoo Linux it's "pylint-python2.7 0.28.0". - " On NixOS, that would be ".pylint-wrapped 0.26.0", that would be. + " On NixOS, that would be ".pylint-wrapped 0.26.0". + " On Arch Linux it's "pylint2 1.1.0". " Have you guys considered switching to creative writing yet? ;) - let pylint_version = filter(split(system(exe . ' --version'), '\m, \=\|\n'), 'v:val =~# ''\m^\.\=pylint\>''')[0] + let pylint_version = filter(split(system(exe . ' --version'), '\m, \=\|\n'), 'v:val =~# ''\m^\.\=pylint[-0-9]*\>''')[0] let pylint_version = substitute(pylint_version, '\v^\S+\s+', '', '') let ret = syntastic#util#versionIsAtLeast(syntastic#util#parseVersion(pylint_version), [1]) catch /\m^Vim\%((\a\+)\)\=:E684/