mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-15 05:53:00 +08:00
Support column: extension field
This commit is contained in:
parent
86b49e6949
commit
f7d966c596
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue
Block a user