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