# HG changeset patch # User Bram Moolenaar # Date 1386780278 -3600 # Node ID 4bf53c1ef37a5023e06f3c6b4f1c24857b4f52a6 # Parent 9e96db2170842dd322c6831f5bf262a33790b64e updated for version 7.4.121 Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) Solution: Skip over letters after ":py3". diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3261,7 +3261,11 @@ set_one_cmd_context(xp, buff) ++p; /* for python 3.x: ":py3*" commands completion */ if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3') + { ++p; + while (ASCII_ISALPHA(*p) || *p == '*') + ++p; + } len = (int)(p - cmd); if (len == 0) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 121, +/**/ 120, /**/ 119,