Permalink
Browse files

Properly open fold when jumping to tag

  • Loading branch information...
majutsushi committed Nov 29, 2013
1 parent 528bdc6 commit ba3693f9773f600cc68d483fa664fd7991f11a4e
Showing with 1 addition and 3 deletions.
  1. +1 −3 autoload/tagbar.vim
View
@@ -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)

0 comments on commit ba3693f

Please sign in to comment.