Checker stylus/stylint: version 1.5.7 breaks errorformat.
This commit is contained in:
parent
7993f7946f
commit
f3a5344f08
@ -6012,6 +6012,8 @@ the project's page at GitHub for details:
|
||||
|
||||
https://github.com/rossPatton/stylint
|
||||
|
||||
Syntastic doesn't support "Stylint" version 1.5.7 or later.
|
||||
|
||||
Checker options~
|
||||
|
||||
This checker is initialised using the "makeprgBuild()" function and thus it
|
||||
|
@ -19,7 +19,7 @@ if has('reltime')
|
||||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.8.0-4'
|
||||
let g:_SYNTASTIC_VERSION = '3.8.0-5'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
@ -18,6 +18,14 @@ let g:loaded_syntastic_stylus_stylint_checker = 1
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_stylus_stylint_IsAvailable() dict
|
||||
if !executable(self.getExec())
|
||||
return 0
|
||||
endif
|
||||
" XXX versions 1.5.7 and later are not supported
|
||||
return !syntastic#util#versionIsAtLeast(self.getVersion(), [1, 5, 7])
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_stylus_stylint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user