Update plugin documentation

This commit is contained in:
Zachary Yedidia
2020-06-24 17:24:45 -04:00
parent 5f62f550f3
commit 60846f549c
2 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -359,6 +359,14 @@ library documentation at https://golang.org/pkg/ (for the packages
exposed to micro plugins). The Lua standard library is also available
to plugins though it is rather small.
The following functions are also available from the go-humanize package:
The `humanize` package exposes:
* `Bytes`
* `Ordinal`
* `Ftoa`
* `FtoaWithDigits`
## Adding help files, syntax files, or colorschemes in your plugin
You can use the `AddRuntimeFile(name string, type config.RTFiletype,