nvim_runtime_lua

vim._core.stringbuffer

Basic shim for LuaJIT's stringbuffer. Note this does not implement the full API. This is intentionally internal-only. If we want to expose it, we should reimplement this a userdata and ship it as string.buffer (minus the FFI stuff) for Lua 5.1.

Methods3

function M.len(buf: vim._core.stringbuffer) -> integer
function M.new() -> vim._core.stringbuffer
function M.len(buf: vim._core.stringbuffer) -> integer

Fields1

M.new : any