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 } ``` diff --git a/runtime/help/tutorial.md b/runtime/help/tutorial.md index 8667f0f0..93e90f5c 100644 --- a/runtime/help/tutorial.md +++ b/runtime/help/tutorial.md @@ -68,13 +68,13 @@ 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, 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()