summaryrefslogtreecommitdiff
path: root/server/libs/lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-03 16:06:21 +0800
committersumneko <sumneko@hotmail.com>2019-04-03 16:06:21 +0800
commit98abeeeb92d7437e328004de9335bc2b96d8dbbd (patch)
tree27a5758952735c3a3ed5ff7036ddbeeb63a0768b /server/libs/lua
parent76c979bd235e24e111a09608e8705f9cc81f1af0 (diff)
downloadlua-language-server-98abeeeb92d7437e328004de9335bc2b96d8dbbd.zip
切换版本重载函数库,全局变量,全局管理等
Diffstat (limited to 'server/libs/lua')
-rw-r--r--server/libs/lua/basic.lni24
1 files changed, 22 insertions, 2 deletions
diff --git a/server/libs/lua/basic.lni b/server/libs/lua/basic.lni
index de0ed4be..a66b703c 100644
--- a/server/libs/lua/basic.lni
+++ b/server/libs/lua/basic.lni
@@ -352,9 +352,29 @@ enum = 'thread'
name = 'type'
enum = 'userdata'
-[_VERSION]
+["_VERSION Lua 5.1"]
+name = '_VERSION'
type = 'string'
-value = 'Lua5.3'
+value = 'Lua 5.1'
+version = 'Lua 5.1'
+
+["_VERSION Lua 5.2"]
+name = '_VERSION'
+type = 'string'
+value = 'Lua 5.2'
+version = 'Lua 5.2'
+
+["_VERSION Lua 5.3"]
+name = '_VERSION'
+type = 'string'
+value = 'Lua 5.3'
+version = 'Lua 5.3'
+
+["_VERSION Lua 5.4"]
+name = '_VERSION'
+type = 'string'
+value = 'Lua 5.4'
+version = 'Lua 5.4'
[xpcall]
[[.args]]