diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-08-29 09:36:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 09:36:33 -0700 |
commit | 59baa5e8a1f9e71b82f28c2723ccc558370b6fc0 (patch) | |
tree | b7f5599f50c48baab698bea9a059ee7030fe00bb /test/functional/api/vim_spec.lua | |
parent | 7588ff2d8986e343d440dc8e025b1b5d4d8974b5 (diff) | |
download | rneovim-59baa5e8a1f9e71b82f28c2723ccc558370b6fc0.tar.gz rneovim-59baa5e8a1f9e71b82f28c2723ccc558370b6fc0.tar.bz2 rneovim-59baa5e8a1f9e71b82f28c2723ccc558370b6fc0.zip |
fix(tohtml): apply sp color if present #30110
Problem:
Things like underlines are always given a default foreground highlight
regardless of the value of `sp`.
Solution:
Check for `sp` first, and apply that color to the text decoration color if it
exists.
Limitations:
If there is no value of `sp`, vim applies a text decoration color that matches
the foreground of the text. This is still not implemented (and seems like a much
more complex problem): in TOhtml, the underline will still be given a default
foreground highlight.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions