diff options
author | Michael Davis | 2022-06-14 16:10:38 +0000 |
---|---|---|
committer | GitHub | 2022-06-14 16:10:38 +0000 |
commit | cdeab337cdba5265dcc72070f2b2e4fd11724670 (patch) | |
tree | 1d69096921411064185cd0e97794bf386019a5f6 /helix-view/src | |
parent | 3bd554557782ff4c3c5d2f686f01c4a84aab6e41 (diff) |
simplify fallback for selected line-number theming (#2768)
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/gutter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/gutter.rs b/helix-view/src/gutter.rs index 06ce1b2e..eb6796be 100644 --- a/helix-view/src/gutter.rs +++ b/helix-view/src/gutter.rs @@ -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() |