mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
syntax, TUI: support "strikethrough"
fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported
This commit is contained in:
committed by
Justin M. Keyes
parent
35341b34b8
commit
3afb397407
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user