aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-05-17 00:25:18 +0800
committerGitHub <noreply@github.com>2026-05-16 12:25:18 -0400
commit54f22a8f01c0feb27a531b52aedf5cdbd5e51b24 (patch)
tree99a5941e55a1511ea46c63568a1df9e50bc0298e /runtime/lua/vim/pack.lua
parent6fecb529c75f77271f54b7f45ca186d9043687cb (diff)
downloadrneovim-54f22a8f01c0feb27a531b52aedf5cdbd5e51b24.tar.gz
rneovim-54f22a8f01c0feb27a531b52aedf5cdbd5e51b24.tar.bz2
rneovim-54f22a8f01c0feb27a531b52aedf5cdbd5e51b24.zip
fix(excmd): :bufdelete may fail from floating window #39800
Problem: with a float focused and the target buf only shown in the last non-float window, do_buffer_ext goes down the buf != curbuf path. close_windows can't touch the last non-float, b_nwindows stays > 0, close_buffer is skipped, returns OK silently. Solution: if a non-float still holds buf after close_windows, jump into it and recurse. Then buf == curbuf and the existing replacement path takes over.
Diffstat (limited to 'runtime/lua/vim/pack.lua')
0 files changed, 0 insertions, 0 deletions