fix(statusline): avoid rendering the left elements twice

pull/2434/head
etienne-k 2 years ago
parent 82120df409
commit 1ccd1deafe

@ -85,11 +85,6 @@ impl StatusLine {
// Left side of the status line. // Left side of the status line.
let config = &editor.config().status_line.left;
for render in config.into_iter().map(|id| Self::get_render_function(*id)) {
render(context, write_left);
}
let element_ids = &editor.config().status_line.left; let element_ids = &editor.config().status_line.left;
element_ids element_ids
.into_iter() .into_iter()

Loading…
Cancel
Save