Crate nvim_rs

source ·
Expand description

§Rust library for Neovim clients

Implements support for rust plugins for Neovim through its msgpack-rpc API.

§Origins

This library started as a fork of neovim-lib with the goal to utilize Rust’s async/await to allow requests/notification to/from neovim to be arbitrarily nested. After the fork, I started implementing more ideas I had for this library.

§Status

As of the end of 2019, I’m somewhat confident to recommend starting to use this library. The overall handling should not change anymore. A breaking change I kind of expect is adding error variants to CallError when I start working on the API (right now, it panics when messages don’t have the right format, I’ll want to return proper errors in that case).

I’ve not yet worked through the details of what-to-export, but I’m quite willing to consider what people need or want.

Re-exports§

Modules§

Macros§

Enums§

  • Represents any valid MessagePack value.