@@ -143,6 +143,7 @@ where
143 helix_view::editor::StatusLineElement::Diagnostics => render_diagnostics,
143 helix_view::editor::StatusLineElement::Diagnostics => render_diagnostics,
144 helix_view::editor::StatusLineElement::Selections => render_selections,
144 helix_view::editor::StatusLineElement::Selections => render_selections,
145 helix_view::editor::StatusLineElement::Position => render_position,
145 helix_view::editor::StatusLineElement::Position => render_position,
146+ helix_view::editor::StatusLineElement::Spacer => render_spacer,
@@ -334,3 +335,10 @@ where
335 write(context, title, None);
336 write(context, title, None);
339+fn render_spacer<F>(context: &mut RenderContext, write: F)
341+ F: Fn(&mut RenderContext, String, Option<Style>) + Copy,
343+ write(context, String::from(" "), None);