mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -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_SHELLCMD
|
||||||
|| xp->xp_context == EXPAND_BUFFERS)
|
|| xp->xp_context == EXPAND_BUFFERS)
|
||||||
{
|
{
|
||||||
/* highlight directories */
|
char_u *halved_slash;
|
||||||
j = (mch_isdir(files_found[k]));
|
|
||||||
|
/* highlight directories */
|
||||||
|
halved_slash = backslash_halve_save(files_found[k]);
|
||||||
|
j = mch_isdir(halved_slash);
|
||||||
|
vim_free(halved_slash);
|
||||||
if (showtail)
|
if (showtail)
|
||||||
p = L_SHOWFILE(k);
|
p = L_SHOWFILE(k);
|
||||||
else
|
else
|
||||||
|
@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
401,
|
||||||
/**/
|
/**/
|
||||||
400,
|
400,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user