1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 03:20:06 +08:00
SpaceVim/test/api/vim/highlight.vader

8 lines
381 B
Plaintext
Raw Normal View History

Execute ( SpaceVim api: vim#highlight ):
let hi = SpaceVim#api#import('vim#highlight')
set termguicolors
highlight TestAPIVimHighlight ctermfg=11 guifg=#89DDFF guibg=#212121
AssertEqual hi.group2dict('TestAPIVimHighlight').guibg, '#212121'
AssertEqual hi.group2dict('TestAPIVimHighlight').guifg, '#89ddff'
AssertEqual hi.group2dict('TestAPIVimHighlight').ctermfg, '11'