Struct nvim::api::Api

source · []
pub struct Api<'lua> { /* private fields */ }
Expand description

vim.api.* Neovim doc

Implementations

Create an autocommand

The API allows for two (mutually exclusive) types of actions to be executed when the autocommand triggers: a callback function (Lua or Vimscript), or a command (like regular autocommands).

Neovim doc

Get all autocommands that match the corresponding opts.

Neovim doc

Find files in runtime direcories

Neovim doc

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Performs the conversion. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.