@@ -258,6 +258,7 @@ Array<string>
258
258
* `` "global-in-nil-env" ``
259
259
* `` "incomplete-signature-doc" ``
260
260
* `` "index-in-func-name" ``
261
+ * `` "inject-field" ``
261
262
* `` "invisible" ``
262
263
* `` "jump-local-scope" ``
263
264
* `` "keyword" ``
@@ -505,6 +506,7 @@ object<string, string>
505
506
* assign-type-mismatch
506
507
* cast-local-type
507
508
* cast-type-mismatch
509
+ * inject-field
508
510
* need-check-nil
509
511
* param-type-mismatch
510
512
* return-type-mismatch
@@ -633,6 +635,7 @@ object<string, string>
633
635
* assign-type-mismatch
634
636
* cast-local-type
635
637
* cast-type-mismatch
638
+ * inject-field
636
639
* need-check-nil
637
640
* param-type-mismatch
638
641
* return-type-mismatch
@@ -738,7 +741,7 @@ object<string, string>
738
741
``` jsonc
739
742
{
740
743
/*
741
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
744
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
742
745
*/
743
746
" ambiguity-1" : " Any" ,
744
747
/*
@@ -826,6 +829,7 @@ object<string, string>
826
829
Incomplete @param or @return annotations for functions.
827
830
*/
828
831
" incomplete-signature-doc" : " None" ,
832
+ " inject-field" : " Opened" ,
829
833
/*
830
834
Enable diagnostics for accesses to fields which are invisible.
831
835
*/
@@ -1007,7 +1011,7 @@ object<string, string>
1007
1011
``` jsonc
1008
1012
{
1009
1013
/*
1010
- 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
1014
+ 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1`
1011
1015
*/
1012
1016
" ambiguity-1" : " Warning" ,
1013
1017
/*
@@ -1095,6 +1099,7 @@ object<string, string>
1095
1099
Incomplete @param or @return annotations for functions.
1096
1100
*/
1097
1101
" incomplete-signature-doc" : " Warning" ,
1102
+ " inject-field" : " Warning" ,
1098
1103
/*
1099
1104
Enable diagnostics for accesses to fields which are invisible.
1100
1105
*/
@@ -1853,7 +1858,7 @@ false
1853
1858
1854
1859
# runtime.plugin
1855
1860
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.
1857
1862
1858
1863
## type
1859
1864
@@ -2168,20 +2173,20 @@ Automatic detection and adaptation of third-party libraries, currently supported
2168
2173
* skynet
2169
2174
* Jass
2170
2175
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)
2178
2176
2179
2177
## type
2180
2178
2181
2179
``` ts
2182
2180
string
2183
2181
```
2184
2182
2183
+ ## enum
2184
+
2185
+ * `` "Ask" ``
2186
+ * `` "Apply" ``
2187
+ * `` "ApplyInMemory" ``
2188
+ * `` "Disable" ``
2189
+
2185
2190
## default
2186
2191
2187
2192
``` jsonc
@@ -2298,4 +2303,4 @@ Array<string>
2298
2303
2299
2304
``` jsonc
2300
2305
[]
2301
- ```
2306
+ ```
0 commit comments