mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
terminal: add tests for palette color forwarding
This commit is contained in:
@@ -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"])')
|
||||
|
||||
Reference in New Issue
Block a user