1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

🐛 Fix unnecessary buffer created

fix #514
This commit is contained in:
wsdjeg 2017-05-12 20:06:20 +08:00
parent 53ab9e5a9d
commit b943319ae0
3 changed files with 9 additions and 0 deletions

View File

@ -504,6 +504,9 @@ function! SpaceVim#welcome() abort
endif
if exists(':Startify') == 2
Startify
if isdirectory(bufname(1))
bwipeout! 1
endif
endif
if g:spacevim_enable_vimfiler_welcome
\ && get(g:, '_spacevim_checking_flag', 0) == 0

0
docs/layers/chinese.md Normal file
View File

View File

@ -0,0 +1,6 @@
# [Layers](https://spacevim.org/layers) > colorscheme
This layer provides many colorschemes for SpaceVim, the default colorscheme is gruvbox. to change the colorscheme:
```vim
let g:spacevim_colorscheme = 'onedark'
```