aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/hlstate_spec.lua
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/hlstate_spec.lua
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/hlstate_spec.lua')
-rw-r--r--test/functional/ui/hlstate_spec.lua10
1 files changed, 5 insertions, 5 deletions
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([[