aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-03-08 17:55:59 +0100
committerGitHub <noreply@github.com>2021-03-08 17:55:59 +0100
commit7c204af87aa74120a70db14b87c5e7c7096ae478 (patch)
tree60857ad16af1a036af89ab7c125dc250f9423f54 /src/nvim/normal.c
parentc12ea02e0b5d465e2c4b7d8bba028d069bdf7008 (diff)
parentf901149de4bc69f7aa4abe00dea13bca99b9c765 (diff)
downloadrneovim-7c204af87aa74120a70db14b87c5e7c7096ae478.tar.gz
rneovim-7c204af87aa74120a70db14b87c5e7c7096ae478.tar.bz2
rneovim-7c204af87aa74120a70db14b87c5e7c7096ae478.zip
Merge pull request #13686 from bfredl/fastevent
state: throttle batched event processing when input is available
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 4d8b11f832..0b4e2e1f23 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -8103,7 +8103,7 @@ static void nv_event(cmdarg_T *cap)
// lists or dicts being used.
may_garbage_collect = false;
bool may_restart = (restart_edit != 0);
- multiqueue_process_events(main_loop.events);
+ state_handle_k_event();
finish_op = false;
if (may_restart) {
// Tricky: if restart_edit was set before the handler we are in ctrl-o mode,