aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/051_highlight_spec.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-13 12:06:08 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-16 23:17:39 -0300
commitd8f3458ec745cf56dc692b55cc76d8323dbbfc53 (patch)
tree8d7633afd28546693af5719537c4e75f1ba99eec /test/functional/legacy/051_highlight_spec.lua
parent9a2dd7c4987679106fba24fb7702a11aba6b6ccf (diff)
downloadrneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.tar.gz
rneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.tar.bz2
rneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.zip
syntax: Refactor to store all term and gui attributes independently
Now the attrentry_T structure will store all attributes in separate fields for cterm and rgb UIs.
Diffstat (limited to 'test/functional/legacy/051_highlight_spec.lua')
-rw-r--r--test/functional/legacy/051_highlight_spec.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/legacy/051_highlight_spec.lua b/test/functional/legacy/051_highlight_spec.lua
index f35b70f93f..b4493583b2 100644
--- a/test/functional/legacy/051_highlight_spec.lua
+++ b/test/functional/legacy/051_highlight_spec.lua
@@ -15,9 +15,9 @@ describe(':highlight', function()
-- Test setting colors.
-- Test clearing one color and all doesn't generate error or warning
- execute('hi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#00ff00 guibg=Cyan')
- execute('hi Group2 term= cterm=')
- execute('hi Group3 term=underline cterm=bold')
+ execute('hi NewGroup cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#00ff00 guibg=Cyan')
+ execute('hi Group2 cterm=')
+ execute('hi Group3 cterm=bold')
execute('redir! @a')
execute('hi NewGroup')
execute('hi Group2')
@@ -29,7 +29,7 @@ describe(':highlight', function()
execute('hi Group2')
execute('hi clear')
execute('hi Group3')
- execute([[hi Crash term='asdf]])
+ execute([[hi Crash cterm='asdf]])
execute('redir END')
-- Filter ctermfg and ctermbg, the numbers depend on the terminal
@@ -48,11 +48,11 @@ describe(':highlight', function()
expect([[
- NewGroup xxx term=bold cterm=italic ctermfg=2 ctermbg=3
+ NewGroup xxx cterm=italic ctermfg=2 ctermbg=3
Group2 xxx cleared
- Group3 xxx term=underline cterm=bold
+ Group3 xxx cterm=bold
NewGroup xxx cleared
@@ -65,6 +65,6 @@ describe(':highlight', function()
Group3 xxx cleared
- E475: term='asdf]])
+ E475: cterm='asdf]])
end)
end)