Skip to content

Commit

Permalink
simplify fallback for selected line-number theming (#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis authored Jun 14, 2022
1 parent 3bd5545 commit cdeab33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/gutter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn line_numbers<'doc>(
let draw_last = text.line_to_byte(last_line) < text.len_bytes();

let linenr = theme.get("ui.linenr");
let linenr_select: Style = theme.try_get("ui.linenr.selected").unwrap_or(linenr);
let linenr_select = theme.get("ui.linenr.selected");

let current_line = doc
.text()
Expand Down

0 comments on commit cdeab33

Please sign in to comment.