mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 03:50:26 +01:00
Only ignore BufEnter when jumping to tag
This commit is contained in:
@@ -2424,8 +2424,9 @@ function! s:JumpToTag(stay_in_tagbar)
|
||||
|
||||
let tagbarwinnr = winnr()
|
||||
|
||||
" Ignore BufEnter to prevent MiniBufExplorer from interfering
|
||||
let eventignore_save = &eventignore
|
||||
set eventignore=all
|
||||
set eventignore=BufEnter
|
||||
|
||||
" This elaborate construct will try to switch to the correct
|
||||
" buffer/window; if the buffer isn't currently shown in a window it will
|
||||
|
||||
Reference in New Issue
Block a user