Skip to content

Commit 1203612

Browse files
committed
fix(highlighter): use background color if not transparent (#168)
1 parent f06ffde commit 1203612

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/tiny-inline-diagnostic/highlighter_builder.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function M.build_base_groups(colors, blends, transparent)
5555
end
5656

5757
hi[HIGHLIGHT_PREFIX .. "Arrow"] = {
58-
bg = colors.cursor_line.bg,
58+
bg = transparent and colors.cursor_line.bg or colors.background,
5959
fg = colors.arrow.fg,
6060
}
6161
hi[HIGHLIGHT_PREFIX .. "ArrowNoBg"] = {

0 commit comments

Comments
 (0)