summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-07 17:54:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-07 17:54:27 +0800
commitdd127fd3161c49a1604e5911c3d2e8dd5d2ac67c (patch)
tree31017429345ba035a3df64bb934b1f91e888240c /locale/zh-cn
parent60332a2cceb05a0160d76d6182c756afa0571fae (diff)
downloadlua-language-server-dd127fd3161c49a1604e5911c3d2e8dd5d2ac67c.zip
resolve #619 `diagnostics.unusedLocalExclude`
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/setting.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index 54de9293..5fa4bf8b 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -96,6 +96,8 @@ config.diagnostics.ignoredFiles.Disable =
"不诊断这些文件。"
config.diagnostics.disableScheme =
'不诊断使用以下 scheme 的lua文件。'
+config.diagnostics.unusedLocalExclude =
+'如果变量名匹配以下规则,则不对其进行 `unused-local` 诊断。'
config.workspace.ignoreDir =
"忽略的文件与目录(使用 `.gitignore` 语法)。"
config.workspace.ignoreSubmodules =