robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
65b40e69ac
master
1--- @meta 2-- This file is NOT generated, edit it directly. 3error ( 'Cannot require a meta file' ) 4 5-- luacheck: no unused args 6 7---@nodoc 8vim . mpack ={} 9 10--- @brief 11--- 12--- This module provides encoding and decoding of Lua objects to and 13--- from msgpack-encoded strings. Supports |vim.NIL| and |vim.empty_dict()|. 14 15--- Decodes (or "unpacks") the msgpack-encoded {str} to a Lua object. 16--- @param str string 17--- @return any 18function vim . mpack . decode ( str ) end 19 20--- Encodes (or "packs") Lua object {obj} as msgpack in a Lua string. 21--- @param obj any 22--- @return string 23function vim . mpack . encode ( obj ) end