summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-18 17:12:53 +0800
committersumneko <sumneko@hotmail.com>2019-05-18 17:12:53 +0800
commitdb3909dcb6003254516aac9b34919e87da9ea618 (patch)
tree30982eff63526e37b47c44bf63965b3a6cfabfe1 /server/libs
parenta8cda2ab6ba4b63fee5bf1791dd9a97842a6683e (diff)
downloadlua-language-server-db3909dcb6003254516aac9b34919e87da9ea618.zip
更新API
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/@lua/math.lni2
-rw-r--r--server/libs/@lua/os.lni2
2 files changed, 3 insertions, 1 deletions
diff --git a/server/libs/@lua/math.lni b/server/libs/@lua/math.lni
index 2e20ff79..52a03d6b 100644
--- a/server/libs/@lua/math.lni
+++ b/server/libs/@lua/math.lni
@@ -192,6 +192,7 @@ type = '...'
type = 'number'
[maxinteger]
+version = {'Lua 5.3', 'Lua 5.4'}
type = 'integer'
[min]
@@ -204,6 +205,7 @@ type = '...'
type = 'number'
[mininteger]
+version = {'Lua 5.3', 'Lua 5.4'}
type = 'integer'
[modf]
diff --git a/server/libs/@lua/os.lni b/server/libs/@lua/os.lni
index 8486075f..f986a826 100644
--- a/server/libs/@lua/os.lni
+++ b/server/libs/@lua/os.lni
@@ -23,7 +23,7 @@ parent = {
[[.returns]]
type = 'number'
-[data]
+[date]
[[.args]]
name = 'format'
type = 'string'