syntax, TUI: support "strikethrough"

fix #3436

Includes:
vim-patch:8.0.1038: strike-through text not supported
This commit is contained in:
Jaskaran Singh
2019-09-14 03:16:19 +05:30
committed by Justin M. Keyes
parent 35341b34b8
commit 3afb397407
14 changed files with 81 additions and 18 deletions

View File

@@ -25,6 +25,7 @@ describe('API: highlight',function()
reverse = true,
undercurl = true,
underline = true,
strikethrough = true,
}
before_each(function()
@@ -46,7 +47,7 @@ describe('API: highlight',function()
eq('Invalid highlight id: 30000', string.match(emsg, 'Invalid.*'))
-- Test all highlight properties.
command('hi NewHighlight gui=underline,bold,undercurl,italic,reverse')
command('hi NewHighlight gui=underline,bold,undercurl,italic,reverse,strikethrough')
eq(expected_rgb2, nvim("get_hl_by_id", hl_id, true))
-- Test nil argument.