summaryrefslogtreecommitdiff
path: root/locale/zh-cn/setting.lua
diff options
context:
space:
mode:
authorAndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com>2023-03-30 15:52:53 +0200
committerGitHub <noreply@github.com>2023-03-30 15:52:53 +0200
commit4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b (patch)
tree47b4b4583aefd4693cde2395ab063c0e96a8f27c /locale/zh-cn/setting.lua
parent43794193ef981ffecb477bfce444428ded852aa0 (diff)
downloadlua-language-server-4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b.zip
Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
Diffstat (limited to 'locale/zh-cn/setting.lua')
-rw-r--r--locale/zh-cn/setting.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index e1eb7de9..731190e2 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -414,10 +414,8 @@ config.diagnostics['unknown-operator'] = -- TODO: need translate!
'Enable diagnostics for unknown operators.'
config.diagnostics['unreachable-code'] = -- TODO: need translate!
'Enable diagnostics for unreachable code.'
-config.diagnostics['global-element'] = -- TODO: need translate!
-'Enable diagnostics to warn about global variables.'
-config.diagnostics['uppercase-local'] = -- TODO: need translate!
-'Enable diagnostics to warn about local element names starting with an uppercase letter.'
+config.diagnostics['global-element'] = -- TODO: need translate!
+'Enable diagnostics to warn about global elements.'
config.typeFormat.config = -- TODO: need translate!
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end = -- TODO: need translate!