aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/loader.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-09-10 03:42:20 +0800
committerGitHub <noreply@github.com>2026-09-09 15:42:20 -0400
commit08dd3adffb60ae6c031f9b8310febd65bb14604e (patch)
tree4c692cc37fa752ec0c6c4735865286f43cf756d6 /runtime/lua/vim/loader.lua
parentac167f943a905669b29f337f18d22a1efefeca92 (diff)
downloadrneovim-08dd3adffb60ae6c031f9b8310febd65bb14604e.tar.gz
rneovim-08dd3adffb60ae6c031f9b8310febd65bb14604e.tar.bz2
rneovim-08dd3adffb60ae6c031f9b8310febd65bb14604e.zip
feat(api): add ev.win to autocmd callback args #39826
Problem: Autocmd callbacks currently have to rely on curwin, which may already have changed by the time they run. This is especially noticeable for WinNew, WinClosed, WinResized and WinScrolled. Solution: Track the window in the autocmd context and expose it as ev.win. Pass it explicitly for the window events that need it.
Diffstat (limited to 'runtime/lua/vim/loader.lua')
0 files changed, 0 insertions, 0 deletions