summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN/libs/@lua/file.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-22 20:28:09 +0800
committersumneko <sumneko@hotmail.com>2019-05-22 20:28:09 +0800
commit86a58617a89ea8f8f7070f8767b51d413d0b0266 (patch)
tree84effe167b3c73e93d7cc378e5cddf95122be0d7 /server/locale/zh-CN/libs/@lua/file.lni
parent40b6da834d649828cea1a9f59b69657264a8c3c5 (diff)
downloadlua-language-server-86a58617a89ea8f8f7070f8767b51d413d0b0266.zip
保存
Diffstat (limited to 'server/locale/zh-CN/libs/@lua/file.lni')
-rw-r--r--server/locale/zh-CN/libs/@lua/file.lni28
1 files changed, 14 insertions, 14 deletions
diff --git a/server/locale/zh-CN/libs/@lua/file.lni b/server/locale/zh-CN/libs/@lua/file.lni
index 73dfd67d..4dcace0f 100644
--- a/server/locale/zh-CN/libs/@lua/file.lni
+++ b/server/locale/zh-CN/libs/@lua/file.lni
@@ -15,19 +15,19 @@ end
]]
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -38,19 +38,19 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '读文件 `file`, 指定的格式决定了要读什么。'
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -61,30 +61,30 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '设置及获取基于文件开头处计算出的位置。'
[[.enums]]
name = 'whence'
-enum = 'set'
+enum = '"set"'
description = '基点为 0 (文件开头)。'
``````````
name = 'whence'
-enum = 'cur'
+enum = '"cur"'
description = '基点为当前位置。'
``````````
name = 'whence'
-enum = 'end'
+enum = '"end"'
description = '基点为文件尾。'
[setvbuf]
description = '设置输出文件的缓冲模式。'
[[.enums]]
name = 'mode'
-enum = 'no'
+enum = '"no"'
description = '不缓冲;输出操作立刻生效。'
``````````
name = 'mode'
-enum = 'full'
+enum = '"full"'
description = '完全缓冲;只有在缓存满或调用 flush 时才做输出操作。'
``````````
name = 'mode'
-enum = 'line'
+enum = '"line"'
description = '行缓冲;输出将缓冲到每次换行前。'
[write]