diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-05-11 11:32:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 11:32:12 +0800 |
commit | b422860aedb390744a566063991d57ccc829deb2 (patch) | |
tree | 07c8b91a0657e6e39d68778f230abbf3d2c4a489 /locale/zh-cn/setting.lua | |
parent | 7318bbba9808b94c59202d301ac4faf4dc7f1f5a (diff) | |
parent | 6a81d83e80db51e8e2736074bd6f0039e898b6c4 (diff) | |
download | lua-language-server-b422860aedb390744a566063991d57ccc829deb2.zip |
Merge pull request #2091 from CppCXY/master
name-style-check support
Diffstat (limited to 'locale/zh-cn/setting.lua')
-rw-r--r-- | locale/zh-cn/setting.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua index 9dbd961d..1755d76f 100644 --- a/locale/zh-cn/setting.lua +++ b/locale/zh-cn/setting.lua @@ -268,6 +268,8 @@ config.format.defaultConfig = ]] config.spell.dict = '拼写检查的自定义单词。' +config.nameStyle.config = +'设定命名风格检查的配置' config.telemetry.enable = [[ 启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/LuaLS/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。 @@ -400,6 +402,8 @@ config.diagnostics['return-type-mismatch'] = -- TODO: need translate! 'Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.' config.diagnostics['spell-check'] = -- TODO: need translate! 'Enable diagnostics for typos in strings.' +config.diagnostics['name-style-check'] = -- TODO: need translate! +'Enable diagnostics for name style.' config.diagnostics['unbalanced-assignments']= -- TODO: need translate! 'Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).' config.diagnostics['undefined-doc-class'] = -- TODO: need translate! |