From fa4afb497769bbbd2bc1e4ce5e9720d550f026f7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 11 Dec 2013 17:44:38 +0100 Subject: updated for version 7.4.121 Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) Solution: Skip over letters after ":py3". --- src/ex_docmd.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index ff5a6df9..5bbc4c30 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 3d5edc0b..6fed35fb 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, /**/ -- cgit v1.2.1