diff options
author | erw7 <erw7.github@gmail.com> | 2021-02-24 15:19:57 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2021-02-25 13:50:31 +0900 |
commit | 6deabca3e7da055bc2b26b795f2e2e98b3c70d4e (patch) | |
tree | 35b99913a9e7cb68a7197d7ef74c6bf0e39b2418 | |
parent | b2f1969f82ae0f02e480e8d2d5dc46a85eba33db (diff) | |
download | rneovim-6deabca3e7da055bc2b26b795f2e2e98b3c70d4e.tar.gz rneovim-6deabca3e7da055bc2b26b795f2e2e98b3c70d4e.tar.bz2 rneovim-6deabca3e7da055bc2b26b795f2e2e98b3c70d4e.zip |
eval: add fname_case to feature list
-rw-r--r-- | runtime/doc/eval.txt | 2 | ||||
-rw-r--r-- | src/nvim/eval/funcs.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 22963a372b..be7c026f5a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5125,6 +5125,8 @@ has({feature}) Returns 1 if {feature} is supported, 0 otherwise. The iconv Can use |iconv()| for conversion. +shellslash Can use backslashes in filenames (Windows) clipboard |clipboard| provider is available. + fname_case Case in file names matters (for Darwin and MS-Windows + this is not present). mac MacOS system. nvim This is Nvim. python2 Legacy Vim |python2| interface. |has-python| diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c index 79cb1385ea..8c8e0d568b 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -4131,7 +4131,9 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr) #ifdef _WIN64 "win64", #endif +#ifndef CASE_INSENSITIVE_FILENAME "fname_case", +#endif #ifdef HAVE_ACL "acl", #endif |