@@ -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
@@ -2168,20 +2173,20 @@ Automatic detection and adaptation of third-party libraries, currently supported
21682173* skynet
21692174* Jass
21702175
2171- Value can be one of:
2172- * ` Ask ` (ask every time)
2173- * ` Apply ` (always apply third-party libraries and set the workspace
2174- configuration)
2175- * ` ApplyInMemory ` (always apply third-party libraries but don't set the
2176- workspace configuration)
2177- * ` Disable ` (don't ask and don't apply)
21782176
21792177## type
21802178
21812179``` ts
21822180string
21832181```
21842182
2183+ ## enum
2184+
2185+ * `` "Ask" ``
2186+ * `` "Apply" ``
2187+ * `` "ApplyInMemory" ``
2188+ * `` "Disable" ``
2189+
21852190## default
21862191
21872192``` jsonc
@@ -2298,4 +2303,4 @@ Array<string>
22982303
22992304``` jsonc
23002305[]
2301- ```
2306+ ```
0 commit comments