1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Support column: extension field

This commit is contained in:
Jan Larres
2012-03-14 23:10:31 +13:00
parent 86b49e6949
commit f7d966c596

View File

@@ -2659,8 +2659,9 @@ function! s:JumpToTag(stay_in_tagbar)
let taginfo.fileinfo.fline[curline] = taginfo
endif
" Center the tag in the window
" Center the tag in the window and jump to the correct column if available
normal! z.
call cursor(taginfo.fields.line, get(taginfo.fields, 'column', 1))
if foldclosed('.') != -1
.foldopen!