diff options
-rw-r--r-- | src/nvim/highlight.c | 4 | ||||
-rw-r--r-- | test/functional/ui/highlight_spec.lua | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index 89a41e73de..12764e8059 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -186,8 +186,8 @@ int hl_get_underline(void) .cterm_fg_color = 0, .cterm_bg_color = 0, .rgb_ae_attr = (int16_t)HL_UNDERLINE, - .rgb_fg_color = 0, - .rgb_bg_color = 0, + .rgb_fg_color = -1, + .rgb_bg_color = -1, }, .kind = kHlUI, .id1 = 0, diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua index dffe5b5197..f996acc9be 100644 --- a/test/functional/ui/highlight_spec.lua +++ b/test/functional/ui/highlight_spec.lua @@ -797,8 +797,10 @@ describe('CursorLine highlight', function() [8] = {bold = true, foreground = Screen.colors.Blue1}, [9] = {bold = true, reverse = true}, [10] = {bold = true}, - [11] = {special = Screen.colors.Grey0, underline = true, foreground = Screen.colors.Grey0, background = Screen.colors.Grey0}, - [12] = {bold = true, special = Screen.colors.Grey0, background = Screen.colors.Grey0, foreground = Screen.colors.Grey0, underline = true}, + [11] = {special = Screen.colors.Grey0, underline = true, + background = Screen.colors.LightMagenta}, + [12] = {bold = true, underline = true, special = Screen.colors.Grey0, + background = Screen.colors.Red}, }) end) end) |