4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight
12 directory names with a space. (Alexandre Provencio)
13 Solution: Remove the backslash before checking if the name is a directory.
18 *** ../vim-7.2.400/src/ex_getln.c 2010-03-02 17:23:10.000000000 +0100
19 --- src/ex_getln.c 2010-03-17 19:00:54.000000000 +0100
22 || xp->xp_context == EXPAND_SHELLCMD
23 || xp->xp_context == EXPAND_BUFFERS)
25 ! /* highlight directories */
26 ! j = (mch_isdir(files_found[k]));
31 || xp->xp_context == EXPAND_SHELLCMD
32 || xp->xp_context == EXPAND_BUFFERS)
34 ! char_u *halved_slash;
36 ! /* highlight directories */
37 ! halved_slash = backslash_halve_save(files_found[k]);
38 ! j = mch_isdir(halved_slash);
39 ! vim_free(halved_slash);
43 *** ../vim-7.2.400/src/version.c 2010-03-17 18:15:17.000000000 +0100
44 --- src/version.c 2010-03-17 19:12:22.000000000 +0100
48 { /* Add new patch number below this line */
54 Two cows are standing together in a field. One asks the other:
55 "So what do you think about this Mad Cow Disease?"
56 The other replies: "That doesn't concern me. I'm a helicopter."
58 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
59 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60 \\\ download, build and distribute -- http://www.A-A-P.org ///
61 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///