summaryrefslogtreecommitdiff
path: root/doc/zh-cn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zh-cn')
-rw-r--r--doc/zh-cn/config.md22
1 files changed, 10 insertions, 12 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md
index 34dc5ec4..07d07a74 100644
--- a/doc/zh-cn/config.md
+++ b/doc/zh-cn/config.md
@@ -398,7 +398,6 @@ object<string, string>
*/
"global": "Fallback",
/*
- * cast-type-mismatch
* circle-doc-class
* doc-field-no-class
* duplicate-doc-alias
@@ -517,7 +516,6 @@ object<string, string>
*/
"global": "Fallback",
/*
- * cast-type-mismatch
* circle-doc-class
* doc-field-no-class
* duplicate-doc-alias
@@ -653,13 +651,13 @@ object<string, string>
```jsonc
{
/*
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
*/
"ambiguity-1": "Any",
"assign-type-mismatch": "Opened",
"await-in-sync": "None",
"cast-local-type": "Opened",
- "cast-type-mismatch": "Any",
+ "cast-type-mismatch": "Opened",
"circle-doc-class": "Any",
"close-non-object": "Any",
"code-after-break": "Opened",
@@ -788,7 +786,7 @@ object<string, string>
```jsonc
{
/*
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
*/
"ambiguity-1": "Warning",
"assign-type-mismatch": "Warning",
@@ -1412,17 +1410,17 @@ string
# runtime.pluginArgs
-Arguments to pass to to the runtime plug.
+Additional arguments for the plugin.
## type
```ts
-array<string>
+Array<string>
```
- ## default
+## default
-```json
+```jsonc
[]
```
@@ -1587,7 +1585,7 @@ Array<string>
# telemetry.enable
-启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/%E9%9A%90%E7%A7%81)阅读我们的隐私声明。
+启用遥测,通过网络发送你的编辑器信息与错误日志。在[此处](https://github.com/sumneko/lua-language-server/wiki/Home#privacy)阅读我们的隐私声明。
## type
@@ -1615,7 +1613,7 @@ boolean
## default
```jsonc
-false
+true
```
# type.weakNilCheck
@@ -1838,4 +1836,4 @@ Array<string>
```jsonc
[]
-```
+``` \ No newline at end of file