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

This commit is contained in:
Jan Larres committed 2011-03-02 23:31:58 +13:00
1 parent f847c4631b
commit 82eebf945e
1 file changed
+1 -2
+1 -2
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