mirror of
https://github.com/vim/vim.git
synced 2025-10-21 08:24:06 -04:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user