mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: Edit the special color test
This commit is contained in:
parent
a5ac389e5c
commit
724fc88597
@ -312,8 +312,7 @@ describe('New special highlight color attribute', function()
|
|||||||
screen = Screen.new(25,10)
|
screen = Screen.new(25,10)
|
||||||
screen:attach()
|
screen:attach()
|
||||||
screen:set_default_attr_ignore({
|
screen:set_default_attr_ignore({
|
||||||
[1] = {bold=true},
|
{bold=true, foreground=Screen.colors.Blue}
|
||||||
[2] = {bold=true, foreground=Screen.colors.Blue}
|
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@ -350,12 +349,13 @@ describe('New special highlight color attribute', function()
|
|||||||
|
|
|
|
||||||
{1:neovim} tabbed^ |
|
{1:neovim} tabbed^ |
|
||||||
~ |
|
~ |
|
||||||
-- INSERT -- |
|
{4:-- INSERT --} |
|
||||||
]],{
|
]],{
|
||||||
[1] = {background = Screen.colors.Yellow, foreground = Screen.colors.Red,
|
[1] = {background = Screen.colors.Yellow, foreground = Screen.colors.Red,
|
||||||
special = Screen.colors.Red},
|
special = Screen.colors.Red},
|
||||||
[2] = {special = Screen.colors.Red, background = Screen.colors.Yellow},
|
[2] = {special = Screen.colors.Red, background = Screen.colors.Yellow},
|
||||||
[3] = {foreground = Screen.colors.Red, special = Screen.colors.Red}
|
[3] = {foreground = Screen.colors.Red, special = Screen.colors.Red},
|
||||||
|
[4] = {bold = true}
|
||||||
})
|
})
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user