diff --git a/helix-term/src/ui/statusline.rs b/helix-term/src/ui/statusline.rs index 94447d9eb..963940625 100644 --- a/helix-term/src/ui/statusline.rs +++ b/helix-term/src/ui/statusline.rs @@ -161,7 +161,6 @@ where helix_view::editor::StatusLineElement::Separator => render_separator, helix_view::editor::StatusLineElement::Spacer => render_spacer, helix_view::editor::StatusLineElement::VersionControl => render_version_control, - helix_view::editor::StatusLineElement::Custom => render_custom_text, helix_view::editor::StatusLineElement::Register => render_register, } } @@ -509,15 +508,6 @@ where write(context, head, None); } -fn render_custom_text(context: &mut RenderContext, write: F) -where - F: Fn(&mut RenderContext, String, Option