diff options
-rw-r--r-- | src/nvim/getchar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index dc11e4a232..c35398cd8d 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -456,6 +456,9 @@ void flush_buffers(flush_buffers_T flush_typeahead) typebuf.tb_silent = 0; cmd_silent = false; typebuf.tb_no_abbr_cnt = 0; + if (++typebuf.tb_change_cnt == 0) { + typebuf.tb_change_cnt = 1; + } } /* |