summaryrefslogtreecommitdiff
path: root/locale/zh-tw/setting.lua
diff options
context:
space:
mode:
authorAndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com>2023-03-22 09:00:56 +0100
committerGitHub <noreply@github.com>2023-03-22 09:00:56 +0100
commit759e2f8c303ed9985b1a7cb9ad4886d705576476 (patch)
treeb46768fb781b04e65e5aca9890e23a7adc0c7513 /locale/zh-tw/setting.lua
parent5b6542e8ff276a195c502cc2479b53685429eb2e (diff)
downloadlua-language-server-759e2f8c303ed9985b1a7cb9ad4886d705576476.zip
Add diagnostic warning about any global (#1)
* Add warning for any global variable via diagnostic * Add messages in en-US TODO: add messages in languages other than en-us as well * fallback: enable/disable diagnostics w/ annotation * Add tests for the new diagnostic * Add diagnostic and group to config.md
Diffstat (limited to 'locale/zh-tw/setting.lua')
-rw-r--r--locale/zh-tw/setting.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 8c74668d..fd363d3f 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -414,6 +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 elements.'
config.typeFormat.config = -- TODO: need translate!
'Configures the formatting behavior while typing Lua code.'
config.typeFormat.config.auto_complete_end = -- TODO: need translate!