forked from aniani/vim
updated for version 7.3.072
Problem: Can't complete file names while ignoring case. Solution: Add 'wildignorecase'.
This commit is contained in:
@@ -4524,12 +4524,14 @@ expand_filename(eap, cmdlinep, errormsgp)
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user