Fix repo.json info in plugin docs (#2313)

This commit is contained in:
Reilly Wood
2021-12-31 02:06:53 -05:00
committed by GitHub
parent cc0af275c1
commit 580c32bcef

View File

@@ -3,9 +3,9 @@
Micro supports creating plugins with a simple Lua system. Plugins are
folders containing Lua files and possibly other source files placed
in `~/.config/micro/plug`. The plugin directory (within `plug`) should
contain at least one Lua file and an `info.json` file. The info file
contain at least one Lua file and a `repo.json` file. The `repo.json` file
provides additional information such as the name of the plugin, the
plugin's website, dependencies, etc... Here is an example info file
plugin's website, dependencies, etc... [Here is an example `repo.json` file](https://github.com/micro-editor/updated-plugins/blob/master/go-plugin/repo.json)
from the go plugin, which has the following file structure:
```
@@ -17,7 +17,7 @@ from the go plugin, which has the following file structure:
```
The `go.lua` file contains the main code for the plugin, though the
code may be distributed across multiple Lua files. The `info.json`
code may be distributed across multiple Lua files. The `repo.json`
file contains information about the plugin such as the website,
description, version, and any requirements. Plugins may also
have additional files which can be added to micro's runtime files,