neovim
neovim copied to clipboard
Go package for writing Neovim plugins (in Go!)
neovim
Go package for writing Neovim plugins
go get github.com/myitcv/neovim
This package is very much in alpha. Therefore, expect changes to this API. Stuff will break.
Writing plugins
See:
- the
Example
plugin for a briefREADME
on how to implement your own Go plugin -
neogo
, a proof of concept Neovim plugin written against theneovim
Go package to support Go development in Neovim. This uses ago/parser
AST generated from the current buffer to highlight code usingmatchaddpos
(as opposed to Neovim's default regex-based syntax definitions)
As explained in the TODO, many of the steps required to create a plugin are not currently automated, but very much on the roadmap.
Supported platforms
At the time of writing this package has only been written for/tested against Linux.
Support welcomed on other platforms
Tests
go test ./...
Credit
- The entire Neovim team for their work
- @tarruda for leading the way with his python-client
-
@philhofer et al for the excellent
msgp
Todo list
See the wiki