mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
docs(lua): move function docs to lua files
This commit is contained in:
13
runtime/lua/vim/_meta/mpack.lua
Normal file
13
runtime/lua/vim/_meta/mpack.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
--- @meta
|
||||
|
||||
--- @defgroup lua-mpack
|
||||
---
|
||||
--- @brief The \*vim.mpack\* module provides encoding and decoding of Lua objects to and
|
||||
--- from msgpack-encoded strings. Supports |vim.NIL| and |vim.empty_dict()|.
|
||||
|
||||
--- Decodes (or "unpacks") the msgpack-encoded {str} to a Lua object.
|
||||
--- @param str string
|
||||
function vim.mpack.decode(str) end
|
||||
|
||||
--- Encodes (or "packs") Lua object {obj} as msgpack in a Lua string.
|
||||
function vim.mpack.encode(obj) end
|
||||
Reference in New Issue
Block a user