Permalink
Browse files

Automatically open folds in preview window

  • Loading branch information...
1 parent 574376d commit e090fe73d19c4535e1c9abb1eab12f81040e35fe @majutsushi committed Nov 22, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/tagbar.vim
View
@@ -3014,6 +3014,10 @@ function! s:ShowInPreviewWin() abort
execute g:tagbar_previewwin_pos . ' pedit +' . taginfo.fields.line . ' ' .
\ s:known_files.getCurrent(0).fpath
+
+ call s:goto_win('P')
+ normal! zv
+ call s:goto_win('p')
endfunction
" s:ShowPrototype() {{{2

0 comments on commit e090fe7

Please sign in to comment.