1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Automatically open folds in preview window

This commit is contained in:
Jan Larres
2013-11-22 16:36:54 +13:00
parent 574376d165
commit e090fe73d1

View File

@@ -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