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

@@ -4,14 +4,12 @@ local clear, feed, nvim = helpers.clear, helpers.feed, helpers.nvim
local insert, execute = helpers.insert, helpers.execute
describe('Mouse input', function()
local screen, hlgroup_colors
local screen
setup(function()
hlgroup_colors = {
NonText = nvim('name_to_color', 'Blue'),
Visual = nvim('name_to_color', 'LightGrey'),
}
end)
local hlgroup_colors = {
NonText = Screen.colors.Blue,
Visual = Screen.colors.LightGrey
}
before_each(function()
clear()