diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-09 12:47:40 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-03-09 13:38:32 +0800 |
commit | 33dfb5a383d7afacda35b8fd392ad18d57db2870 (patch) | |
tree | 860dfa50f29daa54a5726abce8c32f2d697cda12 /test/functional/api/window_spec.lua | |
parent | 6416c6bc94fa7ae553a6020d0ed2f07dd34ee3f1 (diff) | |
download | rneovim-33dfb5a383d7afacda35b8fd392ad18d57db2870.tar.gz rneovim-33dfb5a383d7afacda35b8fd392ad18d57db2870.tar.bz2 rneovim-33dfb5a383d7afacda35b8fd392ad18d57db2870.zip |
fix(window): :close may cause Nvim to quit with autocmd and float
Problem: :close may cause Nvim to quit if an autocommand triggered when
closing the buffer closes all other non-floating windows and
there are floating windows.
Solution: Correct the check for the only non-floating window.
Diffstat (limited to 'test/functional/api/window_spec.lua')
0 files changed, 0 insertions, 0 deletions