patch 8.2.2651: Vim9: restoring command modifiers happens after jump

Problem:    Vim9: restoring command modifiers happens after jump.
Solution:   Move the restore instruction to before the jump. (closes #8006)
            Also handle for and while.
This commit is contained in:
Bram Moolenaar
2021-03-25 21:12:15 +01:00
parent 2fecb53115
commit a91a71322d
4 changed files with 192 additions and 41 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2651,
/**/
2650,
/**/