An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/myitcv/neovim

Package neovim implements support for writing Neovim plugins in Go. Communication with Neovim is via MSGPACK: https://github.com/msgpack/msgpack/blob/master/spec.md All Neovim API methods are supported. In addition there is support for handling synchronous method calls or asynchronous notifications from Neovim by registering handlers in your plugin. See the MSGPACK RPC spec for further details on these two types of callback: https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md Via a plugin manifest (details to follow) your plugin can bind these handlers to either Autocmds, Functions or Commands in Neovim. This project is still in alpha. For a complete example, see the example.Example plugin http://godoc.org/github.com/myitcv/neovim/example Plugins implement the Plugin interface. Plugins are initialised with a Client that is passed to a plugin via the Init method they implement. The Client is used to communicate with a Neovim instance. A single Client may safely be used by multiple goroutines. Calls to API methods are blocking by design. There are currently no checks to verify a connected Neovim instance exposes the same API against which the neovim package was generated. This is future work (and probably needs some work on the Neovim side). The tool for generating the API The Neovim Go plugin manager The code generator used by plugin writers Errors returned by this package are created using errors at http://godoc.org/github.com/juju/errors. Hence errors may be inspected using functions like errors.Details for example:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/myitcv/neovim
License: MIT
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/myitcv
Stars: 84 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

    Loading...
    Readme
    Loading...