Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Properly open fold when jumping to tag

  • Loading branch information...
commit ba3693f9773f600cc68d483fa664fd7991f11a4e 1 parent 528bdc6
@majutsushi authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 autoload/tagbar.vim
View
4 autoload/tagbar.vim
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.