]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.121 v7.4.121
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 16:44:38 +0000 (17:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Dec 2013 16:44:38 +0000 (17:44 +0100)
Problem:    Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw)
Solution:   Skip over letters after ":py3".

src/ex_docmd.c
src/version.c

index ff5a6df9a6fa479ea4e7c0a233809ed6c2d19860..5bbc4c305b0cb247273fb307206c94c67389249b 100644 (file)
@@ -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)
index 3d5edc0bcbb0e2e326cf73353ecfb1252bf7472c..6fed35fb2edc3e2d3f7ba261956d168bf7dc95cb 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    121,
 /**/
     120,
 /**/