1
0
forked from aniani/vim

updated for version 7.0024

This commit is contained in:
Bram Moolenaar
2004-12-24 14:35:23 +00:00
parent 1cd871b534
commit b5bf5b8fae
43 changed files with 887 additions and 311 deletions

View File

@@ -3174,7 +3174,7 @@ set_one_cmd_context(xp, buff)
xp->xp_pattern = skipwhite(arg);
for (p = xp->xp_pattern; *p; )
{
if (*p == '\\' && p[1])
if (*p == '\\' && p[1] != NUL)
++p;
#ifdef SPACE_IN_FILENAME
else if (vim_iswhite(*p) && (!(argt & NOSPC) || usefilter))
@@ -3440,7 +3440,10 @@ set_one_cmd_context(xp, buff)
case CMD_tjump:
case CMD_stjump:
case CMD_ptjump:
xp->xp_context = EXPAND_TAGS;
if (*p_wop != NUL)
xp->xp_context = EXPAND_TAGS_LISTFILES;
else
xp->xp_context = EXPAND_TAGS;
xp->xp_pattern = arg;
break;
case CMD_augroup: