1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00

Merge pull request #53 from SpaceVim/fix_true_color_support

Add option for true color support

Fix #43
This commit is contained in:
Wang Shidong 2017-01-06 19:17:26 +08:00 committed by GitHub
commit 6354f60ea9
3 changed files with 21 additions and 7 deletions

View File

@ -24,6 +24,12 @@ let g:spacevim_default_indent = 2
" < " <
let g:spacevim_max_column = 120 let g:spacevim_max_column = 120
"" ""
" Enable true color support in terminal.
" >
" let g:spacevim_enable_guicolors = 1
" <
let g:spacevim_enable_guicolors = 1
""
" Enable/Disable google suggestion for neocomplete. by default it is Disabled. " Enable/Disable google suggestion for neocomplete. by default it is Disabled.
" you can enable it by: " you can enable it by:
" > " >

View File

@ -1,12 +1,12 @@
scriptencoding utf-8 scriptencoding utf-8
exe "set wildignore+=" . g:spacevim_wildignore exe 'set wildignore+=' . g:spacevim_wildignore
" shell " shell
if has('filterpipe') if has('filterpipe')
set noshelltemp set noshelltemp
endif endif
filetype plugin indent on filetype plugin indent on
syntax on syntax on
if count(g:spacevim_plugin_groups, 'colorscheme')&&g:spacevim_colorscheme!='' "{{{ if count(g:spacevim_plugin_groups, 'colorscheme') && g:spacevim_colorscheme !=# '' "{{{
set background=dark set background=dark
try try
exec 'colorscheme '. g:spacevim_colorscheme exec 'colorscheme '. g:spacevim_colorscheme
@ -20,11 +20,13 @@ endif
if g:spacevim_enable_cursorcolumn == 1 if g:spacevim_enable_cursorcolumn == 1
set cursorcolumn "显示当前列 set cursorcolumn "显示当前列
endif endif
if g:spacevim_hiddenfileinfo == 1 && has("patch-7.4.1570") if g:spacevim_hiddenfileinfo == 1 && has('patch-7.4.1570')
set shortmess=filnxtToOFs set shortmess=filnxtToOFs
endif endif
if exists('+termguicolors') if g:spacevim_enable_guicolors == 1
set termguicolors if exists('+termguicolors')
elseif exists('+guicolors') set termguicolors
set guicolors elseif exists('+guicolors')
set guicolors
endif
endif endif

View File

@ -32,6 +32,12 @@ Change the max column of SpaceVim, default is 120.
let g:spacevim_max_column = 120 let g:spacevim_max_column = 120
< <
*g:spacevim_enable_guicolors*
Enable true color support in terminal.
>
let g:spacevim_enable_guicolors = 1
<
*g:spacevim_enable_googlesuggest* *g:spacevim_enable_googlesuggest*
Enable/Disable google suggestion for neocomplete. by default it is Disabled. Enable/Disable google suggestion for neocomplete. by default it is Disabled.
you can enable it by: you can enable it by: