aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/highlight_spec.lua
diff options
context:
space:
mode:
authorAndrey Bushev <hlam-box@yandex.ru>2022-09-24 22:54:30 -0700
committerzeertzjq <zeertzjq@outlook.com>2022-09-26 11:53:20 +0800
commit4bb1d1df79bd1f125499e556d5d4e21ac2ff1e5a (patch)
tree89951f4a8fc73838548c2fd8af5f7a49f389dcda /test/functional/terminal/highlight_spec.lua
parent63be7651829f8b77c4974d08ebe09f7775e41a8a (diff)
downloadrneovim-4bb1d1df79bd1f125499e556d5d4e21ac2ff1e5a.tar.gz
rneovim-4bb1d1df79bd1f125499e556d5d4e21ac2ff1e5a.tar.bz2
rneovim-4bb1d1df79bd1f125499e556d5d4e21ac2ff1e5a.zip
feat(terminal): recognize underdouble and undercurl
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
-rw-r--r--test/functional/terminal/highlight_spec.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua
index 28ca07d815..a119d4acd3 100644
--- a/test/functional/terminal/highlight_spec.lua
+++ b/test/functional/terminal/highlight_spec.lua
@@ -26,6 +26,8 @@ describe(':terminal highlight', function()
[9] = {foreground = 130},
[10] = {reverse = true},
[11] = {background = 11},
+ [12] = {bold = true, underdouble = true},
+ [13] = {italic = true, undercurl = true},
})
screen:attach({rgb=false})
command(("enew | call termopen(['%s'])"):format(testprg('tty-test')))
@@ -114,6 +116,14 @@ describe(':terminal highlight', function()
thelpers.set_underline()
thelpers.set_strikethrough()
end)
+ descr('bold and underdouble', 12, function()
+ thelpers.set_bold()
+ thelpers.set_underdouble()
+ end)
+ descr('italics and undercurl', 13, function()
+ thelpers.set_italic()
+ thelpers.set_undercurl()
+ end)
end)
it(':terminal highlight has lower precedence than editor #9964', function()