Don't do any highlighting if there's no tag above the cursor

This commit is contained in:
Jan Larres 2011-03-02 23:31:58 +13:00
parent f847c4631b
commit 82eebf945e

View File

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