mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
Update plugin documentation
This commit is contained in:
parent
5f62f550f3
commit
60846f549c
2 changed files with 10 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue