1
0
mirror of https://github.com/gryf/tagbar.git synced 2026-04-23 14:41:29 +02:00

Properly open fold when jumping to tag

This commit is contained in:
Jan Larres
2013-11-30 03:18:39 +13:00
parent 528bdc6b8d
commit ba3693f977
+1 -3
View File
@@ -3000,9 +3000,7 @@ function! s:JumpToTag(stay_in_tagbar) abort
normal! z.
call cursor(taginfo.fields.line, taginfo.fields.column)
if foldclosed('.') != -1
.foldopen
endif
normal! zv
if a:stay_in_tagbar
call s:HighlightTag(0)