mirror of https://github.com/helix-editor/helix
fix(statusline): avoid rendering the left elements twice
parent
82120df409
commit
1ccd1deafe
|
@ -85,11 +85,6 @@ impl StatusLine {
|
|||
|
||||
// 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;
|
||||
element_ids
|
||||
.into_iter()
|
||||
|
|
Loading…
Reference in New Issue