From 8901a8262ec6687d9f3e2408bd9d5f09ca1927c8 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 9 Aug 2013 15:33:18 +0300 Subject: [PATCH] Add debug logging for syntastic_aggregate_errors. --- plugin/syntastic.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 8ad08c23..2e3bde78 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -173,6 +173,12 @@ function! s:CacheErrors(...) if !s:SkipFile() let active_checkers = 0 let names = [] + + call syntastic#util#debug("CacheErrors: g:syntastic_aggregate_errors = " . g:syntastic_aggregate_errors) + if exists('b:syntastic_aggregate_errors') + call syntastic#util#debug("CacheErrors: b:syntastic_aggregate_errors = " . b:syntastic_aggregate_errors) + endif + for ft in s:CurrentFiletypes() if a:0 let checker = s:registry.getChecker(ft, a:1)