mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
autocmd: WinClosed exposes window id as <afile>
This commit is contained in:
@@ -6862,7 +6862,8 @@ static bool apply_autocmds_group(event_T event, char_u *fname, char_u *fname_io,
|
||||
|| event == EVENT_SPELLFILEMISSING
|
||||
|| event == EVENT_SYNTAX
|
||||
|| event == EVENT_SIGNAL
|
||||
|| event == EVENT_TABCLOSED) {
|
||||
|| event == EVENT_TABCLOSED
|
||||
|| event == EVENT_WINCLOSED) {
|
||||
fname = vim_strsave(fname);
|
||||
} else {
|
||||
fname = (char_u *)FullName_save((char *)fname, false);
|
||||
|
Reference in New Issue
Block a user