diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-06-29 23:19:52 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-06-29 23:22:52 +0200 |
| commit | 684371ba5dbbb14d8348c01997fe7b423890d62f (patch) | |
| tree | c917acea9bdc0ee96f896573fb61f0aa6db73872 /test/functional/vimscript/executable_spec.lua | |
| parent | 2a4bb3eb378a30093e6ce897a7398cb8bf3df013 (diff) | |
| download | rneovim-684371ba5dbbb14d8348c01997fe7b423890d62f.tar.gz rneovim-684371ba5dbbb14d8348c01997fe7b423890d62f.tar.bz2 rneovim-684371ba5dbbb14d8348c01997fe7b423890d62f.zip | |
fix(cmdwin): handle split/tabpage
Problem:
- If cmdwin window is split, ENTER in one does not close the others.
- If cmdwin is put into a different tabpage via <c-w>T, it stops working
(ENTER does not execute the cmd).
Solution:
- Close the buffer instead of the window.
- In the WinClosed handler, skip `M._cleanup()` unless this is the last
cmdwin window.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions