mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-06 21:50:36 +02:00
Add highlight pattern debug message
This commit is contained in:
1 parent
2e0d125b79
commit
9ae2b2d818
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user