mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
updated for version 7.2.401
Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight directory names with a space. (Alexandre Provencio) Solution: Remove the backslash before checking if the name is a directory. (Dominique Pelle)
This commit is contained in:
parent
639a2554e4
commit
b91e59b0f3
@ -3948,8 +3948,12 @@ showmatches(xp, wildmenu)
|
||||
|| xp->xp_context == EXPAND_SHELLCMD
|
||||
|| xp->xp_context == EXPAND_BUFFERS)
|
||||
{
|
||||
/* highlight directories */
|
||||
j = (mch_isdir(files_found[k]));
|
||||
char_u *halved_slash;
|
||||
|
||||
/* highlight directories */
|
||||
halved_slash = backslash_halve_save(files_found[k]);
|
||||
j = mch_isdir(halved_slash);
|
||||
vim_free(halved_slash);
|
||||
if (showtail)
|
||||
p = L_SHOWFILE(k);
|
||||
else
|
||||
|
@ -681,6 +681,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
401,
|
||||
/**/
|
||||
400,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user