diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 17:54:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 17:54:27 +0800 |
commit | dd127fd3161c49a1604e5911c3d2e8dd5d2ac67c (patch) | |
tree | 31017429345ba035a3df64bb934b1f91e888240c /doc/zh-cn | |
parent | 60332a2cceb05a0160d76d6182c756afa0571fae (diff) | |
download | lua-language-server-dd127fd3161c49a1604e5911c3d2e8dd5d2ac67c.zip |
resolve #619 `diagnostics.unusedLocalExclude`
Diffstat (limited to 'doc/zh-cn')
-rw-r--r-- | doc/zh-cn/config.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index a315b168..3e2b1246 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -890,6 +890,22 @@ object<string, string> } ``` +# diagnostics.unusedLocalExclude + +如果变量名匹配以下规则,则不对其进行 `unused-local` 诊断。 + +## type + +```ts +Array<string> +``` + +## default + +```jsonc +[] +``` + # diagnostics.workspaceDelay 进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。 |