summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-16 18:58:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-16 18:58:33 +0800
commit7f3ed1f3b74c0b651ce2aae6a8a345c069db5d06 (patch)
tree2e073b747d99b2c94b83d16cb7dec5a0b1359c74 /locale/zh-cn
parentbe4dcc0fb3ad331a882f57f20e90bbca30770323 (diff)
downloadlua-language-server-7f3ed1f3b74c0b651ce2aae6a8a345c069db5d06.zip
Nesting of `[[...]]` is not allowed in Lua 5.1 .
fix #1805
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 1c5725ab..92019b02 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -279,6 +279,8 @@ PARSER_AMBIGUOUS_SYNTAX =
'在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。'
PARSER_NEED_PAREN =
'需要添加一对括号。'
+PARSER_NESTING_LONG_MARK =
+'Lua 5.1 中不允许使用嵌套的 `[[...]]` 。'
PARSER_LUADOC_MISS_CLASS_NAME =
'缺少类名称。'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL =