diff src/vim.h @ 9599:42a8a81decdf v7.4.2077

commit https://github.com/vim/vim/commit/12c11d553053f5a9eae9eb3c518279b12fa928c2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 19 23:13:03 2016 +0200 patch 7.4.2077 Problem: Cannot update 'tabline' when a tab was closed. Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jul 2016 23:15:06 +0200
parents 0190d5de215f
children 846d4bad2df7
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -1331,6 +1331,7 @@ enum auto_event
     EVENT_TABENTER,		/* after entering a tab page */
     EVENT_TABLEAVE,		/* before leaving a tab page */
     EVENT_TABNEW,		/* when entering a new tab page */
+    EVENT_TABCLOSED,		/* after closing a tab page */
     EVENT_SHELLCMDPOST,		/* after ":!cmd" */
     EVENT_SHELLFILTERPOST,	/* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
     EVENT_TEXTCHANGED,		/* text was modified */