updated for version 7.3.072
Problem: Can't complete file names while ignoring case.
Solution: Add 'wildignorecase'.
diff --git a/src/misc1.c b/src/misc1.c
index 0859dc7..b14f2ed 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -9161,7 +9161,10 @@
#ifdef CASE_INSENSITIVE_FILENAME
regmatch.rm_ic = TRUE; /* Behave like Terminal.app */
#else
- regmatch.rm_ic = FALSE; /* Don't ever ignore case */
+ if (flags & EW_ICASE)
+ regmatch.rm_ic = TRUE; /* 'wildignorecase' set */
+ else
+ regmatch.rm_ic = FALSE; /* Don't ignore case */
#endif
regmatch.regprog = vim_regcomp(pat, RE_MAGIC);
vim_free(pat);
@@ -9643,7 +9646,7 @@
if (paths == NULL)
return 0;
- files = globpath(paths, pattern, 0);
+ files = globpath(paths, pattern, (flags & EW_ICASE) ? WILD_ICASE : 0);
vim_free(paths);
if (files == NULL)
return 0;