From a4145826cd5a1888bf73a9fca1dbb95cbff40a2a Mon Sep 17 00:00:00 2001 From: mattwparas Date: Tue, 30 Jan 2024 20:25:22 -0800 Subject: [PATCH] address more comments --- helix-term/src/ui/statusline.rs | 10 ---------- helix-view/src/editor.rs | 3 --- helix-view/src/extension.rs | 2 -- helix-view/src/info.rs | 1 - 4 files changed, 16 deletions(-) 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