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