From 90e96d445fef4cdf0d010df642076832d3571c32 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 11 Oct 2016 11:32:54 +0300 Subject: [PATCH] Bug fix: handling foreign checkers in "*_checkers" lists. --- plugin/syntastic.vim | 2 +- plugin/syntastic/registry.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index f3a5846c..97f4f492 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -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 diff --git a/plugin/syntastic/registry.vim b/plugin/syntastic/registry.vim index 022a5f67..5ab6f2c7 100644 --- a/plugin/syntastic/registry.vim +++ b/plugin/syntastic/registry.vim @@ -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)