diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-11-03 11:07:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 11:07:40 +0100 |
commit | 93626b8af9c12425013f02c2ad52f2ac54317fc4 (patch) | |
tree | 4aa82a631dcba2da11f603bf931a462cefec7b83 /test/functional/ui/hlstate_spec.lua | |
parent | 75ad5587477b1fc90cb0c693794ee7053c3339c7 (diff) | |
parent | f707a7ef6885d791411077079e1a2783d8c1b169 (diff) | |
download | rneovim-93626b8af9c12425013f02c2ad52f2ac54317fc4.tar.gz rneovim-93626b8af9c12425013f02c2ad52f2ac54317fc4.tar.bz2 rneovim-93626b8af9c12425013f02c2ad52f2ac54317fc4.zip |
Merge pull request #10994 from bfredl/colorindex
allow pass through of :terminal palette colors with termguicolors
Diffstat (limited to 'test/functional/ui/hlstate_spec.lua')
-rw-r--r-- | test/functional/ui/hlstate_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ui/hlstate_spec.lua b/test/functional/ui/hlstate_spec.lua index 1e18df835a..2a567b28ee 100644 --- a/test/functional/ui/hlstate_spec.lua +++ b/test/functional/ui/hlstate_spec.lua @@ -181,11 +181,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] = {{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}}, + [2] = {{foreground = tonumber('0x00ccff'), fg_indexed=true}, {{kind = "term"}}}, + [3] = {{bold = true, foreground = tonumber('0x00ccff'), fg_indexed=true}, {{kind = "term"}}}, + [4] = {{foreground = tonumber('0x00ccff'), fg_indexed=true}, {2, 1}}, + [5] = {{foreground = tonumber('0x40ffff'), fg_indexed=true}, {{kind = "term"}}}, + [6] = {{foreground = tonumber('0x40ffff'), fg_indexed=true}, {5, 1}}, [7] = {{}, {{hi_name = "MsgArea", ui_name = "MsgArea", kind = "ui"}}}, }) command('enew | call termopen(["'..nvim_dir..'/tty-test"])') |