aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/helpers.lua
diff options
context:
space:
mode:
authorJaskaran Singh <jaskaransingh7654321@gmail.com>2019-09-14 03:16:19 +0530
committerJustin M. Keyes <justinkz@gmail.com>2019-09-13 14:46:19 -0700
commit3afb397407af3c94fc82d694186e8d451e625237 (patch)
tree6178036f4d81fd706eff8926f96876eb195faeb4 /test/functional/terminal/helpers.lua
parent35341b34b835eeb184ac9f0e2078ce31f6612fd7 (diff)
downloadrneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.gz
rneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.bz2
rneovim-3afb397407af3c94fc82d694186e8d451e625237.zip
syntax, TUI: support "strikethrough"
fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported
Diffstat (limited to 'test/functional/terminal/helpers.lua')
-rw-r--r--test/functional/terminal/helpers.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/terminal/helpers.lua b/test/functional/terminal/helpers.lua
index 9e450cc264..f6cab6bd1e 100644
--- a/test/functional/terminal/helpers.lua
+++ b/test/functional/terminal/helpers.lua
@@ -29,6 +29,7 @@ local function set_bg(num) feed_termcode('[48;5;'..num..'m') end
local function set_bold() feed_termcode('[1m') end
local function set_italic() feed_termcode('[3m') end
local function set_underline() feed_termcode('[4m') end
+local function set_strikethrough() feed_termcode('[9m') end
local function clear_attrs() feed_termcode('[0;10m') end
-- mouse
local function enable_mouse() feed_termcode('[?1002h') end
@@ -113,6 +114,7 @@ return {
set_bold = set_bold,
set_italic = set_italic,
set_underline = set_underline,
+ set_strikethrough = set_strikethrough,
clear_attrs = clear_attrs,
enable_mouse = enable_mouse,
disable_mouse = disable_mouse,