Checker stylus/stylint: version 1.5.7 breaks errorformat.

This commit is contained in:
LCD 47 2016-11-15 10:00:59 +02:00
parent 7993f7946f
commit f3a5344f08
3 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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({})