diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2022-02-19 22:59:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 22:59:15 +0000 |
commit | 8b3799e2c33282bf417ddee15ae71b5aba613c16 (patch) | |
tree | 14a5119b2c0c73c69a424b50461fa98e918299f9 /src/nvim/mbyte.c | |
parent | 439a843b80339d80e788e8382ae91414c3db6dd5 (diff) | |
parent | 9c04285057b70f90ca19cb08a49f96369085d882 (diff) | |
download | rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.gz rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.tar.bz2 rneovim-8b3799e2c33282bf417ddee15ae71b5aba613c16.zip |
Merge pull request #17460 from seandewar/vim-8.2.4419
vim-patch:8.2.{4403,4418,4419,4422}
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index e5fa80a242..f634c7dda8 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1317,6 +1317,12 @@ bool mb_isupper(int a) return mb_tolower(a) != a; } +bool mb_isalpha(int a) + FUNC_ATTR_WARN_UNUSED_RESULT +{ + return mb_islower(a) || mb_isupper(a); +} + static int utf_strnicmp(const char_u *s1, const char_u *s2, size_t n1, size_t n2) { int c1, c2, cdiff; |