fix: use theme selection color for line highlighting
This commit is contained in:
parent
f053a25cce
commit
3014ca971e
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ fn render_file(
|
|||
if (!(ctx.start_line <= ctx.current_line and ctx.current_line <= ctx.end_line)) return;
|
||||
|
||||
const style_: Theme.Style = if (ctx.highlight_line_start <= ctx.current_line and ctx.current_line <= ctx.highlight_line_end)
|
||||
.{ .fg = style.fg, .bg = ctx.theme.editor_line_highlight.bg }
|
||||
.{ .fg = style.fg, .bg = ctx.theme.editor_selection.bg }
|
||||
else
|
||||
.{ .fg = style.fg };
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue