summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-02 19:22:13 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-02 19:22:13 +0200
commit9f5d60072301711ac1175fa679676d0f7e40e60a (patch)
tree27f01fa33c12ffda45a405fa97f0259adf01f28a /src
parentac499e311677a58b90eadc1f5558e72da5eb1c5f (diff)
downloadvim-9f5d60072301711ac1175fa679676d0f7e40e60a.zip
updated for version 7.3.1102
Problem: Completion of ":py3do" and ":py3file" does not work after ":py3". Solution: Make completion work. (Taro Muraoka)
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index b6fc37668..686ce3c9f 100644
--- 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
index 679909255..3c9075a17 100644
--- 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,