1
0
forked from aniani/vim

updated for version 7.3.002

Problem:    ":find" completion doesn't work when halfway an environment
            variable. (Dominique Pelle)
Solution:   Only use in-path completion when expanding file names. (Nazri
            Ramliy)
This commit is contained in:
Bram Moolenaar 2010-08-16 22:34:29 +02:00
parent da9836cfa9
commit c24b6977a1
2 changed files with 4 additions and 1 deletions

View File

@ -3465,7 +3465,8 @@ set_one_cmd_context(xp, buff)
case CMD_find:
case CMD_sfind:
case CMD_tabfind:
xp->xp_context = EXPAND_FILES_IN_PATH;
if (xp->xp_context == EXPAND_FILES)
xp->xp_context = EXPAND_FILES_IN_PATH;
break;
case CMD_cd:
case CMD_chdir:

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2,
/**/
1,
/**/