summaryrefslogtreecommitdiff
path: root/doc/en-us
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-05-09 11:02:42 +0800
committerGitHub <noreply@github.com>2024-05-09 11:02:42 +0800
commit3ead0aac05e5305fbfb8a0c1bfd7dd838a2eb793 (patch)
tree54f54b751b7a7fb95621967dbfa0ada603bd0262 /doc/en-us
parentd1740506886bfd0908a3f7f0d2beaacf1485e123 (diff)
parenta8c0929405a02e54749d3d59ce4dad7bc3e0a863 (diff)
downloadlua-language-server-3ead0aac05e5305fbfb8a0c1bfd7dd838a2eb793.zip
Merge pull request #2629 from comedinha/master
Add setting to find globals using regex
Diffstat (limited to 'doc/en-us')
-rw-r--r--doc/en-us/config.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/en-us/config.md b/doc/en-us/config.md
index f57d4d64..8dd8c059 100644
--- a/doc/en-us/config.md
+++ b/doc/en-us/config.md
@@ -406,6 +406,22 @@ Array<string>
[]
```
+# diagnostics.globalsRegex
+
+Find defined global variables using regex.
+
+## type
+
+```ts
+Array<string>
+```
+
+## default
+
+```jsonc
+[]
+```
+
# diagnostics.groupFileStatus
Modify the diagnostic needed file status in a group.