mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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 60f845ca55
This commit is contained in:
@@ -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([[
|
||||
|
||||
Reference in New Issue
Block a user