Function nvim_buf_get_lines

Source
pub fn nvim_buf_get_lines(
    lua: &Lua,
    buffer: u64,
    start: u64,
    end: u64,
    strict_indexing: bool,
) -> LuaResult<Vec<String>>
Available on crate feature vim only.
Expand description

Corresponds to vim.api.nvim_buf_get_lines