neovim icon indicating copy to clipboard operation
neovim copied to clipboard

Go package for writing Neovim plugins (in Go!)

neovim

Build Status

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 brief README on how to implement your own Go plugin
  • neogo, a proof of concept Neovim plugin written against the neovim Go package to support Go development in Neovim. This uses a go/parser AST generated from the current buffer to highlight code using matchaddpos (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

Todo list

See the wiki