1
0
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:
Bram Moolenaar
2012-07-27 21:12:07 +02:00
parent dad937f77f
commit a07c831bef
2 changed files with 5 additions and 8 deletions

View File

@@ -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;

View File

@@ -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,
/**/ /**/