diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-01 17:52:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-01 17:52:19 +0800 |
commit | 0f0c1c517f9ba14dcb6f947166b980a93ccb69d3 (patch) | |
tree | 8a020bab93659c9ae20a2f097531982c7d695803 | |
parent | 3b7b8b50acb2c0d6a2637269d34852e2bf43ac9a (diff) | |
download | lua-language-server-0f0c1c517f9ba14dcb6f947166b980a93ccb69d3.zip |
update docs
-rw-r--r-- | doc/en-us/config.md | 20 | ||||
-rw-r--r-- | doc/pt-br/config.md | 20 | ||||
-rw-r--r-- | doc/zh-cn/config.md | 22 | ||||
-rw-r--r-- | doc/zh-tw/config.md | 18 |
4 files changed, 36 insertions, 44 deletions
diff --git a/doc/en-us/config.md b/doc/en-us/config.md index c02c9440..719a4a6e 100644 --- a/doc/en-us/config.md +++ b/doc/en-us/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 @@ -659,7 +657,7 @@ object<string, string> "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", @@ -694,7 +692,7 @@ object<string, string> "missing-return-value": "Any", "need-check-nil": "Opened", /* - 在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作 + Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table. */ "newfield-call": "Any", /* @@ -830,7 +828,7 @@ object<string, string> "missing-return-value": "Warning", "need-check-nil": "Warning", /* - 在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作 + Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table. */ "newfield-call": "Warning", /* @@ -1413,17 +1411,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 [] ``` @@ -1616,7 +1614,7 @@ boolean ## default ```jsonc -false +true ``` # type.weakNilCheck @@ -1839,4 +1837,4 @@ Array<string> ```jsonc [] -``` +```
\ No newline at end of file diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md index 5dcb1237..ddd613fb 100644 --- a/doc/pt-br/config.md +++ b/doc/pt-br/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", @@ -789,7 +787,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", @@ -1413,17 +1411,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 [] ``` @@ -1616,7 +1614,7 @@ boolean ## default ```jsonc -false +true ``` # type.weakNilCheck @@ -1839,4 +1837,4 @@ Array<string> ```jsonc [] -``` +```
\ No newline at end of file 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 diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md index bd11c761..08fab32b 100644 --- a/doc/zh-tw/config.md +++ b/doc/zh-tw/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 @@ -659,7 +657,7 @@ object<string, string> "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", @@ -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%B1%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 |