diff options
| author | glepnir <glephunter@gmail.com> | 2026-05-21 17:06:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-21 05:06:50 -0400 |
| commit | 26df751adde08027c9828db9a8f131bf3330d422 (patch) | |
| tree | b1af5a9eec20962eb017320a1e7bdf502cebfa4b /runtime/syntax/cpp.vim | |
| parent | 7337e02563b5fbcc7ac8d50f127efa740fde38d6 (diff) | |
| download | rneovim-26df751adde08027c9828db9a8f131bf3330d422.tar.gz rneovim-26df751adde08027c9828db9a8f131bf3330d422.tar.bz2 rneovim-26df751adde08027c9828db9a8f131bf3330d422.zip | |
fix(float): :bufdelete in floatwin may change focus #39858
Problem:
(Followup to 54f22a8f01c0feb27a531b52aedf5cdbd5e51b24.)
Deleting another buffer from a floatwin could move focus into the holder
window and fire BufEnter for the buffer being deleted.
Solution:
Use switch_win_noblock() instead of buf_jump_open_win() before
recursing into do_buffer_ext().
Diffstat (limited to 'runtime/syntax/cpp.vim')
0 files changed, 0 insertions, 0 deletions