Bug fix: handling foreign checkers in "*_checkers" lists.
This commit is contained in:
parent
5044cc699b
commit
90e96d445f
@ -19,7 +19,7 @@ if has('reltime')
|
||||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.7.0-236'
|
||||
let g:_SYNTASTIC_VERSION = '3.7.0-237'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
@ -212,7 +212,7 @@ function! g:SyntasticRegistry.getCheckers(ftalias, hints_list) abort " {{{2
|
||||
let defs =
|
||||
\ exists('g:syntastic_' . ft . '_checkers') ? g:syntastic_{ft}_checkers :
|
||||
\ get(s:_DEFAULT_CHECKERS, ft, [])
|
||||
call extend(cnames, map(copy(defs), 'ft . "/" . v:val' ))
|
||||
call extend(cnames, map(copy(defs), 'stridx(v:val, "/") < 0 ? ft . "/" . v:val : v:val' ))
|
||||
endfor
|
||||
endif
|
||||
let cnames = syntastic#util#unique(cnames)
|
||||
|
Loading…
Reference in New Issue
Block a user