Describe the bug
SpellBad highlight colors overrule the colors of text properties. Using gui=nocombine, combine: v:false has no effect to the colors.
To Reproduce
vim -g -u NONE \
+'set spell' \
+'hi SpellBad guifg=red guibg=blue gui=NONE' \
+'hi MyProp guifg=white guibg=green gui=bold' \
+'enew' \
+'call setbufline(bufnr(), 1, "Room tempreture")' \
+'call prop_type_add("my_prop", #{highlight: "MyProp", combine: v:false, priority: 1000})' \
+'call prop_add(1, 3, #{length: 8, type: "my_prop"})'
Environment
Additional context
Although it's not very clear from the screenshots but the tempr part is properly rendered bold, only the colors are wrong.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
It's hard to come up with an elegant and long term solution. But maybe it could all work out based on priority level alone. But then priorities across all kinds of highlighting should work together and it should be possible to set priority for every kind.