1
0
forked from aniani/vim

patch 9.0.0171: quickfix line highlight is overruled by 'cursorline'

Problem:    Quickfix line highlight is overruled by 'cursorline'.
Solution:   Reverse the combination of attributes. (closes #10654)
This commit is contained in:
Bram Moolenaar
2022-08-08 16:03:06 +01:00
parent 113d9dec99
commit 6e5c61119a
2 changed files with 6 additions and 1 deletions

View File

@@ -1159,7 +1159,10 @@ win_line(
else else
# endif # endif
# if defined(FEAT_QUICKFIX) # 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 # else
line_attr = cul_attr; line_attr = cul_attr;
# endif # endif

View File

@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
171,
/**/ /**/
170, 170,
/**/ /**/