vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 76ee00ee04a33cc3f755e81d39289498626938cb
parent 3875f5818d7f10dfaf98a70163c3cab5ab1f5198
Author: Randy Palamar <palamar@ualberta.ca>
Date:   Tue, 17 Oct 2023 09:16:43 -0600

apply configured foreground to matching pair

fixes #1151 (part 2): Set foreground color for matching pair

Diffstat:
Mvis.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vis.c b/vis.c @@ -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; } }