@@ -258,6 +258,7 @@ Array<string>
258258* `` "global-in-nil-env" ``
259259* `` "incomplete-signature-doc" ``
260260* `` "index-in-func-name" ``
261+ * `` "inject-field" ``
261262* `` "invisible" ``
262263* `` "jump-local-scope" ``
263264* `` "keyword" ``
@@ -505,6 +506,7 @@ object<string, string>
505506 * assign-type-mismatch
506507 * cast-local-type
507508 * cast-type-mismatch
509+ * inject-field
508510 * need-check-nil
509511 * param-type-mismatch
510512 * return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633635 * assign-type-mismatch
634636 * cast-local-type
635637 * cast-type-mismatch
638+ * inject-field
636639 * need-check-nil
637640 * param-type-mismatch
638641 * return-type-mismatch
@@ -738,7 +741,7 @@ object<string, string>
738741``` jsonc
739742{
740743 /*
741- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
744+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
742745 */
743746 " ambiguity-1" : " Any" ,
744747 /*
@@ -826,6 +829,7 @@ object<string, string>
826829 Incomplete @param or @return annotations for functions.
827830 */
828831 " incomplete-signature-doc" : " None" ,
832+ " inject-field" : " Opened" ,
829833 /*
830834 Enable diagnostics for accesses to fields which are invisible.
831835 */
@@ -1007,7 +1011,7 @@ object<string, string>
10071011``` jsonc
10081012{
10091013 /*
1010- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
1014+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
10111015 */
10121016 " ambiguity-1" : " Warning" ,
10131017 /*
@@ -1095,6 +1099,7 @@ object<string, string>
10951099 Incomplete @param or @return annotations for functions.
10961100 */
10971101 " incomplete-signature-doc" : " Warning" ,
1102+ " inject-field" : " Warning" ,
10981103 /*
10991104 Enable diagnostics for accesses to fields which are invisible.
11001105 */
@@ -1853,7 +1858,7 @@ false
18531858
18541859# runtime.plugin
18551860
1856- Plugin path. Please read the [ wiki] ( https://luals.github.io/wiki/plugins ) to learn more.
1861+ Plugin path. Please read [ wiki] ( https://luals.github.io/wiki/plugins ) to learn more.
18571862
18581863## type
18591864
@@ -2291,4 +2296,4 @@ Array<string>
22912296
22922297``` jsonc
22932298[]
2294- ```
2299+ ```
0 commit comments