mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-27 02:53:34 +08:00
Don't do any highlighting if there's no tag above the cursor
This commit is contained in:
parent
f847c4631b
commit
82eebf945e
|
@ -1613,9 +1613,8 @@ function! s:HighlightTag(fname)
|
|||
|
||||
match none
|
||||
|
||||
" No tag above cursor position so don't do anything
|
||||
if tagline == 0
|
||||
execute 1
|
||||
call winline()
|
||||
execute prevwinnr . 'wincmd w'
|
||||
let &eventignore = eventignore_save
|
||||
redraw
|
||||
|
|
Loading…
Reference in New Issue
Block a user