aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-09-06 20:10:56 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-09-08 15:24:14 +0200
commite6b7613e89cc274198eec014180da6034442b3b6 (patch)
treee7deeaeb8f9b0da7b60f3efe06cde3434650d7d1 /src/nvim/ex_cmds.c
parentfa90f6cdaae800d9bfbc4f28ec04fb7456751dbe (diff)
downloadrneovim-e6b7613e89cc274198eec014180da6034442b3b6.tar.gz
rneovim-e6b7613e89cc274198eec014180da6034442b3b6.tar.bz2
rneovim-e6b7613e89cc274198eec014180da6034442b3b6.zip
refactor: allow us to process a child queue only while waiting on input
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index a0fbde008b..c3e1e69a63 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -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();
}