diff --git a/README.md b/README.md index cb95ae7aa..873f5643b 100644 --- a/README.md +++ b/README.md @@ -438,6 +438,9 @@ Key | Mode | Action ## Enjoy! +## Thanks +- [vimdoc](https://github.com/google/vimdoc) generate doc file for SpaceVim + [dein.vim]: https://github.com/Shougo/dein.vim [vimproc]: https://github.com/Shougo/vimproc.vim diff --git a/addon-info.json b/addon-info.json new file mode 100644 index 000000000..5e69a3996 --- /dev/null +++ b/addon-info.json @@ -0,0 +1,5 @@ +{ + "name": "SpaceVim", + "description": "Like spacemacs, but for vim", + "author": "wsdjeg" +} diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index b1a204a97..8a779af7d 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -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 diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt new file mode 100644 index 000000000..373514a37 --- /dev/null +++ b/doc/SpaceVim.txt @@ -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: