1
0
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:
Jan Larres
2012-01-18 18:38:34 +13:00
parent 2c2b3fb99e
commit 6a95bfbbc0

View File

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