diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-14 11:25:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-14 11:25:24 +0200 |
commit | 9ddf99172cc9e8ea3ac47516083751fca75c3501 (patch) | |
tree | 297dc3a02495e787b7e8c95190aea0be4ef381cb /src/nvim/ex_cmds.c | |
parent | 2c34a10aa25b38a8cf3b0c21a668b184883b4cff (diff) | |
parent | 0b8fc2742b9b559c4607202f5e6a79166a2b60d0 (diff) | |
download | rneovim-9ddf99172cc9e8ea3ac47516083751fca75c3501.tar.gz rneovim-9ddf99172cc9e8ea3ac47516083751fca75c3501.tar.bz2 rneovim-9ddf99172cc9e8ea3ac47516083751fca75c3501.zip |
Merge pull request #9783 from justinmk/inccommand-ignore-redraw
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index af92a9c846..150e13efd5 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -6392,6 +6392,7 @@ 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; @@ -6434,6 +6435,7 @@ void ex_substitute(exarg_T *eap) restore_search_patterns(); win_size_restore(&save_view); ga_clear(&save_view); + input_enable_events(); unblock_autocmds(); } |