summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-16 22:34:29 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-16 22:34:29 +0200
commitc24b6977a1ec76bf48bd38b8055761a80ff1d83c (patch)
tree1cc7b37e3c8c511a390999425b532ba8e8ab2561
parentda9836cfa9dc53679295095cd0e91d87dc0626dd (diff)
updated for version 7.3.002v7.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)
-rw-r--r--src/ex_docmd.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index b338ed5ff4..657742e5a2 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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:
diff --git a/src/version.c b/src/version.c
index 76d3d9e26c..34d5b49ae4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2,
+/**/
1,
/**/
0