Eslint checker: log if called as a generic frontend.

This commit is contained in:
LCD 47 2015-09-22 20:51:05 +03:00
parent c34ea8955f
commit 66f4e96937
2 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.6.0-172'
let g:_SYNTASTIC_VERSION = '3.6.0-173'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1

View File

@ -26,6 +26,10 @@ let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_javascript_eslint_IsAvailable() dict
if g:syntastic_javascript_eslint_generic
call self.log('generic eslint, exec =', self.getExec())
endif
if !executable(self.getExec())
return 0
endif