summaryrefslogtreecommitdiff
path: root/meta/template/package.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-18 12:17:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-18 12:17:58 +0800
commitdca229298e345d0ba6e2b4294789f7c1cb0c75bb (patch)
tree63f21e0a050b10ccb45a97907e117c71943cd3b6 /meta/template/package.lua
parentc7aa0be27e20341c1faa39d34898cbfbd1131a1b (diff)
downloadlua-language-server-dca229298e345d0ba6e2b4294789f7c1cb0c75bb.zip
文档模板
Diffstat (limited to 'meta/template/package.lua')
-rw-r--r--meta/template/package.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/template/package.lua b/meta/template/package.lua
index db9ec830..b87b6410 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -1,5 +1,11 @@
---@meta
+---#DES 'require'
+---@param modname string
+---@return any
+---@return any loaderdata
+function require(modname) end
+
---@class package*
---@field conifg string
---@field cpath string