aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-11 07:40:16 +0800
committerGitHub <noreply@github.com>2024-04-11 07:40:16 +0800
commitd0afb2dc4eb8e70942441b3c9a551dcccd6806cd (patch)
tree627bdbec7314d38bf17245b0ab0be4bd4e85c419 /src/nvim/mbyte.c
parentadb70a351d64129c4e12febf7cbe528ef66c8eb6 (diff)
downloadrneovim-d0afb2dc4eb8e70942441b3c9a551dcccd6806cd.tar.gz
rneovim-d0afb2dc4eb8e70942441b3c9a551dcccd6806cd.tar.bz2
rneovim-d0afb2dc4eb8e70942441b3c9a551dcccd6806cd.zip
vim-patch:9.1.0297: Patch 9.1.0296 causes too many issues (#28263)
Problem: Patch 9.1.0296 causes too many issues (Tony Mechelynck, chdiza, CI) Solution: Back out the change for now Revert "patch 9.1.0296: regexp: engines do not handle case-folding well" This reverts commit 7a27c108e0509f3255ebdcb6558e896c223e4d23 it causes issues with syntax highlighting and breaks the FreeBSD and MacOS CI. It needs more work. fixes: vim/vim#14487 https://github.com/vim/vim/commit/c97f4d61cde24030f2f7d2318e1b409a0ccc3e43 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 0a7bb78102..c7a56209e4 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -1387,7 +1387,7 @@ bool mb_isalpha(int a)
return mb_islower(a) || mb_isupper(a);
}
-int utf_strnicmp(const char *s1, const char *s2, size_t n1, size_t n2)
+static int utf_strnicmp(const char *s1, const char *s2, size_t n1, size_t n2)
{
int c1, c2;
char buffer[6];