From 355b2ba290edcb1cd7f3fd299af80befeca4d6ca Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Fri, 20 Dec 2024 07:57:16 +0000 Subject: [PATCH] fix: switch to lower|upper case is flipped --- helix-term/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index b0d0c13a6..4e321a808 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1796,11 +1796,11 @@ fn switch_to_camel_case(cx: &mut Context) { } fn switch_to_lower_case(cx: &mut Context) { - switch_case_impl(cx, |chars| to_upper_case(chars)) + switch_case_impl(cx, |chars| to_lower_case(chars)) } fn switch_to_upper_case(cx: &mut Context) { - switch_case_impl(cx, |chars| to_lower_case(chars)) + switch_case_impl(cx, |chars| to_upper_case(chars)) } fn switch_to_alternate_case(cx: &mut Context) {