1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00

Add link for layers

This commit is contained in:
wsdjeg 2017-01-18 20:25:25 +08:00
parent a1f82f72cd
commit f3287aa304
2 changed files with 3 additions and 2 deletions

View File

@ -240,7 +240,7 @@ endfunction
"" ""
" Load the {layer} you want, for more info see `:h SpaceVim-layers`. " Load the {layer} you want, for all the layers SpaceVim supported, see @section(layers).
function! SpaceVim#Layer(layer) abort function! SpaceVim#Layer(layer) abort
if index(g:spacevim_plugin_groups, a:layer) == -1 if index(g:spacevim_plugin_groups, a:layer) == -1
call add(g:spacevim_plugin_groups, a:layer) call add(g:spacevim_plugin_groups, a:layer)

View File

@ -182,7 +182,8 @@ twitter.
FUNCTIONS *SpaceVim-functions* FUNCTIONS *SpaceVim-functions*
SpaceVim#Layer({layer}) *SpaceVim#Layer()* SpaceVim#Layer({layer}) *SpaceVim#Layer()*
Load the {layer} you want, for more info see `:h SpaceVim-layers`. Load the {layer} you want, for all the layers SpaceVim supported, see
|SpaceVim-layers|.
SpaceVim#logger#setLevel({level}) *SpaceVim#logger#setLevel()* SpaceVim#logger#setLevel({level}) *SpaceVim#logger#setLevel()*
Set debug level of SpaceVim, by default it is 1. all message will be logged. Set debug level of SpaceVim, by default it is 1. all message will be logged.