aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-04-24 11:46:48 +0200
committerAdnoC <adam.r.cutler@gmail.com>2016-05-17 16:32:07 -0400
commita5ac389e5c0484824552ffeede64b9e2be75b883 (patch)
tree0f4c33f59bd375c90fc4f8d98db470059ba38b52 /test/functional/ui/screen.lua
parentf6a82c1d4fbda50cc167ac138d0e58e9bdad627e (diff)
downloadrneovim-a5ac389e5c0484824552ffeede64b9e2be75b883.tar.gz
rneovim-a5ac389e5c0484824552ffeede64b9e2be75b883.tar.bz2
rneovim-a5ac389e5c0484824552ffeede64b9e2be75b883.zip
test: Add a test for the new guisp highlighting feature.
Screen.lua needed a little cosmetical adjustment to print out the color nicely.
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 93f7142dab..11fde34ffc 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -577,7 +577,7 @@ function Screen:_pprint_attrs(attrs)
local items = {}
for f, v in pairs(attrs) do
local desc = tostring(v)
- if f == "foreground" or f == "background" then
+ if f == "foreground" or f == "background" or f == "special" then
if Screen.colornames[v] ~= nil then
desc = "Screen.colors."..Screen.colornames[v]
end