api/vim: allow guis and tests to retrieve the entire color table

This commit is contained in:
Björn Linse
2015-01-26 19:32:20 +01:00
committed by Thiago de Arruda
parent ae2b747e64
commit f468fb70cb
6 changed files with 219 additions and 192 deletions

View File

@@ -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()