docs(lua): change *lua-foo* -> *vim.foo*

This commit is contained in:
Lewis Russell
2023-07-17 15:13:54 +01:00
parent 0ac3c4d631
commit c2d7c2826c
10 changed files with 44 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
---@meta
---@defgroup lua-builtin
---@defgroup vim.builtin
---
---@brief <pre>help
---vim.api.{func}({...}) *vim.api*

View File

@@ -1,8 +1,8 @@
--- @meta
--- @defgroup lua-json
--- @defgroup vim.json
---
--- @brief The \*vim.json\* module provides encoding and decoding of Lua objects to and
--- This module provides encoding and decoding of Lua objects to and
--- from JSON-encoded strings. Supports |vim.NIL| and |vim.empty_dict()|.
--- Decodes (or "unpacks") the JSON-encoded {str} to a Lua object.

View File

@@ -1,8 +1,8 @@
--- @meta
--- @defgroup lua-mpack
--- @defgroup vim.mpack
---
--- @brief The \*vim.mpack\* module provides encoding and decoding of Lua objects to and
--- This 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.

View File

@@ -1,6 +1,6 @@
--- @meta
--- @defgroup lua-regex
--- @defgroup vim.regex
---
--- @brief Vim regexes can be used directly from Lua. Currently they only allow
--- matching within a single line.

View File

@@ -1,4 +1,4 @@
---@defgroup lua-highlight
---@defgroup vim.highlight
---
---@brief
---Nvim includes a function for highlighting a selection on yank.

View File

@@ -1,6 +1,6 @@
---@defgroup lua-iter
---@defgroup vim.iter
---
--- @brief The \*vim.iter\* module provides a generic interface for working with
--- This module provides a generic interface for working with
--- iterables: tables, lists, iterator functions, pair()/ipair()-like iterators,
--- and \`vim.iter()\` objects.
---

View File

@@ -1,4 +1,4 @@
--- @defgroup lua-version
--- @defgroup vim.version
---
--- @brief The \`vim.version\` module provides functions for comparing versions and ranges
--- conforming to the https://semver.org spec. Plugins, and plugin managers, can use this to check