From ee5ac6a582b0b452be0a550463f744deeaed5bbb Mon Sep 17 00:00:00 2001 From: Wayne Ashley Berry Date: Tue, 30 Aug 2016 09:35:21 +0200 Subject: [PATCH 1/3] Update options.md Fixes json syntax and adds syntax highlighting. --- runtime/help/options.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/help/options.md b/runtime/help/options.md index de3d5e96..bf94bfee 100644 --- a/runtime/help/options.md +++ b/runtime/help/options.md @@ -123,16 +123,16 @@ In the `settings.json` file you can also put set options locally by specifying a Here is an example which has `tabstospaces` on for all files except Go files, and `tabsize` 4 for all files except Ruby files: -``` +```json { "*.go": { "tabstospaces": false }, "*.rb": { "tabsize": 2 - } + }, "tabstospaces": true, - "tabsize": 4, + "tabsize": 4 } ``` From ddc237872c5dbea71e7fb1c2f5d930b279cbb344 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Tue, 30 Aug 2016 10:07:28 +0200 Subject: [PATCH 2/3] Update tutorial.md small typo --- runtime/help/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/help/tutorial.md b/runtime/help/tutorial.md index 8667f0f0..538d1e6f 100644 --- a/runtime/help/tutorial.md +++ b/runtime/help/tutorial.md @@ -74,7 +74,7 @@ I'll show you how to use the `init.lua` file by giving an example of how to create a binding to `CtrlR` which will execute `go run` on the current file, given that the current file is a Go file. -You can do that by puttint the following in `init.lua`: +You can do that by putting the following in `init.lua`: ```lua function gorun() From 3e428ff505d15060f8e43df0dafe8af3f52496a0 Mon Sep 17 00:00:00 2001 From: Jean-Francois Chevrette Date: Tue, 30 Aug 2016 09:38:49 -0400 Subject: [PATCH 3/3] Fix typo in tutorial.md small typo --- runtime/help/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/help/tutorial.md b/runtime/help/tutorial.md index 8667f0f0..baf536b9 100644 --- a/runtime/help/tutorial.md +++ b/runtime/help/tutorial.md @@ -68,7 +68,7 @@ what actions are available, see the `keybindings` help topic (`> help keybinding If you need more power than the json files provide, you can use the `init.lua` file. Create it in `~/.config/micro`. This file is a lua file that is run -when micro starts and is essential a one-file plugin. +when micro starts and is essentially a one-file plugin. I'll show you how to use the `init.lua` file by giving an example of how to create a binding to `CtrlR` which will execute `go run` on the current file,