diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-04 21:57:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-04 21:57:57 +0200 |
commit | 21492743e80c6740bac65a91311c28bede8ef2f8 (patch) | |
tree | e3330a096ce98a5e4b8c36b748c0a6621ef14d16 /src/normal.c | |
parent | 56cddb38790ba535919524d9d2f32dbec9f3f07a (diff) | |
download | vim-git-21492743e80c6740bac65a91311c28bede8ef2f8.tar.gz |
patch 8.2.2938: after using motion force from feedkeys() it sticksv8.2.2938
Problem: After using motion force from feedkeys() it may not be reset.
Solution: Clear motion_force in clearop(). (closes #8323)
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index c4c167935..fe47e2b74 100644 --- a/src/normal.c +++ b/src/normal.c @@ -1750,6 +1750,7 @@ clearop(oparg_T *oap) oap->regname = 0; oap->motion_force = NUL; oap->use_reg_one = FALSE; + motion_force = NUL; } void |