mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
vim-patch:9.1.1516: tests: no test that 'incsearch' is updated after search completion (#34808)
Problem: tests: no test that 'incsearch' is updated after accepting
search completion.
Solution: Add a test case (zeertzjq).
closes: vim/vim#17682
08e5b128b8
This commit is contained in:
@ -1465,7 +1465,6 @@ static int command_line_execute(VimState *state, int key)
|
||||
|
||||
// If already used to cancel/accept wildmenu, don't process the key further.
|
||||
if (wild_type == WILD_CANCEL || wild_type == WILD_APPLY) {
|
||||
return command_line_not_changed(s);
|
||||
// Apply search highlighting
|
||||
if (wild_type == WILD_APPLY) {
|
||||
if (s->is_state.winid != curwin->handle) {
|
||||
@ -1475,6 +1474,7 @@ static int command_line_execute(VimState *state, int key)
|
||||
may_do_incsearch_highlighting(s->firstc, s->count, &s->is_state);
|
||||
}
|
||||
}
|
||||
return command_line_not_changed(s);
|
||||
}
|
||||
|
||||
return command_line_handle_key(s);
|
||||
|
Reference in New Issue
Block a user