mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:20:05 +08:00
464e9d5957
* Add test for toml api * Add test for number api * Add test for file api * Add test for vim#highlight api * Add test for icon api
8 lines
381 B
Plaintext
8 lines
381 B
Plaintext
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'
|