summaryrefslogtreecommitdiff
path: root/doc/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-07-21 14:11:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-07-21 14:11:06 +0800
commite50b20f07f44de64667143984f2ea0564db09ff7 (patch)
tree7a9db17bc4126d3f62d029d95f2f63d003037cca /doc/zh-cn
parenta5c24f2ce9ceff780af1de82f89374c186a973e6 (diff)
downloadlua-language-server-e50b20f07f44de64667143984f2ea0564db09ff7.zip
fix doc
Diffstat (limited to 'doc/zh-cn')
-rw-r--r--doc/zh-cn/config.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md
index 54caf6c7..692b5a91 100644
--- a/doc/zh-cn/config.md
+++ b/doc/zh-cn/config.md
@@ -301,6 +301,7 @@ Array<string>
* ``"miss-sep-in-table"``
* ``"miss-space-between"``
* ``"miss-symbol"``
+* ``"missing-fields"``
* ``"missing-global-doc"``
* ``"missing-local-export-doc"``
* ``"missing-parameter"``
@@ -511,6 +512,7 @@ object<string, string>
*/
"type-check": "Fallback",
/*
+ * missing-fields
* missing-parameter
* missing-return
* missing-return-value
@@ -638,6 +640,7 @@ object<string, string>
*/
"type-check": "Fallback",
/*
+ * missing-fields
* missing-parameter
* missing-return
* missing-return-value
@@ -831,6 +834,7 @@ object<string, string>
首字母小写的全局变量定义
*/
"lowercase-global": "Any",
+ "missing-fields": "Any",
/*
Missing annotations for globals! Global functions must have a comment and annotations for all parameters and return values.
*/
@@ -1098,6 +1102,7 @@ object<string, string>
首字母小写的全局变量定义
*/
"lowercase-global": "Information",
+ "missing-fields": "Warning",
/*
Missing annotations for globals! Global functions must have a comment and annotations for all parameters and return values.
*/
@@ -1675,7 +1680,7 @@ Array<string>
## type
```ts
-Object<string, table: 0000029B6DB8EAE0>
+Object<string, string | array>
```
## default