Skip to content

Commit

Permalink
Fix regression in color-modes
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer authored and postsolar committed Apr 4, 2024
1 parent 9620b4f commit 960ecdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/statusline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fn render_mode<'a>(context: &RenderContext) -> Spans<'a> {
" ".into()
};
let modename = format!(" {} ", modename);
if config.color_modes {
if visible && config.color_modes {
Span::styled(
modename,
match context.editor.mode() {
Expand Down

0 comments on commit 960ecdd

Please sign in to comment.