diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2021-12-15 15:53:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 07:53:09 -0700 |
commit | 576408ddde2f669f8a4a5e6782739f89edda4629 (patch) | |
tree | 8903b2bb759884deb9aeb832a3b8c6cee5399677 /test/functional/lua/json_spec.lua | |
parent | 5ba45a7cd6d178fbe9463499d13f40dd9eca54e4 (diff) | |
download | rneovim-576408ddde2f669f8a4a5e6782739f89edda4629.tar.gz rneovim-576408ddde2f669f8a4a5e6782739f89edda4629.tar.bz2 rneovim-576408ddde2f669f8a4a5e6782739f89edda4629.zip |
fix(ui): close floating window on BufLeave event (#16557)
When buffer is visible in two splits simultaneously, BufHidden event is
not triggered, causing the floating window to remain on screen after
switching to another buffer.
Remove BufHidden event from close_events defaults, and close the window
if we changed the buffer to something other than the buffer that spawned
the floating window or the floating window buffer itself.
Diffstat (limited to 'test/functional/lua/json_spec.lua')
0 files changed, 0 insertions, 0 deletions