Eslint checker: log if called as a generic frontend.
This commit is contained in:
parent
c34ea8955f
commit
66f4e96937
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user