plugins.md: update link to the internal documentation (#2191)

godoc.org now redirects to pkg.go.dev and it's not obvious how to locate
the internal packages documentation at https://pkg.go.dev/github.com/zyedidia/micro
This commit is contained in:
Dmitry Maluka
2021-08-18 21:35:49 +02:00
committed by GitHub
parent 2eeeb0f2e4
commit 87ad6fc0bb

View File

@@ -293,10 +293,10 @@ returned by the functions have many methods. The Lua plugin may access any
public methods of an object returned by any of the functions above.
Unfortunately it is not possible to list all the available functions on this
page. Please go to the internal documentation at
https://godoc.org/github.com/zyedidia/micro to see the full list of available
methods. Note that only methods of types that are available to plugins via
the functions above can be called from a plugin. For an even more detailed
reference see the source code on Github.
https://pkg.go.dev/github.com/zyedidia/micro/v2/internal to see the full list
of available methods. Note that only methods of types that are available to
plugins via the functions above can be called from a plugin. For an even more
detailed reference see the source code on Github.
For example, with a BufPane object called `bp`, you could call the `Save`
function in Lua with `bp:Save()`.