mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
docs(format): update :h SpaceVim-layers-format
This commit is contained in:
parent
04e4b3d121
commit
abbc14e100
@ -9,11 +9,14 @@
|
||||
""
|
||||
" @section format, layers-format
|
||||
" @parentsection layers
|
||||
" format layer provides code formation for SpaceVim, the default formatting
|
||||
" plugin is |neoformat|.
|
||||
" @subsection options
|
||||
" `format` layer provides code formation for SpaceVim, the default formatting
|
||||
" plugin is `neoformat`, and you can also use `vim-codefmt`.
|
||||
"
|
||||
" `format_on_save`: disabled by default.
|
||||
" @subsection layer options
|
||||
"
|
||||
" 1. `format_on_save`: disabled by default.
|
||||
" 2. `format_method`: set the format plugin, default plugin is `neoformat`.
|
||||
" You can also use `vim-codefmt`.
|
||||
"
|
||||
" @subsection key bindings
|
||||
" >
|
||||
|
@ -1632,11 +1632,14 @@ Mappings:
|
||||
==============================================================================
|
||||
FORMAT *SpaceVim-layers-format*
|
||||
|
||||
format layer provides code formation for SpaceVim, the default formatting
|
||||
plugin is |neoformat|.
|
||||
OPTIONS
|
||||
`format` layer provides code formation for SpaceVim, the default formatting
|
||||
plugin is `neoformat`, and you can also use `vim-codefmt`.
|
||||
|
||||
`format_on_save`: disabled by default.
|
||||
LAYER OPTIONS
|
||||
|
||||
1. `format_on_save`: disabled by default.
|
||||
2. `format_method`: set the format plugin, default plugin is `neoformat`.
|
||||
You can also use `vim-codefmt`.
|
||||
|
||||
KEY BINDINGS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user