diff --git a/plugin/syntastic/notifiers.vim b/plugin/syntastic/notifiers.vim index d7873a3e..5a7c8432 100644 --- a/plugin/syntastic/notifiers.vim +++ b/plugin/syntastic/notifiers.vim @@ -35,7 +35,7 @@ endfunction function! g:SyntasticNotifiers.reset(loclist) for type in self._enabled_types let class = substitute(type, '.*', 'Syntastic\u&Notifier', '') - if has_key(g:{class}, 'reset') + if has_key(g:{class}, 'reset') && (!has_key(g:{class}, 'enabled') || self._notifier[type].enabled()) call self._notifier[type].reset(a:loclist) endif endfor