summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
authorMartin Armbruster <martin.armbruster@sick.de>2022-12-06 13:26:38 +0100
committerMartin Armbruster <martin.armbruster@sick.de>2022-12-06 13:26:38 +0100
commit32ed8bb428f82708eadd4a9ae3e2c0ce98696add (patch)
treed871e1b8086860fad6b2c69668d25f5708d32710 /locale/zh-cn
parent3dcbab2103ebb66fb4bd95c91a49f03f0f449421 (diff)
downloadlua-language-server-32ed8bb428f82708eadd4a9ae3e2c0ce98696add.zip
Added descriptions for the invisible diagnostics and the typeFormat configuration.
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/setting.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 2bf5f9a6..c1dde6fb 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -368,6 +368,8 @@ config.diagnostics['duplicate-doc-param'] = -- TODO: need translate!
'Enable diagnostics for a duplicated param annotation name.'
config.diagnostics['duplicate-set-field'] = -- TODO: need translate!
'Enable diagnostics for setting the same field in a class more than once.'
+config.diagnostics['invisible'] = -- TODO: need translate!
+'Enable diagnostics for accesses to fields which are invisible.'
config.diagnostics['missing-parameter'] = -- TODO: need translate!
'Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.'
config.diagnostics['missing-return'] = -- TODO: need translate!
@@ -408,3 +410,11 @@ 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.typeFormat.config = -- TODO: need translate!
+'Configures the formatting behavior while typing Lua code.'
+config.typeFormat.config.auto_complete_end = -- TODO: need translate!
+'Controls if `end` is automatically completed at suitable positions.'
+config.typeFormat.config.auto_complete_table_sep = -- TODO: need translate!
+'Controls if a separator is automatically appended at the end of a table declaration.'
+config.typeFormat.config.format_line = -- TODO: need translate!
+'Controls if a line is formatted at all.'