diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-05-24 14:33:09 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-05-25 18:40:26 +0200 |
commit | 455bca1ba86a2524251fea6f79ef668c1e38f6aa (patch) | |
tree | 65da4527dd3cc5dd31927d865bf2d76f8ffc0972 /scripts/vim-patch.sh | |
parent | aa9d46b6724cf3454aca602e64350856827c3ab8 (diff) | |
download | rneovim-455bca1ba86a2524251fea6f79ef668c1e38f6aa.tar.gz rneovim-455bca1ba86a2524251fea6f79ef668c1e38f6aa.tar.bz2 rneovim-455bca1ba86a2524251fea6f79ef668c1e38f6aa.zip |
fix(drawline): combine extmark highligh with area hl correctly
fixes #23734
Get rid of the weird attr_pri dance which always seemed like a kludge:
if (!attr_pri) {
wlv.char_attr = hl_combine_attr(wlv.char_attr, extmark_attr);
} else {
wlv.char_attr = hl_combine_attr(extmark_attr, wlv.char_attr);
}
Instead combine extmark attrs with (old-skool) syntax attrs in a consistent way and then combine that with attr_pri and the rest in an _unified_ code path
fixes #23722
Co-authored-by: luukvbaal <luukvbaal@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'scripts/vim-patch.sh')
0 files changed, 0 insertions, 0 deletions