summaryrefslogtreecommitdiff
path: root/doc/pt-br/config.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pt-br/config.md')
-rw-r--r--doc/pt-br/config.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md
index 68643bdd..af0be93c 100644
--- a/doc/pt-br/config.md
+++ b/doc/pt-br/config.md
@@ -258,6 +258,7 @@ Array<string>
* ``"global-in-nil-env"``
* ``"incomplete-signature-doc"``
* ``"index-in-func-name"``
+* ``"inject-field"``
* ``"invisible"``
* ``"jump-local-scope"``
* ``"keyword"``
@@ -505,6 +506,7 @@ object<string, string>
* assign-type-mismatch
* cast-local-type
* cast-type-mismatch
+ * inject-field
* need-check-nil
* param-type-mismatch
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
* assign-type-mismatch
* cast-local-type
* cast-type-mismatch
+ * inject-field
* need-check-nil
* param-type-mismatch
* return-type-mismatch
@@ -738,7 +741,7 @@ object<string, string>
```jsonc
{
/*
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
*/
"ambiguity-1": "Any",
/*
@@ -826,6 +829,7 @@ object<string, string>
Incomplete @param or @return annotations for functions.
*/
"incomplete-signature-doc": "None",
+ "inject-field": "Opened",
/*
Enable diagnostics for accesses to fields which are invisible.
*/
@@ -1007,7 +1011,7 @@ object<string, string>
```jsonc
{
/*
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
*/
"ambiguity-1": "Warning",
/*
@@ -1095,6 +1099,7 @@ object<string, string>
Incomplete @param or @return annotations for functions.
*/
"incomplete-signature-doc": "Warning",
+ "inject-field": "Warning",
/*
Enable diagnostics for accesses to fields which are invisible.
*/
@@ -1853,7 +1858,7 @@ false
# runtime.plugin
-Plugin path. Please read the [wiki](https://luals.github.io/wiki/plugins) to learn more.
+Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more.
## type
@@ -2291,4 +2296,4 @@ Array<string>
```jsonc
[]
-```
+``` \ No newline at end of file