diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-03-19 16:49:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-03-19 16:49:16 +0100 |
commit | 71afbfe6cd697de30a9e0d57e5a6434cf4bb0f13 (patch) | |
tree | 981f8a151ec2a29321c8ef579101f82403e6e38b /src/option.c | |
parent | db333a5b8d0c72b7342d6d65ad2895a19a1c29d2 (diff) | |
download | vim-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/option.c')
-rw-r--r-- | src/option.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 467d578a6..39b48dea8 100644 --- a/src/option.c +++ b/src/option.c @@ -1108,6 +1108,15 @@ static struct vimoption (char_u *)&p_ffs, PV_NONE, {(char_u *)DFLT_FFS_VI, (char_u *)DFLT_FFS_VIM} SCRIPTID_INIT}, + {"fileignorecase", "fic", P_BOOL|P_VI_DEF, + (char_u *)&p_fic, PV_NONE, + { +#ifdef CASE_INSENSITIVE_FILENAME + (char_u *)TRUE, +#else + (char_u *)FALSE, +#endif + (char_u *)0L} SCRIPTID_INIT}, {"filetype", "ft", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME, #ifdef FEAT_AUTOCMD (char_u *)&p_ft, PV_FT, |