1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:40:03 +08:00
This commit is contained in:
wsdjeg 2016-12-31 19:07:05 +08:00
parent 05e5b5f5f2
commit d3dc775a04
4 changed files with 35 additions and 1 deletions

View File

@ -438,6 +438,9 @@ Key | Mode | Action
## Enjoy!
## Thanks
- [vimdoc](https://github.com/google/vimdoc) generate doc file for SpaceVim
<!-- plublic links -->
[dein.vim]: https://github.com/Shougo/dein.vim
[vimproc]: https://github.com/Shougo/vimproc.vim

5
addon-info.json Normal file
View File

@ -0,0 +1,5 @@
{
"name": "SpaceVim",
"description": "Like spacemacs, but for vim",
"author": "wsdjeg"
}

View File

@ -2,6 +2,8 @@ scriptencoding utf-8
function! SpaceVim#init() abort
"Vim settings
let g:settings = get(g:, 'settings', {})
""
" The default_indent of SpaceVim.
let g:settings.default_indent = 2
let g:settings.max_column = 120
let g:settings.enable_googlesuggest = 0
@ -50,7 +52,9 @@ function! SpaceVim#loadCustomConfig() abort
exe 'source ' . custom_confs[0]
endif
endfunction
""
" @public
" Load the {layer} you want, with the {opt}.
function! SpaceVim#Layer(layer, opt) abort
endfunction

22
doc/SpaceVim.txt Normal file
View File

@ -0,0 +1,22 @@
*SpaceVim.txt* Like spacemacs, but for vim
wsdjeg *SpaceVim*
==============================================================================
CONTENTS *SpaceVim-contents*
1. Configuration...........................................|SpaceVim-config|
2. Functions............................................|SpaceVim-functions|
==============================================================================
CONFIGURATION *SpaceVim-config*
*g:settings*
The default_indent of SpaceVim.
==============================================================================
FUNCTIONS *SpaceVim-functions*
SpaceVim#Layer({layer}, {opt}) *SpaceVim#Layer()*
Load the {layer} you want, with the {opt}.
vim:tw=78:ts=8:ft=help:norl: