diff options
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 3e2cbf0a09..ef522242c6 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1666,8 +1666,9 @@ static int vgetorpeek(int advance) init_typebuf(); start_stuff(); - if (advance && typebuf.tb_maplen == 0) + if (advance && typebuf.tb_maplen == 0) { reg_executing = 0; + } do { /* * get a character: 1. from the stuffbuffer |