mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
api/vim: allow guis and tests to retrieve the entire color table
This commit is contained in:
committed by
Thiago de Arruda
parent
ae2b747e64
commit
f468fb70cb
@@ -29,14 +29,12 @@ end)
|
||||
describe('Default highlight groups', function()
|
||||
-- Test the default attributes for highlight groups shown by the :highlight
|
||||
-- command
|
||||
local screen, hlgroup_colors
|
||||
local screen
|
||||
|
||||
setup(function()
|
||||
hlgroup_colors = {
|
||||
NonText = nvim('name_to_color', 'Blue'),
|
||||
Question = nvim('name_to_color', 'SeaGreen')
|
||||
}
|
||||
end)
|
||||
local hlgroup_colors = {
|
||||
NonText = Screen.colors.Blue,
|
||||
Question = Screen.colors.SeaGreen
|
||||
}
|
||||
|
||||
before_each(function()
|
||||
clear()
|
||||
|
||||
Reference in New Issue
Block a user