From 6e5c61119a07b513a99baa9618e8182a74fd7e24 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 8 Aug 2022 16:03:06 +0100 Subject: [PATCH] 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) --- src/drawline.c | 5 ++++- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/drawline.c b/src/drawline.c index eaae4bed3..a435e4e84 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -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 diff --git a/src/version.c b/src/version.c index f9b5c2afc..63a0eae2c 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 171, /**/ 170, /**/ -- 2.50.0