diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-06 12:16:34 +0000 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-08 22:43:25 +0000 |
| commit | 5f871007d7a8b78354e14771fd1a3900e41a5edd (patch) | |
| tree | 873d59a6f9afe936363cdafbc8c661b039a861ba /test/functional/vimscript/executable_spec.lua | |
| parent | 565cfa04eb00125eae2ade200591d435f5a86ad0 (diff) | |
| download | rneovim-5f871007d7a8b78354e14771fd1a3900e41a5edd.tar.gz rneovim-5f871007d7a8b78354e14771fd1a3900e41a5edd.tar.bz2 rneovim-5f871007d7a8b78354e14771fd1a3900e41a5edd.zip | |
vim-patch:9.1.2058: b_locked_split is not checked for :sbuffer
Problem: b_locked_split is not checked for :sbuffer, which allows
autocommands to leave windows open to freed buffers.
Solution: In do_buffer_ext, check just before possibly splitting, after
handling 'switchbuf'. Leave win_split to handle the check for
curbuf. (needed even if curbuf is not the target, as setting
the buffer after splitting may fail) (Sean Dewar)
closes: vim/vim#19096
https://github.com/vim/vim/commit/ac5c8ab6cc655f42f61f690058be8483fae71d4a
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions