diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-03-16 23:05:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-16 23:05:39 +0000 |
| commit | 33b357d01fd0d623e512adf86f8134eca814c369 (patch) | |
| tree | 8d69adcd652882932d0a484819a81140d301baf3 /runtime/lua/vim/provider/python.lua | |
| parent | 7b7e8cc724584d9d40cfa84516c8294f4b60d2b9 (diff) | |
vim-patch:9.2.0182: autocmds may leave windows with w_locked set #38332
Problem: autocmds that switch windows may cause them to remain with
w_locked set, preventing them from being closed longer than
intended.
Solution: Unset w_locked in the window where it was set (Sean Dewar).
closes: vim/vim#19716
https://github.com/vim/vim/commit/bae31c35bb858ee44160a5663987e7929ee6a377
Also move alist_add_list's ga_grow inside the if block, so it's only called when
check_arglist_locked is OK, like Vim.
I also notice a redundant return at the end of the block; could be useful if
more code is added later, so I'm leaving it.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
