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)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index b338ed5..657742e 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3465,7 +3465,8 @@
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 76d3d9e..34d5b49 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2,
+/**/
1,
/**/
0