nvim_utils/vim/api/
mod.rs

1use crate::prelude::*;
2
3mod global;
4pub use global::*;
5
6mod buffer;
7pub use buffer::*;
8
9mod window;
10pub use window::*;
11
12/// Gets the `vim.api` table
13pub fn get(lua: &Lua) -> LuaResult<LuaTable> {
14    vim::get(lua)?.get::<_, LuaTable>("api")
15}