summaryrefslogtreecommitdiff
path: root/doc/zh-tw
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 /doc/zh-tw
parent60332a2cceb05a0160d76d6182c756afa0571fae (diff)
downloadlua-language-server-dd127fd3161c49a1604e5911c3d2e8dd5d2ac67c.zip
resolve #619 `diagnostics.unusedLocalExclude`
Diffstat (limited to 'doc/zh-tw')
-rw-r--r--doc/zh-tw/config.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md
index 3fff6c6d..dcd44d63 100644
--- a/doc/zh-tw/config.md
+++ b/doc/zh-tw/config.md
@@ -890,6 +890,22 @@ object<string, string>
}
```
+# diagnostics.unusedLocalExclude
+
+Do not diagnose `unused-local` when the variable name matches the following pattern.
+
+## type
+
+```ts
+Array<string>
+```
+
+## default
+
+```jsonc
+[]
+```
+
# diagnostics.workspaceDelay
進行工作區診斷的延遲(毫秒)。當你啟動工作區,或編輯了任何檔案後,將會在背景對整個工作區進行重新診斷。設定為負數可以停用工作區診斷。