Expand description

Rust bindings to all things Neovim

The nvim-oxi crate provides first-class Rust bindings to the rich API exposed by the Neovim terminal text editor.

The project is mostly intended for plugin authors, although nothing’s stopping end users from writing their Neovim configs in Rust.

Modules

This module contains the bindings to the Neovim API, exposed in Lua through the vim.api table.

Handles the conversion between Rust types and Neovim Objects.

Contains all the *Opts structs passed to functions as optional arguments.

Contains the Rust type definitions of objects given to and returned by Neovim functions.

Macros

Binding to the global Lua print function. It uses the same syntax as Rust’s format! macro and redirects its output to the Neovim message area.

Structs

Handle to a Lua function either created from Rust or deserialized from Lua.

Represents any type of Neovim object.

A particular string type used internally by Neovim.

Enums

Error returned by nvim-oxi functions.

Traits

Trait implemented for types that can be obtained from Objects.

Trait implemented for types that can be converted into Objects.

Functions

Binding to vim.schedule.

Type Definitions

An array of Neovim Objects.

A mapping from Neovim Strings to Objects.

Alias for a Result with error type nvim_oxi::Error.

Attribute Macros

Marks the plugin entrypoint.

testtest