summaryrefslogtreecommitdiff
path: root/server/libs/lua53
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-31 12:46:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-31 12:46:05 +0800
commit92e4da8c7cec41b0595c59ac91345a812d902975 (patch)
tree84a64dda769b723c694107afd4a3b95b57936978 /server/libs/lua53
parentdac81ea089eb6970c81859ff2a0bb233f3eb159f (diff)
downloadlua-language-server-92e4da8c7cec41b0595c59ac91345a812d902975.zip
更新lni
Diffstat (limited to 'server/libs/lua53')
-rw-r--r--server/libs/lua53/basic.lni102
-rw-r--r--server/libs/lua53/coroutine.lni20
-rw-r--r--server/libs/lua53/debug.lni68
-rw-r--r--server/libs/lua53/file.lni50
-rw-r--r--server/libs/lua53/io.lni52
-rw-r--r--server/libs/lua53/math.lni24
-rw-r--r--server/libs/lua53/os.lni34
-rw-r--r--server/libs/lua53/package.lni12
-rw-r--r--server/libs/lua53/string.lni64
-rw-r--r--server/libs/lua53/table.lni30
-rw-r--r--server/libs/lua53/utf8.lni22
11 files changed, 239 insertions, 239 deletions
diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni
index 929a8ea4..de0ed4be 100644
--- a/server/libs/lua53/basic.lni
+++ b/server/libs/lua53/basic.lni
@@ -7,7 +7,7 @@ type = 'table'
[assert]
[[.args]]
name = 'v'
-[[.args]]
+``````````
name = 'message'
[[.returns]]
@@ -16,7 +16,7 @@ name = 'message'
name = 'opt'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'arg'
type = 'integer'
optional = 'self'
@@ -25,25 +25,25 @@ optional = 'self'
name = 'opt'
enum = 'collect'
default = true
-[[.enums]]
+``````````
name = 'opt'
enum = 'stop'
-[[.enums]]
+``````````
name = 'opt'
enum = 'restart'
-[[.enums]]
+``````````
name = 'opt'
enum = 'count'
-[[.enums]]
+``````````
name = 'opt'
enum = 'step'
-[[.enums]]
+``````````
name = 'opt'
enum = 'setpause'
-[[.enums]]
+``````````
name = 'opt'
enum = 'setstepmul'
-[[.enums]]
+``````````
name = 'opt'
enum = 'isrunning'
@@ -58,7 +58,7 @@ optional = 'self'
[error]
[[.args]]
name = 'message'
-[[.args]]
+``````````
name = 'level'
type = 'integer'
optional = 'self'
@@ -99,10 +99,10 @@ returns = {
name = 'object',
},
}
-[[.returns]]
+``````````
name = 't'
type = 'table'
-[[.returns]]
+``````````
name = 'i'
type = 'integer'
default = 0
@@ -111,15 +111,15 @@ default = 0
[[.args]]
name = 'chunk'
type = {'string', 'function'}
-[[.args]]
+``````````
name = 'chunkname'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'mode'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'env'
type = 'table'
optional = 'self'
@@ -130,16 +130,16 @@ args = {
type = '...'
},
}
-[[.returns]]
+``````````
name = 'error_message'
type = 'string'
[[.enums]]
name = 'mode'
enum = 'b'
-[[.enums]]
+``````````
name = 'mode'
enum = 't'
-[[.enums]]
+``````````
name = 'mode'
enum = 'bt'
default = true
@@ -150,11 +150,11 @@ special = 'loadfile'
name = 'filename'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'mode'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'env'
type = 'table'
optional = 'self'
@@ -165,16 +165,16 @@ args = {
type = '...'
},
}
-[[.returns]]
+``````````
name = 'error_message'
type = 'string'
[[.enums]]
name = 'mode'
enum = 'b'
-[[.enums]]
+``````````
name = 'mode'
enum = 't'
-[[.enums]]
+``````````
name = 'mode'
enum = 'bt'
default = true
@@ -183,12 +183,12 @@ default = true
[[.args]]
name = 'table'
type = 'table'
-[[.args]]
+``````````
name = 'index'
optional = 'self'
[[.returns]]
name = 'key'
-[[.returns]]
+``````````
name = 'value'
[pairs]
@@ -216,27 +216,27 @@ returns = {
name = 'value',
},
}
-[[.returns]]
+``````````
name = 't'
type = 'table'
-[[.returns]]
+``````````
type = 'nil'
[pcall]
[[.args]]
name = 'f'
type = 'function'
-[[.args]]
+``````````
name = 'arg1'
optional = 'after'
-[[.args]]
+``````````
type = '...'
[[.returns]]
name = 'success'
type = 'boolean'
-[[.returns]]
+``````````
name = 'result'
-[[.returns]]
+``````````
type = '...'
[print]
@@ -246,7 +246,7 @@ type = '...'
[rawequal]
[[.args]]
name = 'v1'
-[[.args]]
+``````````
name = 'v2'
[[.returns]]
type = 'boolean'
@@ -255,7 +255,7 @@ type = 'boolean'
[[.args]]
name = 'table'
type = 'table'
-[[.args]]
+``````````
name = 'index'
[[.returns]]
@@ -271,9 +271,9 @@ type = 'integer'
[[.args]]
name = 'table'
type = 'table'
-[[.args]]
+``````````
name = 'index'
-[[.args]]
+``````````
name = 'value'
[[.returns]]
name = 'table'
@@ -283,13 +283,13 @@ type = 'table'
[[.args]]
name = 'index'
type = {'string', 'integer'}
-[[.args]]
+``````````
type = '...'
[[.returns]]
[[.enums]]
name = 'index'
enum = '#'
-[[.enums]]
+``````````
name = 'index'
code = 'integer'
@@ -298,7 +298,7 @@ special = 'setmetatable'
[[.args]]
name = 'table'
type = 'table'
-[[.args]]
+``````````
name = 'metatable'
type = 'table'
[[.returns]]
@@ -308,7 +308,7 @@ type = 'table'
[[.args]]
name = 'e'
type = {'string', 'number'}
-[[.args]]
+``````````
name = 'base'
type = 'integer'
optional = 'self'
@@ -330,25 +330,25 @@ type = 'string'
[[.enums]]
name = 'type'
enum = 'nil'
-[[.enums]]
+``````````
name = 'type'
enum = 'number'
-[[.enums]]
+``````````
name = 'type'
enum = 'string'
-[[.enums]]
+``````````
name = 'type'
enum = 'boolean'
-[[.enums]]
+``````````
name = 'type'
enum = 'table'
-[[.enums]]
+``````````
name = 'type'
enum = 'function'
-[[.enums]]
+``````````
name = 'type'
enum = 'thread'
-[[.enums]]
+``````````
name = 'type'
enum = 'userdata'
@@ -360,20 +360,20 @@ value = 'Lua5.3'
[[.args]]
name = 'f'
type = 'function'
-[[.args]]
+``````````
name = 'msgh'
type = 'function'
-[[.args]]
+``````````
name = 'arg1'
optional = 'after'
-[[.args]]
+``````````
type = '...'
[[.returns]]
name = 'success'
type = 'boolean'
-[[.returns]]
+``````````
name = 'result'
-[[.returns]]
+``````````
type = '...'
[require]
diff --git a/server/libs/lua53/coroutine.lni b/server/libs/lua53/coroutine.lni
index e025ea6e..70b438fb 100644
--- a/server/libs/lua53/coroutine.lni
+++ b/server/libs/lua53/coroutine.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'coroutine'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'coroutine'
-[[.parent]]
+``````````
type = 'library'
name = 'coroutine'
@@ -31,24 +31,24 @@ type = 'boolean'
[[.args]]
name = 'co'
type = 'thread'
-[[.args]]
+``````````
name = 'val1'
optional = 'after'
-[[.args]]
+``````````
type = '...'
[[.returns]]
name = 'success'
type = 'boolean'
-[[.returns]]
+``````````
name = 'result'
-[[.returns]]
+``````````
type = '...'
[running]
[[.returns]]
name = 'running_co'
type = 'thread'
-[[.returns]]
+``````````
name = 'is_main'
type = 'boolean'
@@ -62,13 +62,13 @@ type = 'string'
[[.enums]]
name = 'status'
enum = 'running'
-[[.enums]]
+``````````
name = 'status'
enum = 'suspended'
-[[.enums]]
+``````````
name = 'status'
enum = 'normal'
-[[.enums]]
+``````````
name = 'status'
enum = 'dead'
diff --git a/server/libs/lua53/debug.lni b/server/libs/lua53/debug.lni
index b8c494ca..33042a45 100644
--- a/server/libs/lua53/debug.lni
+++ b/server/libs/lua53/debug.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'debug'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'debug'
-[[.parent]]
+``````````
type = 'library'
name = 'debug'
@@ -25,10 +25,10 @@ optional = 'self'
[[.returns]]
name = 'hook'
type = 'function'
-[[.returns]]
+``````````
name = 'mask'
type = 'string'
-[[.returns]]
+``````````
name = 'count'
type = 'integer'
@@ -36,10 +36,10 @@ type = 'integer'
[[.args]]
type = 'thread'
optional = 'self'
-[[.args]]
+``````````
name = 'f'
type = {'integer', 'function'}
-[[.args]]
+``````````
name = 'what'
type = 'string'
optional = 'self'
@@ -49,22 +49,22 @@ type = 'table'
[[.enums]]
name = 'what'
enum = 'n'
-[[.enums]]
+``````````
name = 'what'
enum = 'S'
-[[.enums]]
+``````````
name = 'what'
enum = 'l'
-[[.enums]]
+``````````
name = 'what'
enum = 't'
-[[.enums]]
+``````````
name = 'what'
enum = 'u'
-[[.enums]]
+``````````
name = 'what'
enum = 'f'
-[[.enums]]
+``````````
name = 'what'
enum = 'L'
@@ -72,10 +72,10 @@ enum = 'L'
[[.args]]
type = 'thread'
optional = 'self'
-[[.args]]
+``````````
name = 'f'
type = {'integer', 'function'}
-[[.args]]
+``````````
name = 'local'
type = 'integer'
@@ -94,13 +94,13 @@ type = 'table'
[[.args]]
name = 'f'
type = 'function'
-[[.args]]
+``````````
name = 'up'
type = 'integer'
[[.returns]]
name = 'name'
type = 'string'
-[[.returns]]
+``````````
name = 'value'
[getuservalue]
@@ -113,23 +113,23 @@ type = 'userdata'
[[.args]]
type = 'thread'
optional = 'self'
-[[.args]]
+``````````
name = 'hook'
type = 'function'
-[[.args]]
+``````````
name = 'mask'
type = 'string'
-[[.args]]
+``````````
name = 'count'
type = 'integer'
optional = 'self'
[[.enums]]
name = 'mask'
enum = 'c'
-[[.enums]]
+``````````
name = 'mask'
enum = 'r'
-[[.enums]]
+``````````
name = 'mask'
enum = 'l'
@@ -137,13 +137,13 @@ enum = 'l'
[[.args]]
type = 'thread'
optional = 'self'
-[[.args]]
+``````````
name = 'level'
type = 'integer'
-[[.args]]
+``````````
name = 'local'
type = 'integer'
-[[.args]]
+``````````
name = 'value'
[[.returns]]
name = 'name'
@@ -152,7 +152,7 @@ type = 'string'
[setmetatable]
[[.args]]
name = 'value'
-[[.args]]
+``````````
type = 'table'
[[.returns]]
name = 'value'
@@ -161,10 +161,10 @@ name = 'value'
[[.args]]
name = 'f'
type = 'function'
-[[.args]]
+``````````
name = 'up'
type = 'integer'
-[[.args]]
+``````````
name = 'value'
[[.returns]]
name = 'name'
@@ -174,7 +174,7 @@ type = 'string'
[[.args]]
name = 'udata'
type = 'userdata'
-[[.args]]
+``````````
name = 'value'
[[.returns]]
name = 'udata'
@@ -184,10 +184,10 @@ type = 'userdata'
[[.args]]
type = 'thread'
optional = 'self'
-[[.args]]
+``````````
name = 'message'
optional = 'after'
-[[.args]]
+``````````
name = 'level'
optional = 'self'
default = 1
@@ -198,7 +198,7 @@ name = 'message'
[[.args]]
name = 'f'
type = 'function'
-[[.args]]
+``````````
name = 'n'
type = 'integer'
[[.returns]]
@@ -209,12 +209,12 @@ type = 'userdata'
[[.args]]
name = 'f1'
type = 'function'
-[[.args]]
+``````````
name = 'n1'
type = 'integer'
-[[.args]]
+``````````
name = 'f2'
type = 'function'
-[[.args]]
+``````````
name = 'n2'
type = 'integer'
diff --git a/server/libs/lua53/file.lni b/server/libs/lua53/file.lni
index 3ff04be8..ec18bb5b 100644
--- a/server/libs/lua53/file.lni
+++ b/server/libs/lua53/file.lni
@@ -12,15 +12,15 @@ name = 'suc'
type = 'boolean'
default = true
optional = 'after'
-[[.returns]]
+``````````
name = 'type'
type = 'string'
-[[.returns]]
+``````````
name = 'code'
[[.enums]]
type = 'type'
enum = 'exit'
-[[.enums]]
+``````````
type = 'type'
enum = 'signal'
@@ -31,7 +31,7 @@ type = 'FILE*'
[lines]
[[.args]]
type = 'FILE*'
-[[.args]]
+``````````
name = 'mode'
type = '...'
[[.returns]]
@@ -45,55 +45,55 @@ returns = {
[[.enums]]
name = 'mode'
enum = 'n'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
[read]
[[.args]]
type = 'FILE*'
-[[.args]]
+``````````
name = 'mode'
type = '...'
[[.returns]]
type = {'string', 'number'}
-[[.returns]]
+``````````
type = '...'
[[.enums]]
name = 'mode'
enum = 'n'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
[seek]
[[.args]]
type = 'FILE*'
-[[.args]]
+``````````
name = 'whence'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'offset'
type = 'integer'
default = 0
@@ -101,48 +101,48 @@ optional = 'self'
[[.returns]]
name = 'offset'
type = 'integer'
-[[.returns]]
+``````````
name = 'errmsg'
type = 'string'
optional = 'self'
[[.enums]]
name = 'whence'
enum = 'set'
-[[.enums]]
+``````````
name = 'whence'
enum = 'cur'
default = true
-[[.enums]]
+``````````
name = 'whence'
enum = 'end'
[setvbuf]
[[.args]]
type = 'FILE*'
-[[.args]]
+``````````
name = 'mode'
type = 'string'
-[[.args]]
+``````````
name = 'size'
type = 'integer'
[[.enums]]
name = 'mode'
enum = 'no'
-[[.enums]]
+``````````
name = 'mode'
enum = 'full'
-[[.enums]]
+``````````
name = 'mode'
enum = 'line'
[write]
[[.args]]
type = 'FILE*'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'FILE*'
-[[.returns]]
+``````````
name = 'errmsg'
type = 'string'
optional = 'self'
diff --git a/server/libs/lua53/io.lni b/server/libs/lua53/io.lni
index d2f79cf8..a50129bf 100644
--- a/server/libs/lua53/io.lni
+++ b/server/libs/lua53/io.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'io'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'io'
-[[.parent]]
+``````````
type = 'library'
name = 'io'
@@ -34,15 +34,15 @@ name = 'suc'
type = 'boolean'
default = true
optional = 'after'
-[[.returns]]
+``````````
name = 'type'
type = 'string'
-[[.returns]]
+``````````
name = 'code'
[[.enums]]
type = 'type'
enum = 'exit'
-[[.enums]]
+``````````
type = 'type'
enum = 'signal'
@@ -62,7 +62,7 @@ optional = 'self'
name = 'filename'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'mode'
type = '...'
[[.returns]]
@@ -76,17 +76,17 @@ returns = {
[[.enums]]
name = 'mode'
enum = 'n'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
@@ -94,7 +94,7 @@ code = 'number'
[[.args]]
name = 'filename'
type = 'string'
-[[.args]]
+``````````
name = 'mode'
type = 'string'
optional = 'self'
@@ -105,19 +105,19 @@ type = 'FILE*'
name = 'mode'
enum = 'r'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'w'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
-[[.enums]]
+``````````
name = 'mode'
enum = 'r+'
-[[.enums]]
+``````````
name = 'mode'
enum = 'w+'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a+'
@@ -127,7 +127,7 @@ enum = 'a+'
[[.args]]
name = 'prog'
type = 'string'
-[[.args]]
+``````````
name = 'mode'
type = 'string'
optional = 'self'
@@ -139,7 +139,7 @@ type = 'FILE*'
name = 'mode'
enum = 'r'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'w'
@@ -149,22 +149,22 @@ name = 'mode'
type = '...'
[[.returns]]
type = {'string', 'number'}
-[[.returns]]
+``````````
type = '...'
[[.enums]]
name = 'mode'
enum = 'n'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
default = true
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
@@ -182,10 +182,10 @@ type = 'string'
[[.enums]]
name = 'type'
enum = 'file'
-[[.enums]]
+``````````
name = 'type'
enum = 'closed file'
-[[.enums]]
+``````````
name = 'type'
code = 'nil'
@@ -194,7 +194,7 @@ code = 'nil'
type = '...'
[[.returns]]
type = 'FILE*'
-[[.returns]]
+``````````
name = 'errmsg'
type = 'string'
optional = 'self'
diff --git a/server/libs/lua53/math.lni b/server/libs/lua53/math.lni
index 2031adc2..841bbd6a 100644
--- a/server/libs/lua53/math.lni
+++ b/server/libs/lua53/math.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'math'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'math'
-[[.parent]]
+``````````
type = 'library'
name = 'math'
@@ -40,7 +40,7 @@ type = 'number'
[[.args]]
name = 'y'
type = 'number'
-[[.args]]
+``````````
name = 'x'
type = 'number'
optional = 'self'
@@ -87,7 +87,7 @@ type = 'integer'
[[.args]]
name = 'x'
type = 'number'
-[[.args]]
+``````````
name = 'y'
type = 'number'
[[.returns]]
@@ -100,7 +100,7 @@ type = 'number'
[[.args]]
name = 'x'
type = 'number'
-[[.args]]
+``````````
name = 'base'
type = 'number'
optional = 'self'
@@ -112,7 +112,7 @@ type = 'number'
[[.args]]
name = 'x'
type = 'number'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'number'
@@ -124,7 +124,7 @@ type = 'integer'
[[.args]]
name = 'x'
type = 'number'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'number'
@@ -138,7 +138,7 @@ name = 'x'
type = 'number'
[[.returns]]
type = 'integer'
-[[.returns]]
+``````````
type = 'number'
[pi]
@@ -156,7 +156,7 @@ type = 'number'
name = 'm'
type = 'integer'
optional = 'after'
-[[.args]]
+``````````
name = 'n'
type = 'integer'
optional = 'self'
@@ -206,10 +206,10 @@ type = 'string'
[[.enums]]
name = 'type'
enum = 'integer'
-[[.enums]]
+``````````
name = 'type'
enum = 'float'
-[[.enums]]
+``````````
name = 'type'
code = 'nil'
@@ -217,7 +217,7 @@ code = 'nil'
[[.args]]
name = 'm'
type = 'integer'
-[[.args]]
+``````````
name = 'n'
type = 'integer'
[[.returns]]
diff --git a/server/libs/lua53/os.lni b/server/libs/lua53/os.lni
index f13c83b6..3dea4a01 100644
--- a/server/libs/lua53/os.lni
+++ b/server/libs/lua53/os.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'os'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'os'
-[[.parent]]
+``````````
type = 'library'
name = 'os'
@@ -24,7 +24,7 @@ type = 'number'
name = 'format'
type = 'string'
optional = 'after'
-[[.args]]
+``````````
name = 'time'
type = 'integer'
optional = 'self'
@@ -35,7 +35,7 @@ type = 'string'
[[.args]]
name = 't2'
type = 'integer'
-[[.args]]
+``````````
name = 't1'
type = 'integer'
[[.returns]]
@@ -51,15 +51,15 @@ name = 'suc'
type = 'boolean'
default = 'true'
optional = 'after'
-[[.returns]]
+``````````
name = 'type'
type = 'string'
-[[.returns]]
+``````````
name = 'code'
[[.enums]]
type = 'type'
enum = 'exit'
-[[.enums]]
+``````````
type = 'type'
enum = 'signal'
@@ -69,7 +69,7 @@ name = 'code'
type = {'boolean', 'integer'}
optional = 'after'
default = true
-[[.args]]
+``````````
name = 'close'
type = 'boolean'
optional = 'self'
@@ -88,7 +88,7 @@ type = 'string'
[[.returns]]
name = 'suc'
type = 'boolean'
-[[.returns]]
+``````````
name = 'errmsg'
type = 'string'
optional = 'self'
@@ -97,13 +97,13 @@ optional = 'self'
[[.args]]
name = 'oldname'
type = 'string'
-[[.args]]
+``````````
name = 'newname'
type = 'string'
[[.returns]]
name = 'suc'
type = 'boolean'
-[[.returns]]
+``````````
name = 'errmsg'
type = 'string'
optional = 'self'
@@ -112,7 +112,7 @@ optional = 'self'
[[.args]]
name = 'locale'
type = 'string'
-[[.args]]
+``````````
name = 'category'
type = 'string'
optional = 'self'
@@ -123,19 +123,19 @@ type = 'string'
name = 'category'
enum = 'all'
default = true
-[[.enums]]
+``````````
name = 'category'
enum = 'collate'
-[[.enums]]
+``````````
name = 'category'
enum = 'ctype'
-[[.enums]]
+``````````
name = 'category'
enum = 'monetary'
-[[.enums]]
+``````````
name = 'category'
enum = 'numeric'
-[[.enums]]
+``````````
name = 'category'
enum = 'time'
diff --git a/server/libs/lua53/package.lni b/server/libs/lua53/package.lni
index 62ab4545..65855616 100644
--- a/server/libs/lua53/package.lni
+++ b/server/libs/lua53/package.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'package'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'package'
-[[.parent]]
+``````````
type = 'library'
name = 'package'
@@ -28,7 +28,7 @@ type = 'table'
[[.args]]
name = 'libname'
type = 'string'
-[[.args]]
+``````````
name = 'funcname'
type = 'string'
[[.returns]]
@@ -46,15 +46,15 @@ type = 'table'
[[.args]]
name = 'name'
type = 'string'
-[[.args]]
+``````````
name = 'path'
type = 'string'
-[[.args]]
+``````````
name = 'sep'
type = 'string'
optional = 'after'
default = '.'
-[[.args]]
+``````````
name = 'rep'
type = 'string'
optional = 'self'
diff --git a/server/libs/lua53/string.lni b/server/libs/lua53/string.lni
index 522e373a..e04b3f4f 100644
--- a/server/libs/lua53/string.lni
+++ b/server/libs/lua53/string.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'string'
@@ -11,45 +11,45 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'string'
-[[.parent]]
+``````````
type = 'library'
name = 'string'
-[[.parent]]
+``````````
type = 'object'
name = 'string'
[byte]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
optional = 'after'
default = 1
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
[[.returns]]
type = 'integer'
-[[.returns]]
+``````````
type = '...'
[char]
[[.args]]
name = 'byte'
type = 'integer'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'string'
-[[.returns]]
+``````````
type = '...'
[dump]
[[.args]]
type = 'function'
-[[.args]]
+``````````
name = 'strip'
type = 'boolean'
[[.returns]]
@@ -59,32 +59,32 @@ type = 'string'
[find]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'pattern'
type = 'string'
-[[.args]]
+``````````
name = 'init'
type = 'integer'
optional = 'after'
default = 1
-[[.args]]
+``````````
name = 'plain'
type = 'boolean'
optional = 'self'
[[.returns]]
name = 'start'
type = 'integer'
-[[.returns]]
+``````````
name = 'end'
type = 'integer'
-[[.returns]]
+``````````
name = 'captured'
type = '...'
[format]
[[.args]]
type = 'string'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'string'
@@ -92,7 +92,7 @@ type = 'string'
[gmatch]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'pattern'
type = 'string'
[[.returns]]
@@ -109,18 +109,18 @@ returns = {
[gsub]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'pattern'
type = 'string'
-[[.args]]
+``````````
name = 'repl'
type = {'string', 'table', 'function'}
-[[.args]]
+``````````
name = 'n'
type = 'integer'
[[.returns]]
type = 'string'
-[[.returns]]
+``````````
name = 'count'
type = 'integer'
@@ -139,10 +139,10 @@ type = 'string'
[match]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'pattern'
type = 'string'
-[[.args]]
+``````````
name = 'init'
type = 'integer'
optional = 'self'
@@ -155,13 +155,13 @@ type = 'string'
[[.args]]
name = 'fmt'
type = 'string'
-[[.args]]
+``````````
name = 'v1'
type = 'string'
-[[.args]]
+``````````
name = 'v2'
type = 'string'
-[[.args]]
+``````````
type = '...'
[[.returns]]
name = 'binary'
@@ -177,10 +177,10 @@ type = 'integer'
[rep]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = n
type = 'integer'
-[[.args]]
+``````````
name = 'sep'
type = 'string'
optional = 'self'
@@ -197,10 +197,10 @@ type = 'string'
[sub]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
@@ -212,17 +212,17 @@ type = 'string'
[[.args]]
name = 'fmt'
type = 'string'
-[[.args]]
+``````````
name = 's'
type = 'string'
-[[.args]]
+``````````
name = 'pos'
type = 'integer'
optional = 'self'
default = 1
[[.returns]]
type = '...'
-[[.returns]]
+``````````
name = 'offset'
type = 'integer'
diff --git a/server/libs/lua53/table.lni b/server/libs/lua53/table.lni
index b1ccc7e6..08d43f00 100644
--- a/server/libs/lua53/table.lni
+++ b/server/libs/lua53/table.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'table'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'table'
-[[.parent]]
+``````````
type = 'library'
name = 'table'
@@ -19,17 +19,17 @@ name = 'table'
[[.args]]
name = 'list'
type = 'table'
-[[.args]]
+``````````
name = 'sep'
type = 'string'
optional = 'after'
default = ''
-[[.args]]
+``````````
name = 'i'
type = 'integer'
optional = 'after'
default = 1
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
@@ -40,11 +40,11 @@ type = 'string'
[[.args]]
name = 'list'
type = 'table'
-[[.args]]
+``````````
name = 'pos'
type = 'integer'
optional = 'self'
-[[.args]]
+``````````
name = 'value'
type = 'any'
@@ -52,16 +52,16 @@ type = 'any'
[[.args]]
name = 'a1'
type = 'table'
-[[.args]]
+``````````
name = 'f'
type = 'integer'
-[[.args]]
+``````````
name = 'e'
type = 'integer'
-[[.args]]
+``````````
name = 't'
type = 'integer'
-[[.args]]
+``````````
name = 'a2'
type = 'table'
optional = 'self'
@@ -79,7 +79,7 @@ type = 'table'
[[.args]]
name = 'list'
type = 'table'
-[[.args]]
+``````````
name = 'pos'
type = 'integer'
optional = 'self'
@@ -89,7 +89,7 @@ optional = 'self'
[[.args]]
name = 'list'
type = 'table'
-[[.args]]
+``````````
name = 'comp'
type = 'function'
optional = 'self'
@@ -98,12 +98,12 @@ optional = 'self'
[[.args]]
name = 'list'
type = 'table'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
optional = 'after'
type = 1
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
diff --git a/server/libs/lua53/utf8.lni b/server/libs/lua53/utf8.lni
index 855abd61..0296157f 100644
--- a/server/libs/lua53/utf8.lni
+++ b/server/libs/lua53/utf8.lni
@@ -2,7 +2,7 @@
type = 'table'
[[.source]]
type = 'global'
-[[.source]]
+``````````
type = 'library'
name = 'utf8'
@@ -11,7 +11,7 @@ type = 'function'
[[.parent]]
type = 'global'
name = 'utf8'
-[[.parent]]
+``````````
type = 'library'
name = 'utf8'
@@ -19,7 +19,7 @@ name = 'utf8'
[[.args]]
name = 'code'
type = 'integer'
-[[.args]]
+``````````
type = '...'
[[.returns]]
type = 'string'
@@ -47,37 +47,37 @@ returns = {
[codepoint]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
optional = 'after'
default = 1
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
[[.returns]]
name = 'code'
type = 'integer'
-[[.returns]]
+``````````
type = '...'
[len]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
optional = 'after'
default = 1
-[[.args]]
+``````````
name = 'j'
type = 'integer'
optional = 'self'
default = -1
[[.returns]]
type = 'integer'
-[[.returns]]
+``````````
name = 'errpos'
type = 'integer'
optional = 'self'
@@ -85,10 +85,10 @@ optional = 'self'
[offset]
[[.args]]
type = 'string'
-[[.args]]
+``````````
name = 'n'
type = 'integer'
-[[.args]]
+``````````
name = 'i'
type = 'integer'
[[.returns]]