mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:00:04 +08:00
Update doc for lang#red layer (#3698)
This commit is contained in:
parent
56cf06b754
commit
e7e515eaec
@ -6,6 +6,33 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
|
""
|
||||||
|
" @section lang#racket, layer-lang-red
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer is for red development, disabled by default, to enable this
|
||||||
|
" layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = 'lang#red'
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" @subsection Key bindings
|
||||||
|
" >
|
||||||
|
" Mode Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" normal SPC l r run current file
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" This layer also provides REPL support for red, the key bindings are:
|
||||||
|
" >
|
||||||
|
" Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" SPC l s i Start a inferior REPL process
|
||||||
|
" SPC l s b send whole buffer
|
||||||
|
" SPC l s l send current line
|
||||||
|
" SPC l s s send selection text
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#red#plugins() abort
|
function! SpaceVim#layers#lang#red#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
|
@ -134,29 +134,30 @@ CONTENTS *SpaceVim-contents*
|
|||||||
58. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
58. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
||||||
59. lang#python.............................|SpaceVim-layer-lang-python|
|
59. lang#python.............................|SpaceVim-layer-lang-python|
|
||||||
60. lang#racket.............................|SpaceVim-layer-lang-racket|
|
60. lang#racket.............................|SpaceVim-layer-lang-racket|
|
||||||
61. lang#ring....................................|SpaceVim-layer-lang-r|
|
61. lang#racket................................|SpaceVim-layer-lang-red|
|
||||||
62. lang#ring.................................|SpaceVim-layer-lang-ring|
|
62. lang#ring....................................|SpaceVim-layer-lang-r|
|
||||||
63. lang#ruby.................................|SpaceVim-layer-lang-ruby|
|
63. lang#ring.................................|SpaceVim-layer-lang-ring|
|
||||||
64. lang#rust.................................|SpaceVim-layer-lang-rust|
|
64. lang#ruby.................................|SpaceVim-layer-lang-ruby|
|
||||||
65. lang#scala...............................|SpaceVim-layer-lang-scala|
|
65. lang#rust.................................|SpaceVim-layer-lang-rust|
|
||||||
66. lang#scheme.............................|SpaceVim-layer-lang-scheme|
|
66. lang#scala...............................|SpaceVim-layer-lang-scala|
|
||||||
67. lang#sh.....................................|SpaceVim-layer-lang-sh|
|
67. lang#scheme.............................|SpaceVim-layer-lang-scheme|
|
||||||
68. lang#swig.................................|SpaceVim-layer-lang-swig|
|
68. lang#sh.....................................|SpaceVim-layer-lang-sh|
|
||||||
69. lang#tcl...................................|SpaceVim-layer-lang-tcl|
|
69. lang#swig.................................|SpaceVim-layer-lang-swig|
|
||||||
70. lang#toml.................................|SpaceVim-layer-lang-toml|
|
70. lang#tcl...................................|SpaceVim-layer-lang-tcl|
|
||||||
71. lang#typescript.....................|SpaceVim-layer-lang-typescript|
|
71. lang#toml.................................|SpaceVim-layer-lang-toml|
|
||||||
72. lang#v.......................................|SpaceVim-layer-lang-v|
|
72. lang#typescript.....................|SpaceVim-layer-lang-typescript|
|
||||||
73. lang#vbnet...............................|SpaceVim-layer-lang-vbnet|
|
73. lang#v.......................................|SpaceVim-layer-lang-v|
|
||||||
74. lang#xml...................................|SpaceVim-layer-lang-xml|
|
74. lang#vbnet...............................|SpaceVim-layer-lang-vbnet|
|
||||||
75. lang#xquery.............................|SpaceVim-layer-lang-xquery|
|
75. lang#xml...................................|SpaceVim-layer-lang-xml|
|
||||||
76. language server protocol........................|SpaceVim-layer-lsp|
|
76. lang#xquery.............................|SpaceVim-layer-lang-xquery|
|
||||||
77. leaderf.....................................|SpaceVim-layer-leaderf|
|
77. language server protocol........................|SpaceVim-layer-lsp|
|
||||||
78. operator...................................|SpaceVim-layer-operator|
|
78. leaderf.....................................|SpaceVim-layer-leaderf|
|
||||||
79. shell.........................................|SpaceVim-layer-shell|
|
79. operator...................................|SpaceVim-layer-operator|
|
||||||
80. test...........................................|SpaceVim-layer-test|
|
80. shell.........................................|SpaceVim-layer-shell|
|
||||||
81. tmux...........................................|SpaceVim-layer-tmux|
|
81. test...........................................|SpaceVim-layer-test|
|
||||||
82. tools#dash...............................|SpaceVim-layer-tools-dash|
|
82. tmux...........................................|SpaceVim-layer-tmux|
|
||||||
83. tools#zeal...............................|SpaceVim-layer-tools-zeal|
|
83. tools#dash...............................|SpaceVim-layer-tools-dash|
|
||||||
|
84. tools#zeal...............................|SpaceVim-layer-tools-zeal|
|
||||||
7. Usage....................................................|SpaceVim-usage|
|
7. Usage....................................................|SpaceVim-usage|
|
||||||
1. custom_plugins........................|SpaceVim-usage-custom_plugins|
|
1. custom_plugins........................|SpaceVim-usage-custom_plugins|
|
||||||
2. tasks..........................................|SpaceVim-usage-tasks|
|
2. tasks..........................................|SpaceVim-usage-tasks|
|
||||||
@ -2664,6 +2665,35 @@ This layer also provides REPL support for racket, the key bindings are:
|
|||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#RACKET *SpaceVim-layer-lang-red*
|
||||||
|
|
||||||
|
This layer is for red development, disabled by default, to enable this layer,
|
||||||
|
add following snippet to your SpaceVim configuration file.
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = 'lang#red'
|
||||||
|
<
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
>
|
||||||
|
Mode Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
normal SPC l r run current file
|
||||||
|
<
|
||||||
|
|
||||||
|
This layer also provides REPL support for red, the key bindings are:
|
||||||
|
>
|
||||||
|
Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
SPC l s i Start a inferior REPL process
|
||||||
|
SPC l s b send whole buffer
|
||||||
|
SPC l s l send current line
|
||||||
|
SPC l s s send selection text
|
||||||
|
<
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
LANG#RING *SpaceVim-layer-lang-r*
|
LANG#RING *SpaceVim-layer-lang-r*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user