diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-16 22:34:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-16 22:34:29 +0200 |
commit | c24b6977a1ec76bf48bd38b8055761a80ff1d83c (patch) | |
tree | 1cc7b37e3c8c511a390999425b532ba8e8ab2561 | |
parent | da9836cfa9dc53679295095cd0e91d87dc0626dd (diff) | |
download | vim-git-c24b6977a1ec76bf48bd38b8055761a80ff1d83c.tar.gz |
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.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b338ed5ff..657742e5a 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 76d3d9e26..34d5b49ae 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 |