mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Add TabNewEntered
TabNewEntered is triggered after vim has entered a buffer in new tab.
This commit is contained in:

committed by
Justin M. Keyes

parent
817be96be5
commit
66d94869a0
@@ -5716,8 +5716,8 @@ void ex_splitview(exarg_T *eap)
|
||||
: eap->addr_count == 0 ? 0
|
||||
: (int)eap->line2 + 1) != FAIL) {
|
||||
apply_autocmds(EVENT_TABNEW, eap->arg, eap->arg, FALSE, curbuf);
|
||||
entering_new_tab = true;
|
||||
do_exedit(eap, old_curwin);
|
||||
apply_autocmds(EVENT_TABNEWENTERED, NULL, NULL, FALSE, curbuf);
|
||||
|
||||
/* set the alternate buffer for the window we came from */
|
||||
if (curwin != old_curwin
|
||||
|
Reference in New Issue
Block a user