mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
Add TabClosed event
TabClosed is triggered when a tab page closes.
This commit is contained in:

committed by
Justin M. Keyes

parent
66d94869a0
commit
3ffc5d81c3
@@ -5245,6 +5245,7 @@ static struct event_name {
|
||||
{"StdinReadPre", EVENT_STDINREADPRE},
|
||||
{"SwapExists", EVENT_SWAPEXISTS},
|
||||
{"Syntax", EVENT_SYNTAX},
|
||||
{"TabClosed", EVENT_TABCLOSED},
|
||||
{"TabEnter", EVENT_TABENTER},
|
||||
{"TabLeave", EVENT_TABLEAVE},
|
||||
{"TabNew", EVENT_TABNEW},
|
||||
@@ -6634,7 +6635,8 @@ apply_autocmds_group (
|
||||
|| event == EVENT_QUICKFIXCMDPRE
|
||||
|| event == EVENT_COLORSCHEME
|
||||
|| event == EVENT_QUICKFIXCMDPOST
|
||||
|| event == EVENT_JOBACTIVITY)
|
||||
|| event == EVENT_JOBACTIVITY
|
||||
|| event == EVENT_TABCLOSED)
|
||||
fname = vim_strsave(fname);
|
||||
else
|
||||
fname = FullName_save(fname, FALSE);
|
||||
|
Reference in New Issue
Block a user