summaryrefslogtreecommitdiff
path: root/doc/zh-cn
diff options
context:
space:
mode:
authorBruno Carvalho <b.camara@live.com>2024-04-23 13:28:07 -0300
committerBruno Carvalho <b.camara@live.com>2024-04-23 13:28:07 -0300
commita8c0929405a02e54749d3d59ce4dad7bc3e0a863 (patch)
tree36e2be9dd50eb5a958c8803193b2be133a74c3d9 /doc/zh-cn
parent6b5e19597d88a219aac73cbccd6f88a4213e07aa (diff)
downloadlua-language-server-a8c0929405a02e54749d3d59ce4dad7bc3e0a863.zip
Add globalsRegex to diagnostics
Improve checkIsUndefinedGlobal to avoid unecessary checks and tables
Diffstat (limited to 'doc/zh-cn')
-rw-r--r--doc/zh-cn/config.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md
index ebb8325f..e7292b92 100644
--- a/doc/zh-cn/config.md
+++ b/doc/zh-cn/config.md
@@ -406,6 +406,22 @@ Array<string>
[]
```
+# diagnostics.globalsRegex
+
+Find defined global variables using regex.
+
+## type
+
+```ts
+Array<string>
+```
+
+## default
+
+```jsonc
+[]
+```
+
# diagnostics.groupFileStatus
批量修改一个组中的文件状态。