From: Bram Moolenaar Date: Wed, 11 Dec 2013 16:44:38 +0000 (+0100) Subject: updated for version 7.4.121 X-Git-Tag: v7.4.121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=893b2d73d16870f08d7d442488f3790156e11105;p=vim 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 index ff5a6df9a..5bbc4c305 100644 --- 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 index 3d5edc0bc..6fed35fb2 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 121, /**/ 120, /**/