From 3014ca971e176cab111f5b0c6237073d2c94ad76 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 25 Mar 2024 19:31:55 +0100 Subject: [PATCH] fix: use theme selection color for line highlighting --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 1e06574..fea0358 100644 --- a/src/main.zig +++ b/src/main.zig @@ -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 };