diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-30 08:27:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 08:27:56 +0100 |
commit | 00af06b3728e16155e08833e7e7708c495f500de (patch) | |
tree | 2d90915886e5643d72d1733733fc02533f50c920 /src/nvim/normal.c | |
parent | 34a59242a0d42687a49119cca590e7b4203496ef (diff) | |
parent | 5e1cad6d3378398c059e1a7144e1310b7bcb2398 (diff) | |
download | rneovim-00af06b3728e16155e08833e7e7708c495f500de.tar.gz rneovim-00af06b3728e16155e08833e7e7708c495f500de.tar.bz2 rneovim-00af06b3728e16155e08833e7e7708c495f500de.zip |
Merge #11616 from janlazo/vim-8.0.1491
vim-patch:8.0.{1356,1491,1495,1522,1538,1540},8.1.{554,670,1300,1303,1875,2377}
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 9c5434a0dd..9c707a6fdc 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -874,8 +874,10 @@ static void normal_finish_command(NormalState *s) s->old_mapped_len = typebuf_maplen(); } - // If an operation is pending, handle it... - do_pending_operator(&s->ca, s->old_col, false); + // If an operation is pending, handle it. But not for K_IGNORE. + if (s->ca.cmdchar != K_IGNORE) { + do_pending_operator(&s->ca, s->old_col, false); + } // Wait for a moment when a message is displayed that will be overwritten // by the mode message. |