]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.002 v7.3.002
authorBram Moolenaar <Bram@vim.org>
Mon, 16 Aug 2010 20:34:29 +0000 (22:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 16 Aug 2010 20:34:29 +0000 (22:34 +0200)
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)

src/ex_docmd.c
src/version.c

index b338ed5ff4a8c6f499893ef41afd9c885f5358ed..657742e5a2c0dc7e3e573136501244367ac3909a 100644 (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:
index 76d3d9e26cb033690adc0edc850509262b5a7f65..34d5b49ae4f7beed39520a18327d8f5d9755335c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2,
 /**/
     1,
 /**/