mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
refactor: allow us to process a child queue only while waiting on input
This commit is contained in:
@@ -5673,7 +5673,6 @@ void ex_substitute(exarg_T *eap)
|
||||
}
|
||||
|
||||
block_autocmds(); // Disable events during command preview.
|
||||
input_disable_events();
|
||||
|
||||
char_u *save_eap = eap->arg;
|
||||
garray_T save_view;
|
||||
@@ -5716,7 +5715,6 @@ void ex_substitute(exarg_T *eap)
|
||||
restore_search_patterns();
|
||||
win_size_restore(&save_view);
|
||||
ga_clear(&save_view);
|
||||
input_enable_events();
|
||||
unblock_autocmds();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user