aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-07-17 16:32:56 +0100
committerLewis Russell <lewis6991@gmail.com>2023-07-17 16:32:56 +0100
commit69d49727d7766d799aa1989bf67e763258b868e6 (patch)
tree7ae25f0020d184cb80ba1f55874c8e4d57e6adec /runtime/lua/vim/_meta
parente6e0bc225b14f135e2270f3bacd5fb8ebf7e3792 (diff)
downloadrneovim-69d49727d7766d799aa1989bf67e763258b868e6.tar.gz
rneovim-69d49727d7766d799aa1989bf67e763258b868e6.tar.bz2
rneovim-69d49727d7766d799aa1989bf67e763258b868e6.zip
fix: luacheck
Diffstat (limited to 'runtime/lua/vim/_meta')
-rw-r--r--runtime/lua/vim/_meta/builtin.lua2
-rw-r--r--runtime/lua/vim/_meta/diff.lua2
-rw-r--r--runtime/lua/vim/_meta/json.lua2
-rw-r--r--runtime/lua/vim/_meta/misc.lua2
-rw-r--r--runtime/lua/vim/_meta/mpack.lua2
-rw-r--r--runtime/lua/vim/_meta/regex.lua4
-rw-r--r--runtime/lua/vim/_meta/spell.lua2
7 files changed, 15 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/builtin.lua b/runtime/lua/vim/_meta/builtin.lua
index a1786b2cdb..1d7b1071b7 100644
--- a/runtime/lua/vim/_meta/builtin.lua
+++ b/runtime/lua/vim/_meta/builtin.lua
@@ -1,5 +1,7 @@
---@meta
+-- luacheck: no unused args
+
---@defgroup vim.builtin
---
---@brief <pre>help
diff --git a/runtime/lua/vim/_meta/diff.lua b/runtime/lua/vim/_meta/diff.lua
index 8e8aaf8b64..246ac0c75a 100644
--- a/runtime/lua/vim/_meta/diff.lua
+++ b/runtime/lua/vim/_meta/diff.lua
@@ -1,5 +1,7 @@
---@meta
+-- luacheck: no unused args
+
--- Run diff on strings {a} and {b}. Any indices returned by this function,
--- either directly or via callback arguments, are 1-based.
---
diff --git a/runtime/lua/vim/_meta/json.lua b/runtime/lua/vim/_meta/json.lua
index 2580b56870..76a6c7b733 100644
--- a/runtime/lua/vim/_meta/json.lua
+++ b/runtime/lua/vim/_meta/json.lua
@@ -1,5 +1,7 @@
--- @meta
+-- luacheck: no unused args
+
--- @defgroup vim.json
---
--- This module provides encoding and decoding of Lua objects to and
diff --git a/runtime/lua/vim/_meta/misc.lua b/runtime/lua/vim/_meta/misc.lua
index 954e8b4675..8a76755962 100644
--- a/runtime/lua/vim/_meta/misc.lua
+++ b/runtime/lua/vim/_meta/misc.lua
@@ -1,5 +1,7 @@
---@meta
+-- luacheck: no unused args
+
--- Invokes |vim-function| or |user-function| {func} with arguments {...}.
--- See also |vim.fn|.
--- Equivalent to:
diff --git a/runtime/lua/vim/_meta/mpack.lua b/runtime/lua/vim/_meta/mpack.lua
index 1bcb6845b9..54e097ad97 100644
--- a/runtime/lua/vim/_meta/mpack.lua
+++ b/runtime/lua/vim/_meta/mpack.lua
@@ -1,5 +1,7 @@
--- @meta
+-- luacheck: no unused args
+
--- @defgroup vim.mpack
---
--- This module provides encoding and decoding of Lua objects to and
diff --git a/runtime/lua/vim/_meta/regex.lua b/runtime/lua/vim/_meta/regex.lua
index 0af1bccea5..4bca67797a 100644
--- a/runtime/lua/vim/_meta/regex.lua
+++ b/runtime/lua/vim/_meta/regex.lua
@@ -1,5 +1,7 @@
--- @meta
+-- luacheck: no unused args
+
--- @defgroup vim.regex
---
--- @brief Vim regexes can be used directly from Lua. Currently they only allow
@@ -13,7 +15,7 @@
function vim.regex(re) end
--- @class vim.regex
-local regex = {}
+local regex = {} -- luacheck: no unused
--- Match the string against the regex. If the string should match the regex
--- precisely, surround the regex with `^` and `$`. If the was a match, the
diff --git a/runtime/lua/vim/_meta/spell.lua b/runtime/lua/vim/_meta/spell.lua
index 926c8a686d..d55867f769 100644
--- a/runtime/lua/vim/_meta/spell.lua
+++ b/runtime/lua/vim/_meta/spell.lua
@@ -1,5 +1,7 @@
--- @meta
+-- luacheck: no unused args
+
--- Check {str} for spelling errors. Similar to the Vimscript function
--- |spellbadword()|.
---