# HG changeset patch # User Bram Moolenaar # Date 1370193733 -7200 # Node ID 1c5da99d1b708b7af2928e7bc0d9d57935872958 # Parent 2c9dd3d109618d33d23e5269d4ff8c4e6a34fbd8 updated for version 7.3.1102 Problem: Completion of ":py3do" and ":py3file" does not work after ":py3". Solution: Make completion work. (Taro Muraoka) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3249,6 +3249,9 @@ set_one_cmd_context(xp, buff) /* check for non-alpha command */ if (p == cmd && vim_strchr((char_u *)"@*!=><&~#", *p) != NULL) ++p; + /* for python 3.x: ":py3*" commands completion */ + if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3') + ++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 @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1102, +/**/ 1101, /**/ 1100,