Skip to content

Commit

Permalink
apply configured foreground to matching pair
Browse files Browse the repository at this point in the history
fixes #1151 (part 2): Set foreground color for matching pair
  • Loading branch information
rnpnr committed Oct 17, 2023
1 parent 947ea1c commit 045ef7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ static void window_draw_cursor_matching(Win *win, Selection *cur, CellStyle *sty
line_match->cells[col_match].style.bg = old.fg;
} else {
line_match->cells[col_match].style.bg = style->bg;
line_match->cells[col_match].style.fg = style->fg;
}
}

Expand Down

0 comments on commit 045ef7a

Please sign in to comment.