aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/regex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/_meta/regex.lua')
-rw-r--r--runtime/lua/vim/_meta/regex.lua4
1 files changed, 3 insertions, 1 deletions
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