Fixed #10633.
https://github.com/vim/vim/pull/11276
(4 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Matching the new window ID in the pattern does not appear useful, since the ID is not known yet. Only once the window exists you can use the window ID, that is why it works with WinClose.
The proposed tests only show a pattern that guesses the next window ID, I cannot think of a practical use for this.
To get the window ID in the WinNew autocommand win_getid() can be used.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
True, from perspective of ID matching this doesn't make sense. Somehow I forgot about win_getid().
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #11276.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.