1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::prelude::*;
#[cfg(feature = "unstable")]
mod global;
#[cfg(feature = "unstable")]
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")
}