diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-07-14 07:57:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 07:57:13 +0800 |
commit | 9176b5e10a6b32ff65c8ba3f532e3bd55c168ec6 (patch) | |
tree | c6ad5b716b04547789d252bd2f70882f7d8fad4d /src/nvim/path.c | |
parent | dbb840da01c72d8a311e0c55d3248d78a64b63a4 (diff) | |
download | rneovim-9176b5e10a6b32ff65c8ba3f532e3bd55c168ec6.tar.gz rneovim-9176b5e10a6b32ff65c8ba3f532e3bd55c168ec6.tar.bz2 rneovim-9176b5e10a6b32ff65c8ba3f532e3bd55c168ec6.zip |
fix(runtime): respect 'fileignorecase' when sourcing (#24344)
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 828b690699..d1e0947038 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1810,7 +1810,7 @@ bool path_with_extension(const char *path, const char *extension) if (!last_dot) { return false; } - return strcmp(last_dot + 1, extension) == 0; + return mb_strcmp_ic((bool)p_fic, last_dot + 1, extension) == 0; } /// Return true if "name" is a full (absolute) path name or URL. |