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)
|| 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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 401,
/**/
400,
/**/