From 9ae2b2d818f3a2044eb0482e61de638d0eb41988 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Fri, 22 Jun 2012 22:25:03 +1200 Subject: [PATCH] Add highlight pattern debug message --- autoload/tagbar.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index ccd7262..8e0d3bb 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2626,6 +2626,7 @@ function! s:HighlightTag(openfolds, ...) let foldpat = '[' . s:icon_open . s:icon_closed . ' ]' let pattern = '/^\%' . tagline . 'l\s*' . foldpat . '[-+# ]\zs[^( ]\+\ze/' + call s:LogDebugMessage("Highlight pattern: '" . pattern . "'") execute 'match TagbarHighlight ' . pattern if a:0 == 0 " no line explicitly given, so assume we were in the file window