diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-31 12:46:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-31 12:46:05 +0800 |
commit | 92e4da8c7cec41b0595c59ac91345a812d902975 (patch) | |
tree | 84a64dda769b723c694107afd4a3b95b57936978 /server/locale/en-US | |
parent | dac81ea089eb6970c81859ff2a0bb233f3eb159f (diff) | |
download | lua-language-server-92e4da8c7cec41b0595c59ac91345a812d902975.zip |
更新lni
Diffstat (limited to 'server/locale/en-US')
-rw-r--r-- | server/locale/en-US/libs/lua53/basic.lni | 24 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua53/coroutine.lni | 6 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua53/debug.lni | 16 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua53/file.lni | 24 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua53/io.lni | 32 | ||||
-rw-r--r-- | server/locale/en-US/libs/lua53/math.lni | 4 |
6 files changed, 53 insertions, 53 deletions
diff --git a/server/locale/en-US/libs/lua53/basic.lni b/server/locale/en-US/libs/lua53/basic.lni index 13a1b5fe..571d8450 100644 --- a/server/locale/en-US/libs/lua53/basic.lni +++ b/server/locale/en-US/libs/lua53/basic.lni @@ -9,31 +9,31 @@ description = 'Calls error if the value of its argument is false.' name = 'opt' enum = 'collect' description = 'Performs a full garbage-collection cycle.' -[[.enums]] +`````````` name = 'opt' enum = 'stop' description = 'Stops automatic execution.' -[[.enums]] +`````````` name = 'opt' enum = 'restart' description = 'Restarts automatic execution.' -[[.enums]] +`````````` name = 'opt' enum = 'count' description = 'Returns the total memory in Kbytes.' -[[.enums]] +`````````` name = 'opt' enum = 'step' description = 'Performs a garbage-collection step.' -[[.enums]] +`````````` name = 'opt' enum = 'setpause' description = 'Set pause.' -[[.enums]] +`````````` name = 'opt' enum = 'setstepmul' description = 'Set step multiplier.' -[[.enums]] +`````````` name = 'opt' enum = 'isrunning' description = 'Returns whether the collector is running.' @@ -66,11 +66,11 @@ description = 'Loads a chunk.' name = 'mode' enum = 'b' description = 'Only binary chunks.' -[[.enums]] +`````````` name = 'mode' enum = 't' description = 'Only text chunks.' -[[.enums]] +`````````` name = 'mode' enum = 'bt' description = 'Both binary and text.' @@ -81,11 +81,11 @@ description = 'Loads a chunk from file.' name = 'mode' enum = 'b' description = 'Only binary chunks.' -[[.enums]] +`````````` name = 'mode' enum = 't' description = 'Only text chunks.' -[[.enums]] +`````````` name = 'mode' enum = 'bt' description = 'Both binary and text.' @@ -126,7 +126,7 @@ description = 'Sets the real value of `table[index]` to `value`, without invokin name = 'index' enum = '#' description = 'Returns the total number of extra arguments.' -[[.enums]] +`````````` name = 'index' code = 'integer' description = 'Returns all arguments after number `index`.' diff --git a/server/locale/en-US/libs/lua53/coroutine.lni b/server/locale/en-US/libs/lua53/coroutine.lni index dca0f5a4..463288bc 100644 --- a/server/locale/en-US/libs/lua53/coroutine.lni +++ b/server/locale/en-US/libs/lua53/coroutine.lni @@ -16,15 +16,15 @@ description = 'Returns the status of coroutine `co`.' name = 'status' enum = 'running' description = 'Is running.' -[[.enums]] +`````````` name = 'status' enum = 'suspended' description = 'Is suspended or not started.' -[[.enums]] +`````````` name = 'status' enum = 'normal' description = 'Is active but not running.' -[[.enums]] +`````````` name = 'status' enum = 'dead' description = 'Has finished or stopped with an error.' diff --git a/server/locale/en-US/libs/lua53/debug.lni b/server/locale/en-US/libs/lua53/debug.lni index 900e0ea1..d94a8b47 100644 --- a/server/locale/en-US/libs/lua53/debug.lni +++ b/server/locale/en-US/libs/lua53/debug.lni @@ -10,27 +10,27 @@ description = 'Returns a table with information about a function.' name = 'what' enum = 'n' description = '`name` and `namewhat`' -[[.enums]] +`````````` name = 'what' enum = 'S' description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`' -[[.enums]] +`````````` name = 'what' enum = 'l' description = '`currentline`' -[[.enums]] +`````````` name = 'what' enum = 't' description = '`istailcall`' -[[.enums]] +`````````` name = 'what' enum = 'u' description = '`nups`, `nparams`, and `isvararg`' -[[.enums]] +`````````` name = 'what' enum = 'f' description = '`func`' -[[.enums]] +`````````` name = 'what' enum = 'L' description = '`activelines`' @@ -56,11 +56,11 @@ description = 'Sets the given function as a hook.' name = 'mask' enum = 'c' description = 'Calls hook when Lua calls a function.' -[[.enums]] +`````````` name = 'mask' enum = 'r' description = 'Calls hook when Lua returns from a function.' -[[.enums]] +`````````` name = 'mask' enum = 'l' description = 'Calls hook when Lua enters a new line of code.' diff --git a/server/locale/en-US/libs/lua53/file.lni b/server/locale/en-US/libs/lua53/file.lni index 176b2034..4200b65f 100644 --- a/server/locale/en-US/libs/lua53/file.lni +++ b/server/locale/en-US/libs/lua53/file.lni @@ -17,19 +17,19 @@ end name = 'mode' enum = 'n' description = 'Reads a numeral and returns it as number.' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = 'Reads the whole file.' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = 'Reads the next line skipping the end of line.' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = 'Reads the next line keeping the end of line.' -[[.enums]] +`````````` name = 'mode' code = 'number' description = 'Reads a string with up to this number of bytes.' @@ -40,19 +40,19 @@ description = 'Reads the `file`, according to the given formats, which specify w name = 'mode' enum = 'n' description = 'Reads a numeral and returns it as number.' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = 'Reads the whole file.' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = 'Reads the next line skipping the end of line.' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = 'Reads the next line keeping the end of line.' -[[.enums]] +`````````` name = 'mode' code = 'number' description = 'Reads a string with up to this number of bytes.' @@ -63,11 +63,11 @@ description = 'Sets and gets the file position, measured from the beginning of t name = 'whence' enum = 'set' description = 'Base is beginning of the file.' -[[.enums]] +`````````` name = 'whence' enum = 'cur' description = 'Base is current position.' -[[.enums]] +`````````` name = 'whence' enum = 'end' description = 'Base is end of file.' @@ -78,11 +78,11 @@ description = 'Sets the buffering mode for an output file.' name = 'mode' enum = 'no' description = 'Output operation appears immediately.' -[[.enums]] +`````````` name = 'mode' enum = 'full' description = 'Performed only when the buffer is full.' -[[.enums]] +`````````` name = 'mode' enum = 'line' description = 'Buffered until a newline is output.' diff --git a/server/locale/en-US/libs/lua53/io.lni b/server/locale/en-US/libs/lua53/io.lni index c27e9d4d..14122cea 100644 --- a/server/locale/en-US/libs/lua53/io.lni +++ b/server/locale/en-US/libs/lua53/io.lni @@ -29,19 +29,19 @@ end name = 'mode' enum = 'n' description = 'Reads a numeral and returns it as number.' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = 'Reads the whole file.' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = 'Reads the next line skipping the end of line.' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = 'Reads the next line keeping the end of line.' -[[.enums]] +`````````` name = 'mode' code = 'number' description = 'Reads a string with up to this number of bytes.' @@ -52,23 +52,23 @@ description = 'Opens a file, in the mode specified in the string `mode`.' name = 'mode' enum = 'r' description = 'Read mode.' -[[.enums]] +`````````` name = 'mode' enum = 'w' description = 'Write mode.' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = 'Append mode.' -[[.enums]] +`````````` name = 'mode' enum = 'r+' description = 'Update mode, all previous data is preserved.' -[[.enums]] +`````````` name = 'mode' enum = 'w+' description = 'Update mode, all previous data is erased.' -[[.enums]] +`````````` name = 'mode' enum = 'a+' description = 'Append update mode, previous data is preserved, writing is only allowed at the end of file.' @@ -82,7 +82,7 @@ description = 'Starts program prog in a separated process.' name = 'mode' enum = 'r' description = 'Read data from this program by `file`.' -[[.enums]] +`````````` name = 'mode' enum = 'w' description = 'Write data to this program by `file`.' @@ -93,19 +93,19 @@ description = 'Reads the `file`, according to the given formats, which specify w name = 'mode' enum = 'n' description = 'Reads a numeral and returns it as number.' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = 'Reads the whole file.' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = 'Reads the next line skipping the end of line.' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = 'Reads the next line keeping the end of line.' -[[.enums]] +`````````` name = 'mode' code = 'number' description = 'Reads a string with up to this number of bytes.' @@ -119,11 +119,11 @@ description = 'Checks whether `obj` is a valid file handle.' name = 'type' enum = 'file' description = 'Is an open file handle.' -[[.enums]] +`````````` name = 'type' enum = 'closed file' description = 'Is a closed file handle.' -[[.enums]] +`````````` name = 'type' code = 'nil' description = 'Is not a file handle.' diff --git a/server/locale/en-US/libs/lua53/math.lni b/server/locale/en-US/libs/lua53/math.lni index fccdd4cf..1a5ca814 100644 --- a/server/locale/en-US/libs/lua53/math.lni +++ b/server/locale/en-US/libs/lua53/math.lni @@ -82,11 +82,11 @@ description = 'If the value `x` is convertible to an integer, returns that integ name = 'type' enum = 'integer' description = '`x` is an integer.' -[[.enums]] +`````````` name = 'type' enum = 'float' description = '`x` is a float.' -[[.enums]] +`````````` name = 'type' code = 'nil' description = '`x` is not a number.' |