mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:50:06 +08:00
Add help for language layer (#3230)
This commit is contained in:
parent
04ba291924
commit
616dd261f9
@ -6,6 +6,33 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
|
""
|
||||||
|
" @section lang#batch, layer-lang-batch
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer is for batch development, disabled by default, to enable this
|
||||||
|
" layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = 'lang#batch'
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" @subsection Key bindings
|
||||||
|
" >
|
||||||
|
" Mode Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" normal SPC l r run current file
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" This layer also provides REPL support for batch, 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#batch#plugins() abort
|
function! SpaceVim#layers#lang#batch#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
|
@ -6,6 +6,23 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
|
""
|
||||||
|
" @section lang#chapel, layer-lang-chapel
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer is for chapel development, disabled by default, to enable this
|
||||||
|
" layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = 'lang#chapel'
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" @subsection Key bindings
|
||||||
|
" >
|
||||||
|
" Mode Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" normal SPC l r compile and run current file
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#chapel#plugins() abort
|
function! SpaceVim#layers#lang#chapel#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
|
@ -6,6 +6,34 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
|
""
|
||||||
|
" @section lang#coffeescript, layer-lang-coffeescript
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer is for coffeescript development, disabled by default, to enable this
|
||||||
|
" layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = 'lang#coffeescript'
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" @subsection Key bindings
|
||||||
|
" >
|
||||||
|
" Mode Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" normal SPC l r run current file
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" This layer also provides REPL support for coffeescript, 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
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
|
||||||
let s:SYS = SpaceVim#api#import('system')
|
let s:SYS = SpaceVim#api#import('system')
|
||||||
|
|
||||||
function! SpaceVim#layers#lang#coffeescript#plugins() abort
|
function! SpaceVim#layers#lang#coffeescript#plugins() abort
|
||||||
|
@ -6,6 +6,33 @@
|
|||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
|
""
|
||||||
|
" @section lang#j, layer-lang-j
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer is for j development, disabled by default, to enable this
|
||||||
|
" layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
" >
|
||||||
|
" [[layers]]
|
||||||
|
" name = 'lang#j'
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" @subsection Key bindings
|
||||||
|
" >
|
||||||
|
" Mode Key Function
|
||||||
|
" ---------------------------------------------
|
||||||
|
" normal SPC l r run current file
|
||||||
|
" <
|
||||||
|
"
|
||||||
|
" This layer also provides REPL support for j, 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#j#plugins() abort
|
function! SpaceVim#layers#lang#j#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
|
194
doc/SpaceVim.txt
194
doc/SpaceVim.txt
@ -82,48 +82,52 @@ CONTENTS *SpaceVim-contents*
|
|||||||
8. github........................................|SpaceVim-layer-github|
|
8. github........................................|SpaceVim-layer-github|
|
||||||
9. incsearch..................................|SpaceVim-layer-incsearch|
|
9. incsearch..................................|SpaceVim-layer-incsearch|
|
||||||
10. indentmove...............................|SpaceVim-layer-indentmove|
|
10. indentmove...............................|SpaceVim-layer-indentmove|
|
||||||
11. lang#c.......................................|SpaceVim-layer-lang-c|
|
11. lang#batch...............................|SpaceVim-layer-lang-batch|
|
||||||
12. lang#crystal...........................|SpaceVim-layer-lang-crystal|
|
12. lang#c.......................................|SpaceVim-layer-lang-c|
|
||||||
13. lang#csharp.............................|SpaceVim-layer-lang-csharp|
|
13. lang#chapel.............................|SpaceVim-layer-lang-chapel|
|
||||||
14. lang#d.......................................|SpaceVim-layer-lang-d|
|
14. lang#coffeescript.................|SpaceVim-layer-lang-coffeescript|
|
||||||
15. lang#dart.................................|SpaceVim-layer-lang-dart|
|
15. lang#crystal...........................|SpaceVim-layer-lang-crystal|
|
||||||
16. lang#elixir.............................|SpaceVim-layer-lang-elixir|
|
16. lang#csharp.............................|SpaceVim-layer-lang-csharp|
|
||||||
17. lang#elm...................................|SpaceVim-layer-lang-elm|
|
17. lang#d.......................................|SpaceVim-layer-lang-d|
|
||||||
18. lang#erlang.............................|SpaceVim-layer-lang-erlang|
|
18. lang#dart.................................|SpaceVim-layer-lang-dart|
|
||||||
19. lang#fsharp.............................|SpaceVim-layer-lang-fsharp|
|
19. lang#elixir.............................|SpaceVim-layer-lang-elixir|
|
||||||
20. lang#go.....................................|SpaceVim-layer-lang-go|
|
20. lang#elm...................................|SpaceVim-layer-lang-elm|
|
||||||
21. lang#goby.................................|SpaceVim-layer-lang-goby|
|
21. lang#erlang.............................|SpaceVim-layer-lang-erlang|
|
||||||
22. lang#gosu.................................|SpaceVim-layer-lang-gosu|
|
22. lang#fsharp.............................|SpaceVim-layer-lang-fsharp|
|
||||||
23. lang#groovy.............................|SpaceVim-layer-lang-groovy|
|
23. lang#go.....................................|SpaceVim-layer-lang-go|
|
||||||
24. lang#hack.................................|SpaceVim-layer-lang-hack|
|
24. lang#goby.................................|SpaceVim-layer-lang-goby|
|
||||||
25. lang#haskell...........................|SpaceVim-layer-lang-haskell|
|
25. lang#gosu.................................|SpaceVim-layer-lang-gosu|
|
||||||
26. lang#hy.....................................|SpaceVim-layer-lang-hy|
|
26. lang#groovy.............................|SpaceVim-layer-lang-groovy|
|
||||||
27. lang#java.................................|SpaceVim-layer-lang-java|
|
27. lang#hack.................................|SpaceVim-layer-lang-hack|
|
||||||
28. lang#julia...............................|SpaceVim-layer-lang-julia|
|
28. lang#haskell...........................|SpaceVim-layer-lang-haskell|
|
||||||
29. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
|
29. lang#hy.....................................|SpaceVim-layer-lang-hy|
|
||||||
30. lang#livescript.....................|SpaceVim-layer-lang-livescript|
|
30. lang#j.......................................|SpaceVim-layer-lang-j|
|
||||||
31. lang#lua...................................|SpaceVim-layer-lang-lua|
|
31. lang#java.................................|SpaceVim-layer-lang-java|
|
||||||
32. lang#nim...................................|SpaceVim-layer-lang-nim|
|
32. lang#julia...............................|SpaceVim-layer-lang-julia|
|
||||||
33. lang#nix...................................|SpaceVim-layer-lang-nix|
|
33. lang#kotlin.............................|SpaceVim-layer-lang-kotlin|
|
||||||
34. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
34. lang#livescript.....................|SpaceVim-layer-lang-livescript|
|
||||||
35. lang#pact.................................|SpaceVim-layer-lang-pact|
|
35. lang#lua...................................|SpaceVim-layer-lang-lua|
|
||||||
36. lang#php...................................|SpaceVim-layer-lang-php|
|
36. lang#nim...................................|SpaceVim-layer-lang-nim|
|
||||||
37. lang#pony.................................|SpaceVim-layer-lang-pony|
|
37. lang#nix...................................|SpaceVim-layer-lang-nix|
|
||||||
38. lang#processing.....................|SpaceVim-layer-lang-processing|
|
38. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
||||||
39. lang#prolog.............................|SpaceVim-layer-lang-prolog|
|
39. lang#pact.................................|SpaceVim-layer-lang-pact|
|
||||||
40. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
40. lang#php...................................|SpaceVim-layer-lang-php|
|
||||||
41. lang#python.............................|SpaceVim-layer-lang-python|
|
41. lang#pony.................................|SpaceVim-layer-lang-pony|
|
||||||
42. lang#racket.............................|SpaceVim-layer-lang-racket|
|
42. lang#processing.....................|SpaceVim-layer-lang-processing|
|
||||||
43. lang#rust.................................|SpaceVim-layer-lang-rust|
|
43. lang#prolog.............................|SpaceVim-layer-lang-prolog|
|
||||||
44. lang#scala...............................|SpaceVim-layer-lang-scala|
|
44. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
||||||
45. lang#tcl...................................|SpaceVim-layer-lang-tcl|
|
45. lang#python.............................|SpaceVim-layer-lang-python|
|
||||||
46. lang#xml...................................|SpaceVim-layer-lang-xml|
|
46. lang#racket.............................|SpaceVim-layer-lang-racket|
|
||||||
47. operator...................................|SpaceVim-layer-operator|
|
47. lang#rust.................................|SpaceVim-layer-lang-rust|
|
||||||
48. shell.........................................|SpaceVim-layer-shell|
|
48. lang#scala...............................|SpaceVim-layer-lang-scala|
|
||||||
49. test...........................................|SpaceVim-layer-test|
|
49. lang#tcl...................................|SpaceVim-layer-lang-tcl|
|
||||||
50. tmux...........................................|SpaceVim-layer-tmux|
|
50. lang#xml...................................|SpaceVim-layer-lang-xml|
|
||||||
51. tools#dash...............................|SpaceVim-layer-tools-dash|
|
51. operator...................................|SpaceVim-layer-operator|
|
||||||
52. tools#zeal...............................|SpaceVim-layer-tools-zeal|
|
52. shell.........................................|SpaceVim-layer-shell|
|
||||||
|
53. test...........................................|SpaceVim-layer-test|
|
||||||
|
54. tmux...........................................|SpaceVim-layer-tmux|
|
||||||
|
55. tools#dash...............................|SpaceVim-layer-tools-dash|
|
||||||
|
56. tools#zeal...............................|SpaceVim-layer-tools-zeal|
|
||||||
7. API........................................................|SpaceVim-api|
|
7. API........................................................|SpaceVim-api|
|
||||||
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu|
|
||||||
2. data#dict....................................|SpaceVim-api-data-dict|
|
2. data#dict....................................|SpaceVim-api-data-dict|
|
||||||
@ -1360,6 +1364,35 @@ MAPPINGS
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#BATCH *SpaceVim-layer-lang-batch*
|
||||||
|
|
||||||
|
This layer is for batch development, disabled by default, to enable this
|
||||||
|
layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = 'lang#batch'
|
||||||
|
<
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
>
|
||||||
|
Mode Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
normal SPC l r run current file
|
||||||
|
<
|
||||||
|
|
||||||
|
This layer also provides REPL support for batch, 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#C *SpaceVim-layer-lang-c*
|
LANG#C *SpaceVim-layer-lang-c*
|
||||||
|
|
||||||
@ -1399,6 +1432,54 @@ Configuration for `tweekmonster/deoplete-clang2`:
|
|||||||
50, setting it to 0 disables this feature.
|
50, setting it to 0 disables this feature.
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#CHAPEL *SpaceVim-layer-lang-chapel*
|
||||||
|
|
||||||
|
This layer is for chapel development, disabled by default, to enable this
|
||||||
|
layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = 'lang#chapel'
|
||||||
|
<
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
>
|
||||||
|
Mode Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
normal SPC l r compile and run current file
|
||||||
|
<
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#COFFEESCRIPT *SpaceVim-layer-lang-coffeescript*
|
||||||
|
|
||||||
|
This layer is for coffeescript development, disabled by default, to enable
|
||||||
|
this layer, add following snippet to your SpaceVim configuration file.
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = 'lang#coffeescript'
|
||||||
|
<
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
>
|
||||||
|
Mode Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
normal SPC l r run current file
|
||||||
|
<
|
||||||
|
|
||||||
|
This layer also provides REPL support for coffeescript, 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#CRYSTAL *SpaceVim-layer-lang-crystal*
|
LANG#CRYSTAL *SpaceVim-layer-lang-crystal*
|
||||||
|
|
||||||
@ -1754,6 +1835,35 @@ This layer also provides REPL support for hy, the key bindings are:
|
|||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
LANG#J *SpaceVim-layer-lang-j*
|
||||||
|
|
||||||
|
This layer is for j development, disabled by default, to enable this layer,
|
||||||
|
add following snippet to your SpaceVim configuration file.
|
||||||
|
>
|
||||||
|
[[layers]]
|
||||||
|
name = 'lang#j'
|
||||||
|
<
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
>
|
||||||
|
Mode Key Function
|
||||||
|
---------------------------------------------
|
||||||
|
normal SPC l r run current file
|
||||||
|
<
|
||||||
|
|
||||||
|
This layer also provides REPL support for j, 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#JAVA *SpaceVim-layer-lang-java*
|
LANG#JAVA *SpaceVim-layer-lang-java*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user