4 releases

0.4.2 Jan 29, 2024
0.4.1 Dec 16, 2023
0.4.0 Dec 10, 2023
0.3.0 Apr 21, 2023

#213 in Text editors

Download history 3/week @ 2024-01-14 31/week @ 2024-01-28 2/week @ 2024-02-04 45/week @ 2024-02-18 65/week @ 2024-02-25 53/week @ 2024-03-03 205/week @ 2024-03-10 74/week @ 2024-03-17 18/week @ 2024-03-24 132/week @ 2024-03-31 87/week @ 2024-04-07 82/week @ 2024-04-14 86/week @ 2024-04-21 69/week @ 2024-04-28

338 downloads per month
Used in nvim-oxi

MIT license

455KB
12K SLoC

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

Naming convention

All the functions have been renamed by dropping the leading nvim_ prefix, e.g. nvim_get_current_buf simply becomes get_current_buf.

Also, the functions starting with nvim_buf_*, nvim_win_* and nvim_tabpage_* are implemented as methods on the Buffer, Window and TabPage objects respectively.

Dependencies

~0.5–1.1MB
~26K SLoC