Neovim API Documentation

Introduction to Neovim API

The Neovim API provides a powerful way to interact with Neovim, allowing you to extend its functionality through plugins and external scripts.

Using the Neovim API

To use the Neovim API, you can connect to Neovim using its RPC interface. Here's an example in Lua:

-- Example Lua code to interact with Neovim API local nvim = require('nvim') nvim.nvim_set_current_line('Hello, Neovim!')