Skip to content

Commit

Permalink
Use correct text property highlight for list mode
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jun 25, 2023
1 parent b85eefb commit 3ee22f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/drawline.c
Original file line number Diff line number Diff line change
Expand Up @@ -3278,8 +3278,9 @@ win_line(
wlv.extra_attr = hl_combine_attr(wlv.win_attr,
HL_ATTR(HLF_8));
#ifdef FEAT_PROP_POPUP
if (text_prop_flags & PT_FLAG_OVERRIDE)
wlv.extra_attr = hl_combine_attr(wlv.extra_attr, text_prop_attr);
if (text_prop_type != NULL &&
text_prop_flags & PT_FLAG_OVERRIDE)
wlv.extra_attr = hl_combine_attr(text_prop_attr, wlv.extra_attr);
#endif

saved_attr2 = wlv.char_attr; // save current attr
Expand Down

0 comments on commit 3ee22f3

Please sign in to comment.