mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Add doc for colorscheme
This commit is contained in:
parent
9c438aca22
commit
1cc31cdb58
@ -172,6 +172,9 @@ let g:spacevim_language = ''
|
||||
" The colorscheme of SpaceVim. Default is 'gruvbox'.
|
||||
let g:spacevim_colorscheme = 'gruvbox'
|
||||
""
|
||||
" The background of colorscheme. Default is 'dark'.
|
||||
let g:spacevim_colorscheme_bg = 'dark'
|
||||
""
|
||||
" The default colorscheme of SpaceVim. Default is 'desert'.
|
||||
" This colorscheme will be used if the colorscheme set by
|
||||
" `g:spacevim_colorscheme` is not installed.
|
||||
|
@ -105,7 +105,6 @@ function! SpaceVim#default#SetOptions() abort
|
||||
set hidden
|
||||
set ttimeout
|
||||
set ttimeoutlen=50
|
||||
set background=dark
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#default#SetPlugins() abort
|
||||
|
@ -198,6 +198,9 @@ Set the message language of vim. Default is 'en_US.UTF-8'.
|
||||
*g:spacevim_colorscheme*
|
||||
The colorscheme of SpaceVim. Default is 'gruvbox'.
|
||||
|
||||
*g:spacevim_colorscheme_bg*
|
||||
The background of colorscheme. Default is 'dark'.
|
||||
|
||||
*g:spacevim_colorscheme_default*
|
||||
The default colorscheme of SpaceVim. Default is 'desert'. This colorscheme
|
||||
will be used if the colorscheme set by `g:spacevim_colorscheme` is not
|
||||
|
@ -207,6 +207,30 @@ let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11'
|
||||
|
||||
Comprehensive documentation is available for each layer by <kbd>:h SpaceVim</kbd>.
|
||||
|
||||
## Awesome ui
|
||||
|
||||
SpaceVim has a minimalistic and distraction free UI:
|
||||
|
||||
- custom powerline mode-line with color feedback according to current Flycheck status
|
||||
- Unicode symbols for minor mode lighters which appear in the mode-line
|
||||
- custom fringe bitmaps and error feedbacks for Flycheck
|
||||
|
||||
### Colorschemes
|
||||
|
||||
The default colorscheme of SpaceVim is [gruvbox](https://github.com/morhetz/gruvbox). There are two variants of this colorscheme, a dark one and a light one. Some aspects of these colorscheme can be customized in the custom configuration file, read <kbd>:h gruvbox</kbd>.
|
||||
|
||||
It is possible to define your default themes in your `~/.SpaceVim.d/init.vim` with the variable colorschemes. For instance, to specify [vim-one with dark colorscheme](https://github.com/rakr/vim-one):
|
||||
|
||||
```vim
|
||||
let g:spacevim_colorscheme = 'one'
|
||||
let g:spacevim_colorscheme_bg = 'dark'
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Features
|
||||
|
||||
## Awesome ui
|
||||
|
Loading…
Reference in New Issue
Block a user