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

Use sub mode in doc

This commit is contained in:
wsdjeg 2017-01-29 22:55:09 +08:00
parent 2e15af6999
commit d59032e8d0
8 changed files with 51 additions and 45 deletions

View File

@ -2,7 +2,7 @@
" @section Introduction, intro
" @stylized Maktaba
" @library
" @order intro version dicts functions exceptions layers autocomplete colorscheme layer_lang_java layer_lang_php layer_lang_c layer-lang-rust faq
" @order intro version dicts functions exceptions layers faq
" SpaceVim is a Modular configuration, a bundle of custom settings
" and plugins, for Vim. It got inspired by spacemacs.
"

View File

@ -1,5 +1,6 @@
""
" @section Autocomplete, autocomplete
" @parentsection layers
" SpaceVim use neocomplete as default completion engine for vim with lua
" support, if has no lua support neocomplcache will be the completion engine.
" SpaceVim use deoplete as default completion engine for nevoim. to make

View File

@ -1,5 +1,6 @@
""
" @section Colorscheme, colorscheme
" @parentsection layers
" SpaceVim default colorscheme is gruvbox, you can change it by set spacevim
" option. add this to your `~/.SpaceVim.d/init.vim`
" >

View File

@ -1,5 +1,6 @@
""
" @section Layer_lang_c
" @parentsection layers
" this layer provide c family language code completion and syntax chaeck.you
" need install clang.
"

View File

@ -1,5 +1,6 @@
""
" @section Layer_lang_java, layer_lang_java
" @parentsection layers
" This layer is for java development.
" >
" import-mappings:

View File

@ -1,5 +1,6 @@
""
" @section Layer_lang_php
" @parentsection layers
" this layer is for php development, and it provide auto codo completion,
" and syntax check, and jump to the definition location.
"

View File

@ -1,5 +1,6 @@
""
" @section layer-lang-rust, layer-lang-rust
" @parentsection layers
" SpaceVim do not load this layer by default, if you are a rust developer, you
" should add `call SpaceVim#layers#load('lang#rust')` to your @section(config)
"

View File

@ -7,13 +7,13 @@ CONTENTS *SpaceVim-contents*
2. CONFIGURATION...........................................|SpaceVim-config|
3. Functions............................................|SpaceVim-functions|
4. Layers..................................................|SpaceVim-layers|
5. Autocomplete......................................|SpaceVim-autocomplete|
6. Colorscheme........................................|SpaceVim-colorscheme|
7. Layer_lang_java................................|SpaceVim-layer_lang_java|
8. Layer_lang_php..................................|SpaceVim-layer_lang_php|
9. Layer_lang_c......................................|SpaceVim-layer_lang_c|
10. layer-lang-rust...............................|SpaceVim-layer-lang-rust|
11. FAQ.......................................................|SpaceVim-faq|
1. Autocomplete..................................|SpaceVim-autocomplete|
2. Colorscheme....................................|SpaceVim-colorscheme|
3. Layer_lang_c..................................|SpaceVim-layer_lang_c|
4. Layer_lang_java............................|SpaceVim-layer_lang_java|
5. Layer_lang_php..............................|SpaceVim-layer_lang_php|
6. layer-lang-rust............................|SpaceVim-layer-lang-rust|
5. FAQ........................................................|SpaceVim-faq|
==============================================================================
INTRODUCTION *SpaceVim-intro*
@ -376,6 +376,43 @@ colorschemes: if the colorscheme you want do not list below, PR welcome.
OceanicNext
<
==============================================================================
LAYER_LANG_C *SpaceVim-layer_lang_c*
this layer provide c family language code completion and syntax chaeck.you
need install clang.
configuration:
1.setting compile flag:
>
let g:deoplete#sources#clang#flags = ['-Iwhatever', ...]
<
2.`g:deoplete#sources#clang#executable` sets the path to the clang
executable.
3.`g:deoplete#sources#clang#autofill_neomake` is a boolean that tells this
plugin to fill in the `g:neomake_<filetype>_clang_maker` variable with the
clang executable path and flags. You will still need to enable it with
`g:neomake_<filetype>_enabled_make=['clang']`.
4.`g:deoplete#sources#clang#std` is a dict containing the standards you want
to use. It's not used if you already have `-std=whatever` in your flags. The
defaults are:
>
{
'c': 'c11',
'cpp': 'c++1z',
'objc': 'c11',
'objcpp': 'c++1z',
}
<
5.`g:deoplete#sources#clang#preproc_max_lines` sets the maximum number of
lines to search for a #ifdef or #endif line. #ifdef lines are discarded to
get completions within conditional preprocessor blocks. The default is 50,
setting it to 0 disables this feature.
==============================================================================
LAYER_LANG_JAVA *SpaceVim-layer_lang_java*
@ -427,43 +464,6 @@ requirement:
Composer Project
<
==============================================================================
LAYER_LANG_C *SpaceVim-layer_lang_c*
this layer provide c family language code completion and syntax chaeck.you
need install clang.
configuration:
1.setting compile flag:
>
let g:deoplete#sources#clang#flags = ['-Iwhatever', ...]
<
2.`g:deoplete#sources#clang#executable` sets the path to the clang
executable.
3.`g:deoplete#sources#clang#autofill_neomake` is a boolean that tells this
plugin to fill in the `g:neomake_<filetype>_clang_maker` variable with the
clang executable path and flags. You will still need to enable it with
`g:neomake_<filetype>_enabled_make=['clang']`.
4.`g:deoplete#sources#clang#std` is a dict containing the standards you want
to use. It's not used if you already have `-std=whatever` in your flags. The
defaults are:
>
{
'c': 'c11',
'cpp': 'c++1z',
'objc': 'c11',
'objcpp': 'c++1z',
}
<
5.`g:deoplete#sources#clang#preproc_max_lines` sets the maximum number of
lines to search for a #ifdef or #endif line. #ifdef lines are discarded to
get completions within conditional preprocessor blocks. The default is 50,
setting it to 0 disables this feature.
==============================================================================
LAYER-LANG-RUST *SpaceVim-layer-lang-rust*