summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 11:21:52 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 11:21:52 +0800
commit41aec953bfa0f584ceb8de7c2f6203cb2075a215 (patch)
tree1148d9f97833966f855118f3895aa73f4b11deba /server/libs
parentb9ef666714e03e2108f4b1f8c245e721dc4fb2fb (diff)
downloadlua-language-server-41aec953bfa0f584ceb8de7c2f6203cb2075a215.zip
实现 module 与 package.seeall
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/lua/basic.lni1
-rw-r--r--server/libs/lua/package.lni7
2 files changed, 8 insertions, 0 deletions
diff --git a/server/libs/lua/basic.lni b/server/libs/lua/basic.lni
index a1463c00..9f6c2d75 100644
--- a/server/libs/lua/basic.lni
+++ b/server/libs/lua/basic.lni
@@ -294,6 +294,7 @@ type = 'string'
[module]
version = 'Lua 5.1'
+special = 'module'
[[.args]]
name = name
type = string
diff --git a/server/libs/lua/package.lni b/server/libs/lua/package.lni
index 85234fab..43ae7344 100644
--- a/server/libs/lua/package.lni
+++ b/server/libs/lua/package.lni
@@ -67,3 +67,10 @@ default = '.'
name = 'rep'
type = 'string'
optional = 'self'
+
+[seeall]
+version = 'Lua 5.1'
+special = seeall
+[[.args]]
+name = module
+type = table