1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:40:06 +08:00
SpaceVim/test/color/SpaceVim.vader

12 lines
411 B
Plaintext
Raw Normal View History

2018-07-15 20:23:38 +08:00
Execute ( SpaceVim colorscheme ):
2018-09-16 13:54:57 +08:00
let g:current_colors = get(g:, 'colors_name', '')
2020-08-29 16:46:57 +08:00
if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
Log 'SpaceVim colorscheme only support termguicolors'
else
colorscheme SpaceVim
AssertEqual get(g:, 'colors_name', ''), 'SpaceVim'
if !empty(g:current_colors)
exe 'colorscheme ' . g:current_colors
endif
2018-09-16 13:54:57 +08:00
endif