summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-19 16:49:16 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-19 16:49:16 +0100
commit71afbfe6cd697de30a9e0d57e5a6434cf4bb0f13 (patch)
tree981f8a151ec2a29321c8ef579101f82403e6e38b /src/edit.c
parentdb333a5b8d0c72b7342d6d65ad2895a19a1c29d2 (diff)
downloadvim-git-71afbfe6cd697de30a9e0d57e5a6434cf4bb0f13.tar.gz
updated for version 7.3.872v7.3.872
Problem: On some systems case of file names is always ignored, on others never. Solution: Add the 'fileignorecase' option to control this at runtime. Implies 'wildignorecase'.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/edit.c b/src/edit.c
index 5d609519a..65038e437 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4336,13 +4336,7 @@ ins_compl_get_exp(ini)
/* May change home directory back to "~". */
tilde_replace(compl_pattern, num_matches, matches);
- ins_compl_add_matches(num_matches, matches,
-#ifdef CASE_INSENSITIVE_FILENAME
- TRUE
-#else
- FALSE
-#endif
- );
+ ins_compl_add_matches(num_matches, matches, p_fic || p_wic);
}
break;