1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 03:50:26 +01:00

Add highlight pattern debug message

This commit is contained in:
Jan Larres
2012-06-22 22:25:03 +12:00
parent 2e0d125b79
commit 9ae2b2d818

View File

@@ -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