]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.401
- new
[packages/vim.git] / 7.2.401
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.401
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.2.401
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.
14             (Dominique Pelle)
15 Files:      src/ex_getln.c
16
17
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
20 ***************
21 *** 3948,3955 ****
22                                           || xp->xp_context == EXPAND_SHELLCMD
23                                           || xp->xp_context == EXPAND_BUFFERS)
24                 {
25 !                           /* highlight directories */
26 !                   j = (mch_isdir(files_found[k]));
27                     if (showtail)
28                         p = L_SHOWFILE(k);
29                     else
30 --- 3948,3959 ----
31                                           || xp->xp_context == EXPAND_SHELLCMD
32                                           || xp->xp_context == EXPAND_BUFFERS)
33                 {
34 !                   char_u      *halved_slash;
35
36 !                   /* highlight directories */
37 !                   halved_slash = backslash_halve_save(files_found[k]);
38 !                   j = mch_isdir(halved_slash);
39 !                   vim_free(halved_slash);
40                     if (showtail)
41                         p = L_SHOWFILE(k);
42                     else
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
45 ***************
46 *** 683,684 ****
47 --- 683,686 ----
48   {   /* Add new patch number below this line */
49 + /**/
50 +     401,
51   /**/
52
53 -- 
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."
57
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    ///
This page took 0.026834 seconds and 3 git commands to generate.