diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index b0b938f4..71405d59 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.4.0-67' +let g:syntastic_version = '3.4.0-68' lockvar g:syntastic_version " Sanity checks {{{1 diff --git a/syntax_checkers/javascript/eslint.vim b/syntax_checkers/javascript/eslint.vim index e6c2c4be..d416a4dd 100644 --- a/syntax_checkers/javascript/eslint.vim +++ b/syntax_checkers/javascript/eslint.vim @@ -23,8 +23,8 @@ set cpo&vim function! SyntaxCheckers_javascript_eslint_IsAvailable() dict return - \ executable('eslint') && - \ syntastic#util#versionIsAtLeast(syntastic#util#getVersion('eslint --version'), [0, 1]) + \ executable(self.getExec()) && + \ syntastic#util#versionIsAtLeast(syntastic#util#getVersion(self.getExecEscaped() . ' --version'), [0, 1]) endfunction function! SyntaxCheckers_javascript_eslint_GetLocList() dict