mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
49a497a67c
commit
39a03c0fe7
@ -641,6 +641,7 @@ static int command_line_execute(VimState *state, int key)
|
||||
save_p_ls = -1;
|
||||
} else {
|
||||
win_redraw_last_status(topframe);
|
||||
wild_menu_showing = 0; // must be before redraw_statuslines #8385
|
||||
redraw_statuslines();
|
||||
}
|
||||
KeyTyped = skt;
|
||||
|
@ -31,6 +31,29 @@ describe("'wildmenu'", function()
|
||||
]])
|
||||
end)
|
||||
|
||||
it(':sign <tab> <space> hides wildmenu #8453', function()
|
||||
command('set wildmode=full')
|
||||
-- only a regression if status-line open
|
||||
command('set laststatus=2')
|
||||
command('set wildmenu')
|
||||
feed(':sign <tab>')
|
||||
screen:expect([[
|
||||
|
|
||||
~ |
|
||||
~ |
|
||||
define jump list > |
|
||||
:sign define^ |
|
||||
]])
|
||||
feed('<space>')
|
||||
screen:expect([[
|
||||
|
|
||||
~ |
|
||||
~ |
|
||||
[No Name] |
|
||||
:sign define ^ |
|
||||
]])
|
||||
end)
|
||||
|
||||
it('does not crash after cycling back to original text', function()
|
||||
command('set wildmode=full')
|
||||
feed(':j<Tab><Tab><Tab>')
|
||||
|
Loading…
Reference in New Issue
Block a user