1
0
forked from aniani/vim

updated for version 7.3.1102

Problem:    Completion of ":py3do" and ":py3file" does not work after ":py3".
Solution:   Make completion work. (Taro Muraoka)
This commit is contained in:
Bram Moolenaar
2013-06-02 19:22:13 +02:00
parent ac499e3116
commit 9f5d600723
2 changed files with 5 additions and 0 deletions

View 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)

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1102,
/**/
1101,
/**/