1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::prelude::*;

mod global;
pub use global::*;

mod buffer;
pub use buffer::*;

mod window;
pub use window::*;

/// Gets the `vim.api` table
pub fn get(lua: &Lua) -> LuaResult<LuaTable> {
    vim::get(lua)?.get::<_, LuaTable>("api")
}