aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/auevents.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/auevents.lua')
-rw-r--r--src/nvim/auevents.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua
index a52789c795..d596edf551 100644
--- a/src/nvim/auevents.lua
+++ b/src/nvim/auevents.lua
@@ -110,6 +110,7 @@ return {
'WinEnter', -- after entering a window
'WinLeave', -- before leaving a window
'WinNew', -- when entering a new window
+ 'WinClosed', -- after closing a window
},
aliases = {
BufCreate = 'BufAdd',
@@ -129,5 +130,6 @@ return {
TermOpen=true,
UIEnter=true,
UILeave=true,
+ WinClosed=true,
},
}