From 803e64a6980b84bde6d12c2e52c8ad0e2de83439 Mon Sep 17 00:00:00 2001 From: Arith Xu Date: Fri, 29 Dec 2017 12:25:56 +0800 Subject: [PATCH 1/2] add doc for additional lua-specific mappings --- docs/layers/lang/lua.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/layers/lang/lua.md b/docs/layers/lang/lua.md index ab0c03a82..687179dd2 100644 --- a/docs/layers/lang/lua.md +++ b/docs/layers/lang/lua.md @@ -7,13 +7,13 @@ description: "This layer is for lua development, provide autocompletion, syntax -- [Description](#description) -- [Installation](#installation) - - [Layer](#layer) - - [Syntax checking && Code formatting](#syntax-checking--code-formatting) -- [Key bindings](#key-bindings) - - [Inferior REPL process](#inferior-repl-process) - - [Running current script](#running-current-script) +* [Description](#description) +* [Installation](#installation) + * [Layer](#layer) + * [Syntax checking && Code formatting](#syntax-checking--code-formatting) +* [Key bindings](#key-bindings) + * [Inferior REPL process](#inferior-repl-process) + * [Running current script](#running-current-script) @@ -47,6 +47,9 @@ Send code to inferior process commands: | Key Binding | Description | | ----------- | ------------------------------------------------ | +| `SPC l b` | compile current lua buffer | +| `SPC l r` | run current lua file | +| `SPC l f` | format current lua file | | `SPC l s b` | send buffer and keep code buffer focused | | `SPC l s l` | send line and keep code buffer focused | | `SPC l s s` | send selection text and keep code buffer focused | From ec66579e77763d9eff40de400b5e68f51672d29a Mon Sep 17 00:00:00 2001 From: Arith Xu Date: Fri, 29 Dec 2017 12:28:17 +0800 Subject: [PATCH 2/2] format fix --- docs/layers/lang/lua.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layers/lang/lua.md b/docs/layers/lang/lua.md index 687179dd2..7e3fe5e0e 100644 --- a/docs/layers/lang/lua.md +++ b/docs/layers/lang/lua.md @@ -49,7 +49,7 @@ Send code to inferior process commands: | ----------- | ------------------------------------------------ | | `SPC l b` | compile current lua buffer | | `SPC l r` | run current lua file | -| `SPC l f` | format current lua file | +| `SPC l f` | format current lua file | | `SPC l s b` | send buffer and keep code buffer focused | | `SPC l s l` | send line and keep code buffer focused | | `SPC l s s` | send selection text and keep code buffer focused |