summaryrefslogtreecommitdiff
path: root/meta/template/package.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-18 17:06:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-18 17:06:34 +0800
commitab27e9a9d62b00a779712fbb7bddd9f2910707a2 (patch)
treedc82a7a1bc252d82748e413b5f8b4243d7bcd085 /meta/template/package.lua
parent8b060037c9fd5961f8de6b9da674d5a29a77334e (diff)
downloadlua-language-server-ab27e9a9d62b00a779712fbb7bddd9f2910707a2.zip
可选参数尽量写在变量名后面,与其他语言保持一致
Diffstat (limited to 'meta/template/package.lua')
-rw-r--r--meta/template/package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/package.lua b/meta/template/package.lua
index b87b6410..bd5b0350 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -23,8 +23,8 @@ function package.loadlib(libname, funcname) end
---@param name string
---@param path string
----@param sep string?
----@param rep string?
+---@param sep? string
+---@param rep? string
---@return string filename?
---@return string errmsg?
function package.searchpath(name, path, sep, rep) end