vim-patch:8.2.2938: after using motion force from feedkeys() it sticks (#15240)

Problem:    After using motion force from feedkeys() it may not be reset.
Solution:   Clear motion_force in clearop(). (closes vim/vim#8323)
21492743e8
This commit is contained in:
Xiao
2021-08-29 23:08:39 +02:00
committed by GitHub
parent 4e66e74fd7
commit b35de6c525
2 changed files with 10 additions and 0 deletions

View File

@@ -3277,6 +3277,7 @@ static void clearop(oparg_T *oap)
oap->regname = 0;
oap->motion_force = NUL;
oap->use_reg_one = false;
motion_force = NUL;
}
static void clearopbeep(oparg_T *oap)