summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-08-16 16:55:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-08-16 16:55:57 +0800
commit080d672ee4bbc082a24aef95821860afa78a7d9f (patch)
tree687c6229d6a904d1e31ee240254d83f93d83508d /locale/zh-cn
parent18ae29cd86dd7e6caa45eba9ac05c44170970df3 (diff)
downloadlua-language-server-080d672ee4bbc082a24aef95821860afa78a7d9f.zip
Add setting: `Lua.type.checkTableShape`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/setting.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 9c6e9a25..0f65d857 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -300,6 +300,10 @@ config.type.inferParamType =
如果设置为 "false",则在未注释时,参数类型为 "any"。
]]
+config.type.checkTableShape =
+[[
+对表的形状进行严格检查。
+]]
config.doc.privateName =
'将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。'
config.doc.protectedName =