Skip to content

Commit

Permalink
patch 9.0.0171: quickfix line highlight is overruled by 'cursorline'
Browse files Browse the repository at this point in the history
Problem:    Quickfix line highlight is overruled by 'cursorline'.
Solution:   Reverse the combination of attributes. (closes #10654)
  • Loading branch information
brammool committed Aug 8, 2022
1 parent 113d9de commit 6e5c611
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/drawline.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,10 @@ win_line(
else
# endif
# if defined(FEAT_QUICKFIX)
line_attr = hl_combine_attr(line_attr, cul_attr);
// let the line attribute overrule 'cursorline', otherwise
// it disappears when both have background set;
// 'cursorline' can use underline or bold to make it show
line_attr = hl_combine_attr(cul_attr, line_attr);
# else
line_attr = cul_attr;
# endif
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
171,
/**/
170,
/**/
Expand Down

0 comments on commit 6e5c611

Please sign in to comment.