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,16 +3837,11 @@ set_one_cmd_context(xp, buff)
|
||||
while (*p)
|
||||
{
|
||||
if (*p == ' ')
|
||||
{
|
||||
/* argument starts after a space */
|
||||
arg = p + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (*p == '\\' && *(p + 1) != NUL)
|
||||
++p; /* skip over escaped character */
|
||||
mb_ptr_adv(p);
|
||||
}
|
||||
else if (*p == '\\' && *(p + 1) != NUL)
|
||||
++p; /* skip over escaped character */
|
||||
mb_ptr_adv(p);
|
||||
}
|
||||
xp->xp_pattern = arg;
|
||||
}
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
617,
|
||||
/**/
|
||||
616,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user