mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
autocmd: add WinClosed event
- only fire once, just before freeing mem - trigger when on a different buffer - avoid recursive calls in another tab
This commit is contained in:

committed by
Justin M. Keyes

parent
fb8b0503ba
commit
757aad92e8
@@ -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,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user