Skip to content

Commit d9337a0

Browse files
committed
updated for version 7.4.121
Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) Solution: Skip over letters after ":py3".
1 parent aea6c3e commit d9337a0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ex_docmd.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3261,7 +3261,11 @@ set_one_cmd_context(xp, buff)
32613261
++p;
32623262
/* for python 3.x: ":py3*" commands completion */
32633263
if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
3264+
{
32643265
++p;
3266+
while (ASCII_ISALPHA(*p) || *p == '*')
3267+
++p;
3268+
}
32653269
len = (int)(p - cmd);
32663270

32673271
if (len == 0)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
121,
741743
/**/
742744
120,
743745
/**/

0 commit comments

Comments
 (0)