aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2014-12-23 11:56:10 -0300
committerJustin M. Keyes <justinkz@gmail.com>2015-02-16 23:24:30 -0500
commit66d94869a0f01902d93597eae4244f9a64db82fc (patch)
tree268c3d71cfd37f77eecc5f830c92e62364405c21 /src/nvim/ex_docmd.c
parent817be96be535a8aecc24a72f51fe2d6743ed4a24 (diff)
downloadrneovim-66d94869a0f01902d93597eae4244f9a64db82fc.tar.gz
rneovim-66d94869a0f01902d93597eae4244f9a64db82fc.tar.bz2
rneovim-66d94869a0f01902d93597eae4244f9a64db82fc.zip
Add TabNewEntered
TabNewEntered is triggered after vim has entered a buffer in new tab.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 9d2285acb5..189881be34 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -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