neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c33f670da20a0e8f1832ea7227b19f5b6f5a7beb
parent aa6b9c677d83d76d448c3bb0973bf8d14bfdf922
Author: dundargoc <gocdundar@gmail.com>
Date:   Fri, 28 Jun 2024 20:25:26 +0200

refactor: remove special-case conversion for german sharp s

The comment "German sharp s is lower case but has no upper case
equivalent." is no longer true and is therefore not needed anymore.

Diffstat:
Msrc/nvim/mbyte.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c @@ -1352,8 +1352,7 @@ int mb_toupper(int a) bool mb_islower(int a) { - // German sharp s is lower case but has no upper case equivalent. - return (mb_toupper(a) != a) || a == 0xdf; + return mb_toupper(a) != a; } /// Return the lower-case equivalent of "a", which is a UCS-4 character. Use