mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.4.121
Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) Solution: Skip over letters after ":py3".
This commit is contained in:
@@ -3261,7 +3261,11 @@ set_one_cmd_context(xp, buff)
|
|||||||
++p;
|
++p;
|
||||||
/* for python 3.x: ":py3*" commands completion */
|
/* for python 3.x: ":py3*" commands completion */
|
||||||
if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
|
if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
|
||||||
|
{
|
||||||
++p;
|
++p;
|
||||||
|
while (ASCII_ISALPHA(*p) || *p == '*')
|
||||||
|
++p;
|
||||||
|
}
|
||||||
len = (int)(p - cmd);
|
len = (int)(p - cmd);
|
||||||
|
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
121,
|
||||||
/**/
|
/**/
|
||||||
120,
|
120,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user