]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1102 v7.3.1102
authorBram Moolenaar <Bram@vim.org>
Sun, 2 Jun 2013 17:22:13 +0000 (19:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 2 Jun 2013 17:22:13 +0000 (19:22 +0200)
Problem:    Completion of ":py3do" and ":py3file" does not work after ":py3".
Solution:   Make completion work. (Taro Muraoka)

src/ex_docmd.c
src/version.c

index b6fc3766842e0400c7d621ac73e6cd9fa75edf64..686ce3c9f8369d85a23b0b7d8d289416d9abcfed 100644 (file)
@@ -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)
index 6799092551b690126d98e1b14837fe432a993550..3c9075a17682146e9c8f07c9cd64a8d05d4b31a0 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1102,
 /**/
     1101,
 /**/