summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-02 18:34:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-02 18:34:23 +0800
commite98b56ffbcb49b465abd2ba1eddfc73ce8f2a3c5 (patch)
tree93f588c09ac90c7f594ddd7f45d51cfe3971a793
parent5fb08df5d27425ce1c0858d34c2ec62ddd567b38 (diff)
downloadlua-language-server-e98b56ffbcb49b465abd2ba1eddfc73ce8f2a3c5.zip
fix template
-rw-r--r--meta/template/string.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/template/string.lua b/meta/template/string.lua
index c5fe6ab6..e23b0803 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -100,7 +100,7 @@ function string.match(s, pattern, init) end
---#DES 'string.pack'
---@param fmt string
---@param v1 string|number
----@param v2 string|number
+---@param v2? string|number
---@param ... string|number
---@return string binary
---@nodiscard