updated for version 7.3.072
Problem: Can't complete file names while ignoring case.
Solution: Add 'wildignorecase'.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 0aac8f8..3265860 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4524,12 +4524,14 @@
else /* n == 2 */
{
expand_T xpc;
+ int options = WILD_LIST_NOTFOUND|WILD_ADD_SLASH;
ExpandInit(&xpc);
xpc.xp_context = EXPAND_FILES;
+ if (p_wic)
+ options += WILD_ICASE;
p = ExpandOne(&xpc, eap->arg, NULL,
- WILD_LIST_NOTFOUND|WILD_ADD_SLASH,
- WILD_EXPAND_FREE);
+ options, WILD_EXPAND_FREE);
if (p == NULL)
return FAIL;
}