diff options
author | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
commit | adfac399b1815731de6f12af1fc3e38516969dc7 (patch) | |
tree | 71e37068805d188313ccd56ef6fcee1b3a31ef72 /locale/zh-cn | |
parent | eab7e6d84bd2bd937cf2e27e9da11a3c96c45605 (diff) | |
download | lua-language-server-adfac399b1815731de6f12af1fc3e38516969dc7.zip |
add infer function param type
Diffstat (limited to 'locale/zh-cn')
-rw-r--r-- | locale/zh-cn/setting.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index c4ec1b55..78e7fb68 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -292,6 +292,12 @@ config.type.weakNilCheck = 此设置为 `false` 时,`numer|nil` 类型无法赋给 `number` 类型;为 `true` 是则可以。 ]] +config.type.inferParamType = +[[ +未注释参数类型时,参数类型由函数传入参数推断。 + +如果设置为 "false",则在未注释时,参数类型为 "any"。 +]] config.doc.privateName = '将特定名称的字段视为私有,例如 `m_*` 意味着 `XXX.m_id` 与 `XXX.m_type` 是私有字段,只能在定义所在的类中访问。' config.doc.protectedName = |