1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:40:05 +08:00
SpaceVim/test/color/SpaceVim.vader
2020-08-29 16:46:57 +08:00

12 lines
411 B
Plaintext

Execute ( SpaceVim colorscheme ):
let g:current_colors = get(g:, 'colors_name', '')
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
endif