aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-30 21:13:01 +0100
committerGitHub <noreply@github.com>2018-11-30 21:13:01 +0100
commit32a30d90b460048a43490a16d2e006d0e39b0e38 (patch)
tree470cc768df0a98d59b816d93eecf09c263a79813 /test/functional/ui
parentb0ebf61d37ccae3c480834d2ac1b5559e7e3d20d (diff)
downloadrneovim-32a30d90b460048a43490a16d2e006d0e39b0e38.tar.gz
rneovim-32a30d90b460048a43490a16d2e006d0e39b0e38.tar.bz2
rneovim-32a30d90b460048a43490a16d2e006d0e39b0e38.zip
highlight: Fix missing .rgb_sp_color in initializers (#9287)
terminal_get_line_attributes() had this bug for a long time, though it likely had no effect visible to users. ref #9028 ref 60f845ca55a1
Diffstat (limited to 'test/functional/ui')
-rw-r--r--test/functional/ui/highlight_spec.lua4
-rw-r--r--test/functional/ui/hlstate_spec.lua10
2 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua
index f996acc9be..96f6b43320 100644
--- a/test/functional/ui/highlight_spec.lua
+++ b/test/functional/ui/highlight_spec.lua
@@ -797,9 +797,9 @@ 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,
+ [11] = {underline = true,
background = Screen.colors.LightMagenta},
- [12] = {bold = true, underline = true, special = Screen.colors.Grey0,
+ [12] = {bold = true, underline = true,
background = Screen.colors.Red},
})
end)
diff --git a/test/functional/ui/hlstate_spec.lua b/test/functional/ui/hlstate_spec.lua
index 672af5fb22..775b701438 100644
--- a/test/functional/ui/hlstate_spec.lua
+++ b/test/functional/ui/hlstate_spec.lua
@@ -177,11 +177,11 @@ describe('ext_hlstate detailed highlights', function()
it("work with :terminal", function()
screen:set_default_attr_ids({
[1] = {{}, {{hi_name = "TermCursorNC", ui_name = "TermCursorNC", kind = "ui"}}},
- [2] = {{special = Screen.colors.Grey0, foreground = 52479}, {{kind = "term"}}},
- [3] = {{special = Screen.colors.Grey0, bold = true, foreground = 52479}, {{kind = "term"}}},
- [4] = {{special = Screen.colors.Grey0, foreground = 52479}, {2, 1}},
- [5] = {{special = Screen.colors.Grey0, foreground = 4259839}, {{kind = "term"}}},
- [6] = {{special = Screen.colors.Grey0, foreground = 4259839}, {5, 1}},
+ [2] = {{foreground = 52479}, {{kind = "term"}}},
+ [3] = {{bold = true, foreground = 52479}, {{kind = "term"}}},
+ [4] = {{foreground = 52479}, {2, 1}},
+ [5] = {{foreground = 4259839}, {{kind = "term"}}},
+ [6] = {{foreground = 4259839}, {5, 1}},
})
command('enew | call termopen(["'..nvim_dir..'/tty-test"])')
screen:expect([[