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) {