mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Add TagbarJump (#515)
Co-authored-by: Sundström Valter <mail@valter.nu> Co-authored-by: David Hegland <david.hegland@broadcom.com>
This commit is contained in:
@@ -3969,5 +3969,14 @@ function! tagbar#IsOpen() abort
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" tagbar#jump() {{{2
|
||||
function! tagbar#jump() abort
|
||||
if &filetype !=# 'tagbar'
|
||||
" Not in tagbar window - ignore this function call
|
||||
return
|
||||
endif
|
||||
call s:JumpToTag(1)
|
||||
endfun
|
||||
|
||||
" Modeline {{{1
|
||||
" vim: ts=8 sw=4 sts=4 et foldenable foldmethod=marker foldcolumn=1
|
||||
|
||||
Reference in New Issue
Block a user