forked from aniani/vim
updated for version 7.3.617
Problem: Hang on completion. Solution: Skip over the space. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -3837,17 +3837,12 @@ set_one_cmd_context(xp, buff)
|
|||||||
while (*p)
|
while (*p)
|
||||||
{
|
{
|
||||||
if (*p == ' ')
|
if (*p == ' ')
|
||||||
{
|
|
||||||
/* argument starts after a space */
|
/* argument starts after a space */
|
||||||
arg = p + 1;
|
arg = p + 1;
|
||||||
}
|
else if (*p == '\\' && *(p + 1) != NUL)
|
||||||
else
|
|
||||||
{
|
|
||||||
if (*p == '\\' && *(p + 1) != NUL)
|
|
||||||
++p; /* skip over escaped character */
|
++p; /* skip over escaped character */
|
||||||
mb_ptr_adv(p);
|
mb_ptr_adv(p);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
xp->xp_pattern = arg;
|
xp->xp_pattern = arg;
|
||||||
}
|
}
|
||||||
xp->xp_context = compl;
|
xp->xp_context = compl;
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
617,
|
||||||
/**/
|
/**/
|
||||||
616,
|
616,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user