comparison src/drawline.c @ 29662:b03c47618895 v9.0.0171

patch 9.0.0171: quickfix line highlight is overruled by 'cursorline' Commit: https://github.com/vim/vim/commit/6e5c61119a07b513a99baa9618e8182a74fd7e24 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 8 16:03:06 2022 +0100 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 https://github.com/vim/vim/issues/10654)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Aug 2022 17:15:03 +0200
parents b54dfe92ee10
children addac7a2d951
comparison
equal deleted inserted replaced
29661:4e08213f76c6 29662:b03c47618895
1157 line_attr = hl_combine_attr(line_attr, cul_attr); 1157 line_attr = hl_combine_attr(line_attr, cul_attr);
1158 } 1158 }
1159 else 1159 else
1160 # endif 1160 # endif
1161 # if defined(FEAT_QUICKFIX) 1161 # if defined(FEAT_QUICKFIX)
1162 line_attr = hl_combine_attr(line_attr, cul_attr); 1162 // let the line attribute overrule 'cursorline', otherwise
1163 // it disappears when both have background set;
1164 // 'cursorline' can use underline or bold to make it show
1165 line_attr = hl_combine_attr(cul_attr, line_attr);
1163 # else 1166 # else
1164 line_attr = cul_attr; 1167 line_attr = cul_attr;
1165 # endif 1168 # endif
1166 } 1169 }
1167 else 1170 else