From db9b36e37b7da548953e25a65c268f613e49143a Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Wed, 11 Jan 2017 01:03:52 +0800 Subject: [PATCH] Update doc --- autoload/SpaceVim.vim | 27 ++++++++++++++++++++------- autoload/SpaceVim/plugins.vim | 3 --- doc/SpaceVim.txt | 27 +++++++++++++++++++-------- 3 files changed, 39 insertions(+), 18 deletions(-) diff --git a/autoload/SpaceVim.vim b/autoload/SpaceVim.vim index f9ccbd202..cb2767f43 100644 --- a/autoload/SpaceVim.vim +++ b/autoload/SpaceVim.vim @@ -1,16 +1,12 @@ -scriptencoding utf-8 "" " @section Introduction, intro +" @stylized Maktaba " @library -" SpaceVim is a modular configuration for vim/neovim plugins. " @order intro version dicts functions exceptions layers -"" -" @section Configuration, config -" @plugin(name) is configured by these options. - "" " Version of SpaceVim , this value can not be changed. +scriptencoding utf-8 let g:spacevim_version = '0.1.0-dev' lockvar g:spacevim_version "" @@ -38,7 +34,6 @@ let g:spacevim_enable_guicolors = 1 " let g:spacevim_enable_googlesuggest = 1 " < let g:spacevim_enable_googlesuggest = 0 -let g:spacevim_auto_download_neobundle = 0 let g:spacevim_neobundle_installed = 0 let g:spacevim_dein_installed = 0 let g:spacevim_vim_plug_installed = 0 @@ -54,11 +49,22 @@ let g:spacevim_enable_cursorcolumn = 0 let g:spacevim_enable_neomake = 1 "" " set the guifont of Spacevim, default is empty. +" > +" let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11' +" < let g:spacevim_guifont = '' "" " Enable ycm or not, but default it is 0. +" > +" let g:spacevim_enable_ycm = 1 +" < let g:spacevim_enable_ycm = 0 let g:spacevim_enable_neocomplcache = 0 +"" +" Enable cursorline +" > +" let g:spacevim_enable_cursorline = 1 +" < let g:spacevim_enable_cursorline = 0 "" " The error symbol used by maker. @@ -98,6 +104,8 @@ let g:spacevim_enable_debug = 0 let g:spacevim_debug_level = 1 let g:spacevim_hiddenfileinfo = 1 let g:spacevim_plugin_groups_exclude = [] + + "" " groups of plugins should be loaded. " @@ -184,6 +192,11 @@ function! SpaceVim#loadCustomConfig() abort endif endfunction +"" +" @section Layers, layers +" SpaceVim support such layers: + + "" " Load the {layer} you want : " autocompletion : Make SpaceVim support autocompletion. diff --git a/autoload/SpaceVim/plugins.vim b/autoload/SpaceVim/plugins.vim index 4e6dcc4ca..29daf4c67 100644 --- a/autoload/SpaceVim/plugins.vim +++ b/autoload/SpaceVim/plugins.vim @@ -1,7 +1,4 @@ scriptencoding utf-8 -"" -" @section Layers layers -" nihao let s:plugins = {} let s:plugins.core = [ diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 3f9e80612..f0fa8dd30 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -1,25 +1,19 @@ *SpaceVim.txt* Like spacemacs, but for vim -wsdjeg *SpaceVim* +wsdjeg *Maktaba* *SpaceVim* ============================================================================== CONTENTS *SpaceVim-contents* 1. Introduction.............................................|SpaceVim-intro| 2. Configuration...........................................|SpaceVim-config| 3. Functions............................................|SpaceVim-functions| + 4. Layers..................................................|SpaceVim-layers| ============================================================================== INTRODUCTION *SpaceVim-intro* -SpaceVim is a modular configuration for vim/neovim plugins. - ============================================================================== CONFIGURATION *SpaceVim-config* -SpaceVim is configured by these options. - - *g:spacevim_version* -Version of SpaceVim , this value can not be changed. - *g:spacevim_default_indent* Change the default indent of SpaceVim. default is 2. > @@ -54,9 +48,21 @@ set it by: *g:spacevim_guifont* set the guifont of Spacevim, default is empty. +> + let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11' +< *g:spacevim_enable_ycm* Enable ycm or not, but default it is 0. +> + let g:spacevim_enable_ycm = 1 +< + + *g:spacevim_enable_cursorline* +Enable cursorline +> + let g:spacevim_enable_cursorline = 1 +< *g:spacevim_error_symbol* The error symbol used by maker. @@ -159,5 +165,10 @@ SpaceVim#logger#setOutput({file}) *SpaceVim#logger#setOutput()* Set log output file of SpaceVim. by default it is `~/.SpaceVim/.SpaceVim.log` +============================================================================== +LAYERS *SpaceVim-layers* + +SpaceVim support such layers: + vim:tw=78:ts=8:ft=help:norl: