diff --git a/doc/syntastic-checkers.txt b/doc/syntastic-checkers.txt index dbb6d7ab..8b6f0197 100644 --- a/doc/syntastic-checkers.txt +++ b/doc/syntastic-checkers.txt @@ -3147,13 +3147,13 @@ accepts the standard options described at |syntastic-config-makeprg|. Notes~ -Syntastic requires "Flow" version 0.6 or later. +Syntastic requires "Flow" version 0.18.1 or later. To use "Flow" with your projects, you must: a. Install it: - https://github.com/sindresorhus/flow-bin + https://github.com/flowtype/flow-bin b. Configure your project: > diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 6f1d0b2c..d19b8037 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.7.0-199' +let g:_SYNTASTIC_VERSION = '3.7.0-200' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/javascript/flow.vim b/syntax_checkers/javascript/flow.vim index 13ee47a3..02826548 100644 --- a/syntax_checkers/javascript/flow.vim +++ b/syntax_checkers/javascript/flow.vim @@ -25,7 +25,7 @@ function! SyntaxCheckers_javascript_flow_IsAvailable() dict if !executable(self.getExec()) return 0 endif - return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 6]) + return syntastic#util#versionIsAtLeast(self.getVersion(self.getExecEscaped() . ' version'), [0, 18, 1]) endfunction function! SyntaxCheckers_javascript_flow_GetLocList() dict