@@ -143,6 +143,7 @@ where
143143 helix_view::editor::StatusLineElement::Diagnostics => render_diagnostics,
144144 helix_view::editor::StatusLineElement::Selections => render_selections,
145145 helix_view::editor::StatusLineElement::Position => render_position,
146+ helix_view::editor::StatusLineElement::Spacer => render_spacer,
146147 }
147148}
148149
@@ -334,3 +335,10 @@ where
334335
335336 write(context, title, None);
336337}
338+
339+fn render_spacer<F>(context: &mut RenderContext, write: F)
340+where
341+ F: Fn(&mut RenderContext, String, Option<Style>) + Copy,
342+{
343+ write(context, String::from(" "), None);
344+}