mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:8.1.2023: no test for synIDattr() returning "strikethrough" (#11018)
Problem: No test for synIDattr() returning "strikethrough".
Solution: Extend the synIDattr() test. (Jaskaran Singh, closes vim/vim#4929)
dcb2b9cb08
This commit is contained in:
parent
9cf8cf605d
commit
8c88d98df9
@ -9,11 +9,14 @@ func Test_missing_attr()
|
||||
hi Mine cterm=standout gui=undercurl
|
||||
call assert_equal('1', synIDattr(hlID("Mine"), "standout", 'cterm'))
|
||||
call assert_equal('1', synIDattr(hlID("Mine"), "undercurl", 'gui'))
|
||||
hi Mine gui=strikethrough
|
||||
call assert_equal('1', synIDattr(hlID("Mine"), "strikethrough", 'gui'))
|
||||
hi Mine cterm=NONE gui=NONE
|
||||
call assert_equal('', synIDattr(hlID("Mine"), "italic", 'cterm'))
|
||||
call assert_equal('', synIDattr(hlID("Mine"), "inverse", 'cterm'))
|
||||
call assert_equal('', synIDattr(hlID("Mine"), "standout", 'cterm'))
|
||||
call assert_equal('', synIDattr(hlID("Mine"), "undercurl", 'gui'))
|
||||
call assert_equal('', synIDattr(hlID("Mine"), "strikethrough", 'gui'))
|
||||
|
||||
if has('gui')
|
||||
let fontname = getfontname()
|
||||
|
Loading…
Reference in New Issue
Block a user