@codingame/monaco-editor-wrapper 1.14.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cpp.tmLanguage.js +50 -15
- package/dist/cpptools.js +44 -3
- package/dist/dart3.js +37 -1
- package/dist/directives.tmLanguage.js +20 -0
- package/dist/erlang.js +4 -4
- package/dist/features/extensionConfigurations.js +11 -1
- package/dist/fsharp.tmLanguage.js +24 -4
- package/dist/index.js +7 -0
- package/dist/interpolations.tmLanguage.js +20 -0
- package/dist/java2.js +6 -0
- package/dist/json.js +1 -1
- package/dist/jsonc.js +1 -1
- package/dist/lua2.js +1089 -125
- package/dist/main.js +434 -333
- package/dist/markdown-svelte-css.js +37 -0
- package/dist/markdown-svelte-js.js +37 -0
- package/dist/markdown-svelte.js +59 -0
- package/dist/markdown-vue.js +59 -0
- package/dist/monaco.d.ts +1 -1
- package/dist/omnisharp.js +2 -2
- package/dist/postcss.src.yaml.js +393 -0
- package/dist/pug-svelte-dotblock.js +69 -0
- package/dist/pug-svelte-tags.js +215 -0
- package/dist/pug-svelte.js +307 -0
- package/dist/scalameta.js +5 -3
- package/dist/sql.tmLanguage.js +21 -5
- package/dist/svelte.js +118 -0
- package/dist/svelte.svelte-vscode-svelte.js +46 -0
- package/dist/svelte.svelte-vscode.js +373 -0
- package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
- package/dist/theme-defaults~light_vs.js +2 -1
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
- package/dist/typescript-language-features.js +16 -0
- package/dist/typescript.js +20 -1
- package/dist/typescriptreact.js +20 -1
- package/dist/vetur.js +407 -0
- package/dist/vscode-R.js +55 -0
- package/dist/vscode-python.js +6 -6
- package/dist/vue-generated.js +1301 -0
- package/dist/vue-html.js +99 -0
- package/dist/vue-html.tmLanguage.js +573 -0
- package/dist/vue-postcss.js +72 -0
- package/dist/vue-sugarss.js +60 -0
- package/dist/vue-sugarss2.js +396 -0
- package/dist/vue.js +106 -0
- package/package.json +54 -7
- package/stats.html +1 -1
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
- package/dist/services/TextModelService.d.ts +0 -25
package/dist/lua2.js
CHANGED
|
@@ -96,6 +96,101 @@ var lua = [
|
|
|
96
96
|
"lowercase-global"
|
|
97
97
|
],
|
|
98
98
|
"items": {
|
|
99
|
+
"enum": [
|
|
100
|
+
"not-yieldable",
|
|
101
|
+
"redundant-parameter",
|
|
102
|
+
"break-outside",
|
|
103
|
+
"undefined-doc-class",
|
|
104
|
+
"unknown-symbol",
|
|
105
|
+
"miss-method",
|
|
106
|
+
"err-nonstandard-symbol",
|
|
107
|
+
"unknown-attribute",
|
|
108
|
+
"unexpect-efunc-name",
|
|
109
|
+
"different-requires",
|
|
110
|
+
"miss-end",
|
|
111
|
+
"await-in-sync",
|
|
112
|
+
"args-after-dots",
|
|
113
|
+
"err-eq-as-assign",
|
|
114
|
+
"newfield-call",
|
|
115
|
+
"err-assign-as-eq",
|
|
116
|
+
"undefined-doc-param",
|
|
117
|
+
"param-type-mismatch",
|
|
118
|
+
"global-in-nil-env",
|
|
119
|
+
"missing-parameter",
|
|
120
|
+
"miss-sep-in-table",
|
|
121
|
+
"unknown-cast-variable",
|
|
122
|
+
"miss-loop-min",
|
|
123
|
+
"malformed-number",
|
|
124
|
+
"err-do-as-then",
|
|
125
|
+
"spell-check",
|
|
126
|
+
"undefined-env-child",
|
|
127
|
+
"missing-return-value",
|
|
128
|
+
"discard-returns",
|
|
129
|
+
"redundant-return",
|
|
130
|
+
"miss-esc-x",
|
|
131
|
+
"redundant-value",
|
|
132
|
+
"duplicate-doc-alias",
|
|
133
|
+
"doc-field-no-class",
|
|
134
|
+
"no-visible-label",
|
|
135
|
+
"miss-exp",
|
|
136
|
+
"miss-loop-max",
|
|
137
|
+
"miss-name",
|
|
138
|
+
"empty-block",
|
|
139
|
+
"unused-local",
|
|
140
|
+
"err-then-as-do",
|
|
141
|
+
"duplicate-doc-field",
|
|
142
|
+
"redefined-label",
|
|
143
|
+
"exp-in-action",
|
|
144
|
+
"set-const",
|
|
145
|
+
"circle-doc-class",
|
|
146
|
+
"unexpect-lfunc-name",
|
|
147
|
+
"unsupport-symbol",
|
|
148
|
+
"unused-label",
|
|
149
|
+
"action-after-return",
|
|
150
|
+
"unexpect-dots",
|
|
151
|
+
"newline-call",
|
|
152
|
+
"jump-local-scope",
|
|
153
|
+
"close-non-object",
|
|
154
|
+
"miss-field",
|
|
155
|
+
"count-down-loop",
|
|
156
|
+
"cast-type-mismatch",
|
|
157
|
+
"duplicate-index",
|
|
158
|
+
"unexpect-symbol",
|
|
159
|
+
"block-after-else",
|
|
160
|
+
"unicode-name",
|
|
161
|
+
"miss-exponent",
|
|
162
|
+
"err-esc",
|
|
163
|
+
"redundant-return-value",
|
|
164
|
+
"unbalanced-assignments",
|
|
165
|
+
"err-c-long-comment",
|
|
166
|
+
"undefined-doc-name",
|
|
167
|
+
"ambiguity-1",
|
|
168
|
+
"trailing-space",
|
|
169
|
+
"deprecated",
|
|
170
|
+
"codestyle-check",
|
|
171
|
+
"missing-return",
|
|
172
|
+
"undefined-global",
|
|
173
|
+
"unused-function",
|
|
174
|
+
"code-after-break",
|
|
175
|
+
"assign-type-mismatch",
|
|
176
|
+
"local-limit",
|
|
177
|
+
"cast-local-type",
|
|
178
|
+
"need-check-nil",
|
|
179
|
+
"keyword",
|
|
180
|
+
"unknown-diag-code",
|
|
181
|
+
"unused-vararg",
|
|
182
|
+
"err-comment-prefix",
|
|
183
|
+
"lowercase-global",
|
|
184
|
+
"return-type-mismatch",
|
|
185
|
+
"duplicate-set-field",
|
|
186
|
+
"redefined-local",
|
|
187
|
+
"no-unknown",
|
|
188
|
+
"duplicate-doc-param",
|
|
189
|
+
"index-in-func-name",
|
|
190
|
+
"miss-symbol",
|
|
191
|
+
"undefined-field",
|
|
192
|
+
"miss-space-between"
|
|
193
|
+
],
|
|
99
194
|
"type": "string"
|
|
100
195
|
},
|
|
101
196
|
"markdownDescription": "Disabled diagnostic (Use code in hover brackets).",
|
|
@@ -128,6 +223,300 @@ var lua = [
|
|
|
128
223
|
"scope": 4,
|
|
129
224
|
"type": "array"
|
|
130
225
|
},
|
|
226
|
+
"Lua.diagnostics.groupFileStatus": {
|
|
227
|
+
"additionalProperties": false,
|
|
228
|
+
"markdownDescription": "Modify the diagnostic needed file status in a group.\n\n* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.\nOther settings will override individual settings without end of `!`.\n",
|
|
229
|
+
"properties": {
|
|
230
|
+
"ambiguity": {
|
|
231
|
+
"default": "Fallback",
|
|
232
|
+
"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call",
|
|
233
|
+
"enum": [
|
|
234
|
+
"Any",
|
|
235
|
+
"Opened",
|
|
236
|
+
"None",
|
|
237
|
+
"Fallback"
|
|
238
|
+
],
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
"await": {
|
|
242
|
+
"default": "Fallback",
|
|
243
|
+
"description": "* await-in-sync\n* not-yieldable",
|
|
244
|
+
"enum": [
|
|
245
|
+
"Any",
|
|
246
|
+
"Opened",
|
|
247
|
+
"None",
|
|
248
|
+
"Fallback"
|
|
249
|
+
],
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"codestyle": {
|
|
253
|
+
"default": "Fallback",
|
|
254
|
+
"description": "* codestyle-check\n* spell-check",
|
|
255
|
+
"enum": [
|
|
256
|
+
"Any",
|
|
257
|
+
"Opened",
|
|
258
|
+
"None",
|
|
259
|
+
"Fallback"
|
|
260
|
+
],
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"duplicate": {
|
|
264
|
+
"default": "Fallback",
|
|
265
|
+
"description": "* duplicate-index\n* duplicate-set-field",
|
|
266
|
+
"enum": [
|
|
267
|
+
"Any",
|
|
268
|
+
"Opened",
|
|
269
|
+
"None",
|
|
270
|
+
"Fallback"
|
|
271
|
+
],
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"global": {
|
|
275
|
+
"default": "Fallback",
|
|
276
|
+
"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global",
|
|
277
|
+
"enum": [
|
|
278
|
+
"Any",
|
|
279
|
+
"Opened",
|
|
280
|
+
"None",
|
|
281
|
+
"Fallback"
|
|
282
|
+
],
|
|
283
|
+
"type": "string"
|
|
284
|
+
},
|
|
285
|
+
"luadoc": {
|
|
286
|
+
"default": "Fallback",
|
|
287
|
+
"description": "* cast-type-mismatch\n* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code",
|
|
288
|
+
"enum": [
|
|
289
|
+
"Any",
|
|
290
|
+
"Opened",
|
|
291
|
+
"None",
|
|
292
|
+
"Fallback"
|
|
293
|
+
],
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"redefined": {
|
|
297
|
+
"default": "Fallback",
|
|
298
|
+
"description": "* redefined-local",
|
|
299
|
+
"enum": [
|
|
300
|
+
"Any",
|
|
301
|
+
"Opened",
|
|
302
|
+
"None",
|
|
303
|
+
"Fallback"
|
|
304
|
+
],
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
"strict": {
|
|
308
|
+
"default": "Fallback",
|
|
309
|
+
"description": "* close-non-object\n* deprecated\n* discard-returns",
|
|
310
|
+
"enum": [
|
|
311
|
+
"Any",
|
|
312
|
+
"Opened",
|
|
313
|
+
"None",
|
|
314
|
+
"Fallback"
|
|
315
|
+
],
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"strong": {
|
|
319
|
+
"default": "Fallback",
|
|
320
|
+
"description": "* no-unknown",
|
|
321
|
+
"enum": [
|
|
322
|
+
"Any",
|
|
323
|
+
"Opened",
|
|
324
|
+
"None",
|
|
325
|
+
"Fallback"
|
|
326
|
+
],
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"type-check": {
|
|
330
|
+
"default": "Fallback",
|
|
331
|
+
"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field",
|
|
332
|
+
"enum": [
|
|
333
|
+
"Any",
|
|
334
|
+
"Opened",
|
|
335
|
+
"None",
|
|
336
|
+
"Fallback"
|
|
337
|
+
],
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"unbalanced": {
|
|
341
|
+
"default": "Fallback",
|
|
342
|
+
"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments",
|
|
343
|
+
"enum": [
|
|
344
|
+
"Any",
|
|
345
|
+
"Opened",
|
|
346
|
+
"None",
|
|
347
|
+
"Fallback"
|
|
348
|
+
],
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
"unused": {
|
|
352
|
+
"default": "Fallback",
|
|
353
|
+
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
354
|
+
"enum": [
|
|
355
|
+
"Any",
|
|
356
|
+
"Opened",
|
|
357
|
+
"None",
|
|
358
|
+
"Fallback"
|
|
359
|
+
],
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"scope": 4,
|
|
364
|
+
"title": "groupFileStatus",
|
|
365
|
+
"type": "object"
|
|
366
|
+
},
|
|
367
|
+
"Lua.diagnostics.groupSeverity": {
|
|
368
|
+
"additionalProperties": false,
|
|
369
|
+
"markdownDescription": "Modify the diagnostic severity in a group.\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.\nOther settings will override individual settings without end of `!`.\n",
|
|
370
|
+
"properties": {
|
|
371
|
+
"ambiguity": {
|
|
372
|
+
"default": "Fallback",
|
|
373
|
+
"description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call",
|
|
374
|
+
"enum": [
|
|
375
|
+
"Error",
|
|
376
|
+
"Warning",
|
|
377
|
+
"Information",
|
|
378
|
+
"Hint",
|
|
379
|
+
"Fallback"
|
|
380
|
+
],
|
|
381
|
+
"type": "string"
|
|
382
|
+
},
|
|
383
|
+
"await": {
|
|
384
|
+
"default": "Fallback",
|
|
385
|
+
"description": "* await-in-sync\n* not-yieldable",
|
|
386
|
+
"enum": [
|
|
387
|
+
"Error",
|
|
388
|
+
"Warning",
|
|
389
|
+
"Information",
|
|
390
|
+
"Hint",
|
|
391
|
+
"Fallback"
|
|
392
|
+
],
|
|
393
|
+
"type": "string"
|
|
394
|
+
},
|
|
395
|
+
"codestyle": {
|
|
396
|
+
"default": "Fallback",
|
|
397
|
+
"description": "* codestyle-check\n* spell-check",
|
|
398
|
+
"enum": [
|
|
399
|
+
"Error",
|
|
400
|
+
"Warning",
|
|
401
|
+
"Information",
|
|
402
|
+
"Hint",
|
|
403
|
+
"Fallback"
|
|
404
|
+
],
|
|
405
|
+
"type": "string"
|
|
406
|
+
},
|
|
407
|
+
"duplicate": {
|
|
408
|
+
"default": "Fallback",
|
|
409
|
+
"description": "* duplicate-index\n* duplicate-set-field",
|
|
410
|
+
"enum": [
|
|
411
|
+
"Error",
|
|
412
|
+
"Warning",
|
|
413
|
+
"Information",
|
|
414
|
+
"Hint",
|
|
415
|
+
"Fallback"
|
|
416
|
+
],
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"global": {
|
|
420
|
+
"default": "Fallback",
|
|
421
|
+
"description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global",
|
|
422
|
+
"enum": [
|
|
423
|
+
"Error",
|
|
424
|
+
"Warning",
|
|
425
|
+
"Information",
|
|
426
|
+
"Hint",
|
|
427
|
+
"Fallback"
|
|
428
|
+
],
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
431
|
+
"luadoc": {
|
|
432
|
+
"default": "Fallback",
|
|
433
|
+
"description": "* cast-type-mismatch\n* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code",
|
|
434
|
+
"enum": [
|
|
435
|
+
"Error",
|
|
436
|
+
"Warning",
|
|
437
|
+
"Information",
|
|
438
|
+
"Hint",
|
|
439
|
+
"Fallback"
|
|
440
|
+
],
|
|
441
|
+
"type": "string"
|
|
442
|
+
},
|
|
443
|
+
"redefined": {
|
|
444
|
+
"default": "Fallback",
|
|
445
|
+
"description": "* redefined-local",
|
|
446
|
+
"enum": [
|
|
447
|
+
"Error",
|
|
448
|
+
"Warning",
|
|
449
|
+
"Information",
|
|
450
|
+
"Hint",
|
|
451
|
+
"Fallback"
|
|
452
|
+
],
|
|
453
|
+
"type": "string"
|
|
454
|
+
},
|
|
455
|
+
"strict": {
|
|
456
|
+
"default": "Fallback",
|
|
457
|
+
"description": "* close-non-object\n* deprecated\n* discard-returns",
|
|
458
|
+
"enum": [
|
|
459
|
+
"Error",
|
|
460
|
+
"Warning",
|
|
461
|
+
"Information",
|
|
462
|
+
"Hint",
|
|
463
|
+
"Fallback"
|
|
464
|
+
],
|
|
465
|
+
"type": "string"
|
|
466
|
+
},
|
|
467
|
+
"strong": {
|
|
468
|
+
"default": "Fallback",
|
|
469
|
+
"description": "* no-unknown",
|
|
470
|
+
"enum": [
|
|
471
|
+
"Error",
|
|
472
|
+
"Warning",
|
|
473
|
+
"Information",
|
|
474
|
+
"Hint",
|
|
475
|
+
"Fallback"
|
|
476
|
+
],
|
|
477
|
+
"type": "string"
|
|
478
|
+
},
|
|
479
|
+
"type-check": {
|
|
480
|
+
"default": "Fallback",
|
|
481
|
+
"description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field",
|
|
482
|
+
"enum": [
|
|
483
|
+
"Error",
|
|
484
|
+
"Warning",
|
|
485
|
+
"Information",
|
|
486
|
+
"Hint",
|
|
487
|
+
"Fallback"
|
|
488
|
+
],
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
"unbalanced": {
|
|
492
|
+
"default": "Fallback",
|
|
493
|
+
"description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments",
|
|
494
|
+
"enum": [
|
|
495
|
+
"Error",
|
|
496
|
+
"Warning",
|
|
497
|
+
"Information",
|
|
498
|
+
"Hint",
|
|
499
|
+
"Fallback"
|
|
500
|
+
],
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
503
|
+
"unused": {
|
|
504
|
+
"default": "Fallback",
|
|
505
|
+
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
506
|
+
"enum": [
|
|
507
|
+
"Error",
|
|
508
|
+
"Warning",
|
|
509
|
+
"Information",
|
|
510
|
+
"Hint",
|
|
511
|
+
"Fallback"
|
|
512
|
+
],
|
|
513
|
+
"type": "string"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"scope": 4,
|
|
517
|
+
"title": "groupSeverity",
|
|
518
|
+
"type": "object"
|
|
519
|
+
},
|
|
131
520
|
"Lua.diagnostics.ignoredFiles": {
|
|
132
521
|
"default": "Opened",
|
|
133
522
|
"enum": [
|
|
@@ -162,7 +551,7 @@ var lua = [
|
|
|
162
551
|
},
|
|
163
552
|
"Lua.diagnostics.neededFileStatus": {
|
|
164
553
|
"additionalProperties": false,
|
|
165
|
-
"markdownDescription": "* Opened: only diagnose opened files\n* Any: diagnose all files\n*
|
|
554
|
+
"markdownDescription": "* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\nEnd with `!` means override the group setting `diagnostics.groupFileStatus`.\n",
|
|
166
555
|
"properties": {
|
|
167
556
|
"ambiguity-1": {
|
|
168
557
|
"default": "Any",
|
|
@@ -170,7 +559,23 @@ var lua = [
|
|
|
170
559
|
"enum": [
|
|
171
560
|
"Any",
|
|
172
561
|
"Opened",
|
|
173
|
-
"None"
|
|
562
|
+
"None",
|
|
563
|
+
"Any!",
|
|
564
|
+
"Opened!",
|
|
565
|
+
"None!"
|
|
566
|
+
],
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"assign-type-mismatch": {
|
|
570
|
+
"default": "Opened",
|
|
571
|
+
"description": "%config.diagnostics.assign-type-mismatch%",
|
|
572
|
+
"enum": [
|
|
573
|
+
"Any",
|
|
574
|
+
"Opened",
|
|
575
|
+
"None",
|
|
576
|
+
"Any!",
|
|
577
|
+
"Opened!",
|
|
578
|
+
"None!"
|
|
174
579
|
],
|
|
175
580
|
"type": "string"
|
|
176
581
|
},
|
|
@@ -180,7 +585,36 @@ var lua = [
|
|
|
180
585
|
"enum": [
|
|
181
586
|
"Any",
|
|
182
587
|
"Opened",
|
|
183
|
-
"None"
|
|
588
|
+
"None",
|
|
589
|
+
"Any!",
|
|
590
|
+
"Opened!",
|
|
591
|
+
"None!"
|
|
592
|
+
],
|
|
593
|
+
"type": "string"
|
|
594
|
+
},
|
|
595
|
+
"cast-local-type": {
|
|
596
|
+
"default": "Opened",
|
|
597
|
+
"description": "%config.diagnostics.cast-local-type%",
|
|
598
|
+
"enum": [
|
|
599
|
+
"Any",
|
|
600
|
+
"Opened",
|
|
601
|
+
"None",
|
|
602
|
+
"Any!",
|
|
603
|
+
"Opened!",
|
|
604
|
+
"None!"
|
|
605
|
+
],
|
|
606
|
+
"type": "string"
|
|
607
|
+
},
|
|
608
|
+
"cast-type-mismatch": {
|
|
609
|
+
"default": "Any",
|
|
610
|
+
"description": "%config.diagnostics.cast-type-mismatch%",
|
|
611
|
+
"enum": [
|
|
612
|
+
"Any",
|
|
613
|
+
"Opened",
|
|
614
|
+
"None",
|
|
615
|
+
"Any!",
|
|
616
|
+
"Opened!",
|
|
617
|
+
"None!"
|
|
184
618
|
],
|
|
185
619
|
"type": "string"
|
|
186
620
|
},
|
|
@@ -190,7 +624,10 @@ var lua = [
|
|
|
190
624
|
"enum": [
|
|
191
625
|
"Any",
|
|
192
626
|
"Opened",
|
|
193
|
-
"None"
|
|
627
|
+
"None",
|
|
628
|
+
"Any!",
|
|
629
|
+
"Opened!",
|
|
630
|
+
"None!"
|
|
194
631
|
],
|
|
195
632
|
"type": "string"
|
|
196
633
|
},
|
|
@@ -200,7 +637,10 @@ var lua = [
|
|
|
200
637
|
"enum": [
|
|
201
638
|
"Any",
|
|
202
639
|
"Opened",
|
|
203
|
-
"None"
|
|
640
|
+
"None",
|
|
641
|
+
"Any!",
|
|
642
|
+
"Opened!",
|
|
643
|
+
"None!"
|
|
204
644
|
],
|
|
205
645
|
"type": "string"
|
|
206
646
|
},
|
|
@@ -210,7 +650,10 @@ var lua = [
|
|
|
210
650
|
"enum": [
|
|
211
651
|
"Any",
|
|
212
652
|
"Opened",
|
|
213
|
-
"None"
|
|
653
|
+
"None",
|
|
654
|
+
"Any!",
|
|
655
|
+
"Opened!",
|
|
656
|
+
"None!"
|
|
214
657
|
],
|
|
215
658
|
"type": "string"
|
|
216
659
|
},
|
|
@@ -220,7 +663,10 @@ var lua = [
|
|
|
220
663
|
"enum": [
|
|
221
664
|
"Any",
|
|
222
665
|
"Opened",
|
|
223
|
-
"None"
|
|
666
|
+
"None",
|
|
667
|
+
"Any!",
|
|
668
|
+
"Opened!",
|
|
669
|
+
"None!"
|
|
224
670
|
],
|
|
225
671
|
"type": "string"
|
|
226
672
|
},
|
|
@@ -230,17 +676,23 @@ var lua = [
|
|
|
230
676
|
"enum": [
|
|
231
677
|
"Any",
|
|
232
678
|
"Opened",
|
|
233
|
-
"None"
|
|
679
|
+
"None",
|
|
680
|
+
"Any!",
|
|
681
|
+
"Opened!",
|
|
682
|
+
"None!"
|
|
234
683
|
],
|
|
235
684
|
"type": "string"
|
|
236
685
|
},
|
|
237
686
|
"deprecated": {
|
|
238
|
-
"default": "
|
|
687
|
+
"default": "Any",
|
|
239
688
|
"description": "%config.diagnostics.deprecated%",
|
|
240
689
|
"enum": [
|
|
241
690
|
"Any",
|
|
242
691
|
"Opened",
|
|
243
|
-
"None"
|
|
692
|
+
"None",
|
|
693
|
+
"Any!",
|
|
694
|
+
"Opened!",
|
|
695
|
+
"None!"
|
|
244
696
|
],
|
|
245
697
|
"type": "string"
|
|
246
698
|
},
|
|
@@ -250,17 +702,23 @@ var lua = [
|
|
|
250
702
|
"enum": [
|
|
251
703
|
"Any",
|
|
252
704
|
"Opened",
|
|
253
|
-
"None"
|
|
705
|
+
"None",
|
|
706
|
+
"Any!",
|
|
707
|
+
"Opened!",
|
|
708
|
+
"None!"
|
|
254
709
|
],
|
|
255
710
|
"type": "string"
|
|
256
711
|
},
|
|
257
712
|
"discard-returns": {
|
|
258
|
-
"default": "
|
|
713
|
+
"default": "Any",
|
|
259
714
|
"description": "%config.diagnostics.discard-returns%",
|
|
260
715
|
"enum": [
|
|
261
716
|
"Any",
|
|
262
717
|
"Opened",
|
|
263
|
-
"None"
|
|
718
|
+
"None",
|
|
719
|
+
"Any!",
|
|
720
|
+
"Opened!",
|
|
721
|
+
"None!"
|
|
264
722
|
],
|
|
265
723
|
"type": "string"
|
|
266
724
|
},
|
|
@@ -270,7 +728,10 @@ var lua = [
|
|
|
270
728
|
"enum": [
|
|
271
729
|
"Any",
|
|
272
730
|
"Opened",
|
|
273
|
-
"None"
|
|
731
|
+
"None",
|
|
732
|
+
"Any!",
|
|
733
|
+
"Opened!",
|
|
734
|
+
"None!"
|
|
274
735
|
],
|
|
275
736
|
"type": "string"
|
|
276
737
|
},
|
|
@@ -280,7 +741,10 @@ var lua = [
|
|
|
280
741
|
"enum": [
|
|
281
742
|
"Any",
|
|
282
743
|
"Opened",
|
|
283
|
-
"None"
|
|
744
|
+
"None",
|
|
745
|
+
"Any!",
|
|
746
|
+
"Opened!",
|
|
747
|
+
"None!"
|
|
284
748
|
],
|
|
285
749
|
"type": "string"
|
|
286
750
|
},
|
|
@@ -290,7 +754,10 @@ var lua = [
|
|
|
290
754
|
"enum": [
|
|
291
755
|
"Any",
|
|
292
756
|
"Opened",
|
|
293
|
-
"None"
|
|
757
|
+
"None",
|
|
758
|
+
"Any!",
|
|
759
|
+
"Opened!",
|
|
760
|
+
"None!"
|
|
294
761
|
],
|
|
295
762
|
"type": "string"
|
|
296
763
|
},
|
|
@@ -300,7 +767,10 @@ var lua = [
|
|
|
300
767
|
"enum": [
|
|
301
768
|
"Any",
|
|
302
769
|
"Opened",
|
|
303
|
-
"None"
|
|
770
|
+
"None",
|
|
771
|
+
"Any!",
|
|
772
|
+
"Opened!",
|
|
773
|
+
"None!"
|
|
304
774
|
],
|
|
305
775
|
"type": "string"
|
|
306
776
|
},
|
|
@@ -310,7 +780,10 @@ var lua = [
|
|
|
310
780
|
"enum": [
|
|
311
781
|
"Any",
|
|
312
782
|
"Opened",
|
|
313
|
-
"None"
|
|
783
|
+
"None",
|
|
784
|
+
"Any!",
|
|
785
|
+
"Opened!",
|
|
786
|
+
"None!"
|
|
314
787
|
],
|
|
315
788
|
"type": "string"
|
|
316
789
|
},
|
|
@@ -320,7 +793,10 @@ var lua = [
|
|
|
320
793
|
"enum": [
|
|
321
794
|
"Any",
|
|
322
795
|
"Opened",
|
|
323
|
-
"None"
|
|
796
|
+
"None",
|
|
797
|
+
"Any!",
|
|
798
|
+
"Opened!",
|
|
799
|
+
"None!"
|
|
324
800
|
],
|
|
325
801
|
"type": "string"
|
|
326
802
|
},
|
|
@@ -330,7 +806,10 @@ var lua = [
|
|
|
330
806
|
"enum": [
|
|
331
807
|
"Any",
|
|
332
808
|
"Opened",
|
|
333
|
-
"None"
|
|
809
|
+
"None",
|
|
810
|
+
"Any!",
|
|
811
|
+
"Opened!",
|
|
812
|
+
"None!"
|
|
334
813
|
],
|
|
335
814
|
"type": "string"
|
|
336
815
|
},
|
|
@@ -340,7 +819,10 @@ var lua = [
|
|
|
340
819
|
"enum": [
|
|
341
820
|
"Any",
|
|
342
821
|
"Opened",
|
|
343
|
-
"None"
|
|
822
|
+
"None",
|
|
823
|
+
"Any!",
|
|
824
|
+
"Opened!",
|
|
825
|
+
"None!"
|
|
344
826
|
],
|
|
345
827
|
"type": "string"
|
|
346
828
|
},
|
|
@@ -350,17 +832,49 @@ var lua = [
|
|
|
350
832
|
"enum": [
|
|
351
833
|
"Any",
|
|
352
834
|
"Opened",
|
|
353
|
-
"None"
|
|
835
|
+
"None",
|
|
836
|
+
"Any!",
|
|
837
|
+
"Opened!",
|
|
838
|
+
"None!"
|
|
354
839
|
],
|
|
355
840
|
"type": "string"
|
|
356
841
|
},
|
|
357
842
|
"missing-parameter": {
|
|
358
|
-
"default": "
|
|
843
|
+
"default": "Any",
|
|
359
844
|
"description": "%config.diagnostics.missing-parameter%",
|
|
360
845
|
"enum": [
|
|
361
846
|
"Any",
|
|
362
847
|
"Opened",
|
|
363
|
-
"None"
|
|
848
|
+
"None",
|
|
849
|
+
"Any!",
|
|
850
|
+
"Opened!",
|
|
851
|
+
"None!"
|
|
852
|
+
],
|
|
853
|
+
"type": "string"
|
|
854
|
+
},
|
|
855
|
+
"missing-return": {
|
|
856
|
+
"default": "Any",
|
|
857
|
+
"description": "%config.diagnostics.missing-return%",
|
|
858
|
+
"enum": [
|
|
859
|
+
"Any",
|
|
860
|
+
"Opened",
|
|
861
|
+
"None",
|
|
862
|
+
"Any!",
|
|
863
|
+
"Opened!",
|
|
864
|
+
"None!"
|
|
865
|
+
],
|
|
866
|
+
"type": "string"
|
|
867
|
+
},
|
|
868
|
+
"missing-return-value": {
|
|
869
|
+
"default": "Any",
|
|
870
|
+
"description": "%config.diagnostics.missing-return-value%",
|
|
871
|
+
"enum": [
|
|
872
|
+
"Any",
|
|
873
|
+
"Opened",
|
|
874
|
+
"None",
|
|
875
|
+
"Any!",
|
|
876
|
+
"Opened!",
|
|
877
|
+
"None!"
|
|
364
878
|
],
|
|
365
879
|
"type": "string"
|
|
366
880
|
},
|
|
@@ -370,7 +884,10 @@ var lua = [
|
|
|
370
884
|
"enum": [
|
|
371
885
|
"Any",
|
|
372
886
|
"Opened",
|
|
373
|
-
"None"
|
|
887
|
+
"None",
|
|
888
|
+
"Any!",
|
|
889
|
+
"Opened!",
|
|
890
|
+
"None!"
|
|
374
891
|
],
|
|
375
892
|
"type": "string"
|
|
376
893
|
},
|
|
@@ -380,7 +897,10 @@ var lua = [
|
|
|
380
897
|
"enum": [
|
|
381
898
|
"Any",
|
|
382
899
|
"Opened",
|
|
383
|
-
"None"
|
|
900
|
+
"None",
|
|
901
|
+
"Any!",
|
|
902
|
+
"Opened!",
|
|
903
|
+
"None!"
|
|
384
904
|
],
|
|
385
905
|
"type": "string"
|
|
386
906
|
},
|
|
@@ -390,7 +910,10 @@ var lua = [
|
|
|
390
910
|
"enum": [
|
|
391
911
|
"Any",
|
|
392
912
|
"Opened",
|
|
393
|
-
"None"
|
|
913
|
+
"None",
|
|
914
|
+
"Any!",
|
|
915
|
+
"Opened!",
|
|
916
|
+
"None!"
|
|
394
917
|
],
|
|
395
918
|
"type": "string"
|
|
396
919
|
},
|
|
@@ -400,7 +923,10 @@ var lua = [
|
|
|
400
923
|
"enum": [
|
|
401
924
|
"Any",
|
|
402
925
|
"Opened",
|
|
403
|
-
"None"
|
|
926
|
+
"None",
|
|
927
|
+
"Any!",
|
|
928
|
+
"Opened!",
|
|
929
|
+
"None!"
|
|
404
930
|
],
|
|
405
931
|
"type": "string"
|
|
406
932
|
},
|
|
@@ -410,7 +936,23 @@ var lua = [
|
|
|
410
936
|
"enum": [
|
|
411
937
|
"Any",
|
|
412
938
|
"Opened",
|
|
413
|
-
"None"
|
|
939
|
+
"None",
|
|
940
|
+
"Any!",
|
|
941
|
+
"Opened!",
|
|
942
|
+
"None!"
|
|
943
|
+
],
|
|
944
|
+
"type": "string"
|
|
945
|
+
},
|
|
946
|
+
"param-type-mismatch": {
|
|
947
|
+
"default": "Opened",
|
|
948
|
+
"description": "%config.diagnostics.param-type-mismatch%",
|
|
949
|
+
"enum": [
|
|
950
|
+
"Any",
|
|
951
|
+
"Opened",
|
|
952
|
+
"None",
|
|
953
|
+
"Any!",
|
|
954
|
+
"Opened!",
|
|
955
|
+
"None!"
|
|
414
956
|
],
|
|
415
957
|
"type": "string"
|
|
416
958
|
},
|
|
@@ -420,17 +962,23 @@ var lua = [
|
|
|
420
962
|
"enum": [
|
|
421
963
|
"Any",
|
|
422
964
|
"Opened",
|
|
423
|
-
"None"
|
|
965
|
+
"None",
|
|
966
|
+
"Any!",
|
|
967
|
+
"Opened!",
|
|
968
|
+
"None!"
|
|
424
969
|
],
|
|
425
970
|
"type": "string"
|
|
426
971
|
},
|
|
427
972
|
"redundant-parameter": {
|
|
428
|
-
"default": "
|
|
973
|
+
"default": "Any",
|
|
429
974
|
"description": "Enable redundant function parameter diagnostics.",
|
|
430
975
|
"enum": [
|
|
431
976
|
"Any",
|
|
432
977
|
"Opened",
|
|
433
|
-
"None"
|
|
978
|
+
"None",
|
|
979
|
+
"Any!",
|
|
980
|
+
"Opened!",
|
|
981
|
+
"None!"
|
|
434
982
|
],
|
|
435
983
|
"type": "string"
|
|
436
984
|
},
|
|
@@ -440,47 +988,75 @@ var lua = [
|
|
|
440
988
|
"enum": [
|
|
441
989
|
"Any",
|
|
442
990
|
"Opened",
|
|
443
|
-
"None"
|
|
991
|
+
"None",
|
|
992
|
+
"Any!",
|
|
993
|
+
"Opened!",
|
|
994
|
+
"None!"
|
|
444
995
|
],
|
|
445
996
|
"type": "string"
|
|
446
997
|
},
|
|
447
|
-
"redundant-value": {
|
|
448
|
-
"default": "
|
|
449
|
-
"description": "
|
|
998
|
+
"redundant-return-value": {
|
|
999
|
+
"default": "Any",
|
|
1000
|
+
"description": "%config.diagnostics.redundant-return-value%",
|
|
450
1001
|
"enum": [
|
|
451
1002
|
"Any",
|
|
452
1003
|
"Opened",
|
|
453
|
-
"None"
|
|
1004
|
+
"None",
|
|
1005
|
+
"Any!",
|
|
1006
|
+
"Opened!",
|
|
1007
|
+
"None!"
|
|
454
1008
|
],
|
|
455
1009
|
"type": "string"
|
|
456
1010
|
},
|
|
457
|
-
"
|
|
458
|
-
"default": "
|
|
459
|
-
"description": "
|
|
1011
|
+
"redundant-value": {
|
|
1012
|
+
"default": "Any",
|
|
1013
|
+
"description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.",
|
|
460
1014
|
"enum": [
|
|
461
1015
|
"Any",
|
|
462
1016
|
"Opened",
|
|
463
|
-
"None"
|
|
1017
|
+
"None",
|
|
1018
|
+
"Any!",
|
|
1019
|
+
"Opened!",
|
|
1020
|
+
"None!"
|
|
464
1021
|
],
|
|
465
1022
|
"type": "string"
|
|
466
1023
|
},
|
|
467
|
-
"
|
|
1024
|
+
"return-type-mismatch": {
|
|
468
1025
|
"default": "Opened",
|
|
469
|
-
"description": "
|
|
1026
|
+
"description": "%config.diagnostics.return-type-mismatch%",
|
|
470
1027
|
"enum": [
|
|
471
1028
|
"Any",
|
|
472
1029
|
"Opened",
|
|
473
|
-
"None"
|
|
1030
|
+
"None",
|
|
1031
|
+
"Any!",
|
|
1032
|
+
"Opened!",
|
|
1033
|
+
"None!"
|
|
474
1034
|
],
|
|
475
1035
|
"type": "string"
|
|
476
1036
|
},
|
|
477
|
-
"
|
|
1037
|
+
"spell-check": {
|
|
478
1038
|
"default": "None",
|
|
479
|
-
"description": "%config.diagnostics.
|
|
1039
|
+
"description": "%config.diagnostics.spell-check%",
|
|
480
1040
|
"enum": [
|
|
481
1041
|
"Any",
|
|
482
1042
|
"Opened",
|
|
483
|
-
"None"
|
|
1043
|
+
"None",
|
|
1044
|
+
"Any!",
|
|
1045
|
+
"Opened!",
|
|
1046
|
+
"None!"
|
|
1047
|
+
],
|
|
1048
|
+
"type": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"trailing-space": {
|
|
1051
|
+
"default": "Opened",
|
|
1052
|
+
"description": "Enable trailing space diagnostics.",
|
|
1053
|
+
"enum": [
|
|
1054
|
+
"Any",
|
|
1055
|
+
"Opened",
|
|
1056
|
+
"None",
|
|
1057
|
+
"Any!",
|
|
1058
|
+
"Opened!",
|
|
1059
|
+
"None!"
|
|
484
1060
|
],
|
|
485
1061
|
"type": "string"
|
|
486
1062
|
},
|
|
@@ -490,7 +1066,10 @@ var lua = [
|
|
|
490
1066
|
"enum": [
|
|
491
1067
|
"Any",
|
|
492
1068
|
"Opened",
|
|
493
|
-
"None"
|
|
1069
|
+
"None",
|
|
1070
|
+
"Any!",
|
|
1071
|
+
"Opened!",
|
|
1072
|
+
"None!"
|
|
494
1073
|
],
|
|
495
1074
|
"type": "string"
|
|
496
1075
|
},
|
|
@@ -500,7 +1079,10 @@ var lua = [
|
|
|
500
1079
|
"enum": [
|
|
501
1080
|
"Any",
|
|
502
1081
|
"Opened",
|
|
503
|
-
"None"
|
|
1082
|
+
"None",
|
|
1083
|
+
"Any!",
|
|
1084
|
+
"Opened!",
|
|
1085
|
+
"None!"
|
|
504
1086
|
],
|
|
505
1087
|
"type": "string"
|
|
506
1088
|
},
|
|
@@ -510,7 +1092,10 @@ var lua = [
|
|
|
510
1092
|
"enum": [
|
|
511
1093
|
"Any",
|
|
512
1094
|
"Opened",
|
|
513
|
-
"None"
|
|
1095
|
+
"None",
|
|
1096
|
+
"Any!",
|
|
1097
|
+
"Opened!",
|
|
1098
|
+
"None!"
|
|
514
1099
|
],
|
|
515
1100
|
"type": "string"
|
|
516
1101
|
},
|
|
@@ -520,7 +1105,10 @@ var lua = [
|
|
|
520
1105
|
"enum": [
|
|
521
1106
|
"Any",
|
|
522
1107
|
"Opened",
|
|
523
|
-
"None"
|
|
1108
|
+
"None",
|
|
1109
|
+
"Any!",
|
|
1110
|
+
"Opened!",
|
|
1111
|
+
"None!"
|
|
524
1112
|
],
|
|
525
1113
|
"type": "string"
|
|
526
1114
|
},
|
|
@@ -530,7 +1118,10 @@ var lua = [
|
|
|
530
1118
|
"enum": [
|
|
531
1119
|
"Any",
|
|
532
1120
|
"Opened",
|
|
533
|
-
"None"
|
|
1121
|
+
"None",
|
|
1122
|
+
"Any!",
|
|
1123
|
+
"Opened!",
|
|
1124
|
+
"None!"
|
|
534
1125
|
],
|
|
535
1126
|
"type": "string"
|
|
536
1127
|
},
|
|
@@ -540,7 +1131,10 @@ var lua = [
|
|
|
540
1131
|
"enum": [
|
|
541
1132
|
"Any",
|
|
542
1133
|
"Opened",
|
|
543
|
-
"None"
|
|
1134
|
+
"None",
|
|
1135
|
+
"Any!",
|
|
1136
|
+
"Opened!",
|
|
1137
|
+
"None!"
|
|
544
1138
|
],
|
|
545
1139
|
"type": "string"
|
|
546
1140
|
},
|
|
@@ -550,7 +1144,23 @@ var lua = [
|
|
|
550
1144
|
"enum": [
|
|
551
1145
|
"Any",
|
|
552
1146
|
"Opened",
|
|
553
|
-
"None"
|
|
1147
|
+
"None",
|
|
1148
|
+
"Any!",
|
|
1149
|
+
"Opened!",
|
|
1150
|
+
"None!"
|
|
1151
|
+
],
|
|
1152
|
+
"type": "string"
|
|
1153
|
+
},
|
|
1154
|
+
"unknown-cast-variable": {
|
|
1155
|
+
"default": "Any",
|
|
1156
|
+
"description": "%config.diagnostics.unknown-cast-variable%",
|
|
1157
|
+
"enum": [
|
|
1158
|
+
"Any",
|
|
1159
|
+
"Opened",
|
|
1160
|
+
"None",
|
|
1161
|
+
"Any!",
|
|
1162
|
+
"Opened!",
|
|
1163
|
+
"None!"
|
|
554
1164
|
],
|
|
555
1165
|
"type": "string"
|
|
556
1166
|
},
|
|
@@ -560,7 +1170,10 @@ var lua = [
|
|
|
560
1170
|
"enum": [
|
|
561
1171
|
"Any",
|
|
562
1172
|
"Opened",
|
|
563
|
-
"None"
|
|
1173
|
+
"None",
|
|
1174
|
+
"Any!",
|
|
1175
|
+
"Opened!",
|
|
1176
|
+
"None!"
|
|
564
1177
|
],
|
|
565
1178
|
"type": "string"
|
|
566
1179
|
},
|
|
@@ -570,7 +1183,10 @@ var lua = [
|
|
|
570
1183
|
"enum": [
|
|
571
1184
|
"Any",
|
|
572
1185
|
"Opened",
|
|
573
|
-
"None"
|
|
1186
|
+
"None",
|
|
1187
|
+
"Any!",
|
|
1188
|
+
"Opened!",
|
|
1189
|
+
"None!"
|
|
574
1190
|
],
|
|
575
1191
|
"type": "string"
|
|
576
1192
|
},
|
|
@@ -580,7 +1196,10 @@ var lua = [
|
|
|
580
1196
|
"enum": [
|
|
581
1197
|
"Any",
|
|
582
1198
|
"Opened",
|
|
583
|
-
"None"
|
|
1199
|
+
"None",
|
|
1200
|
+
"Any!",
|
|
1201
|
+
"Opened!",
|
|
1202
|
+
"None!"
|
|
584
1203
|
],
|
|
585
1204
|
"type": "string"
|
|
586
1205
|
},
|
|
@@ -590,7 +1209,10 @@ var lua = [
|
|
|
590
1209
|
"enum": [
|
|
591
1210
|
"Any",
|
|
592
1211
|
"Opened",
|
|
593
|
-
"None"
|
|
1212
|
+
"None",
|
|
1213
|
+
"Any!",
|
|
1214
|
+
"Opened!",
|
|
1215
|
+
"None!"
|
|
594
1216
|
],
|
|
595
1217
|
"type": "string"
|
|
596
1218
|
},
|
|
@@ -600,7 +1222,10 @@ var lua = [
|
|
|
600
1222
|
"enum": [
|
|
601
1223
|
"Any",
|
|
602
1224
|
"Opened",
|
|
603
|
-
"None"
|
|
1225
|
+
"None",
|
|
1226
|
+
"Any!",
|
|
1227
|
+
"Opened!",
|
|
1228
|
+
"None!"
|
|
604
1229
|
],
|
|
605
1230
|
"type": "string"
|
|
606
1231
|
}
|
|
@@ -611,7 +1236,7 @@ var lua = [
|
|
|
611
1236
|
},
|
|
612
1237
|
"Lua.diagnostics.severity": {
|
|
613
1238
|
"additionalProperties": false,
|
|
614
|
-
"markdownDescription": "
|
|
1239
|
+
"markdownDescription": "Modify the diagnostic severity.\n\nEnd with `!` means override the group setting `diagnostics.groupSeverity`.\n",
|
|
615
1240
|
"properties": {
|
|
616
1241
|
"ambiguity-1": {
|
|
617
1242
|
"default": "Warning",
|
|
@@ -620,7 +1245,26 @@ var lua = [
|
|
|
620
1245
|
"Error",
|
|
621
1246
|
"Warning",
|
|
622
1247
|
"Information",
|
|
623
|
-
"Hint"
|
|
1248
|
+
"Hint",
|
|
1249
|
+
"Error!",
|
|
1250
|
+
"Warning!",
|
|
1251
|
+
"Information!",
|
|
1252
|
+
"Hint!"
|
|
1253
|
+
],
|
|
1254
|
+
"type": "string"
|
|
1255
|
+
},
|
|
1256
|
+
"assign-type-mismatch": {
|
|
1257
|
+
"default": "Warning",
|
|
1258
|
+
"description": "%config.diagnostics.assign-type-mismatch%",
|
|
1259
|
+
"enum": [
|
|
1260
|
+
"Error",
|
|
1261
|
+
"Warning",
|
|
1262
|
+
"Information",
|
|
1263
|
+
"Hint",
|
|
1264
|
+
"Error!",
|
|
1265
|
+
"Warning!",
|
|
1266
|
+
"Information!",
|
|
1267
|
+
"Hint!"
|
|
624
1268
|
],
|
|
625
1269
|
"type": "string"
|
|
626
1270
|
},
|
|
@@ -631,7 +1275,41 @@ var lua = [
|
|
|
631
1275
|
"Error",
|
|
632
1276
|
"Warning",
|
|
633
1277
|
"Information",
|
|
634
|
-
"Hint"
|
|
1278
|
+
"Hint",
|
|
1279
|
+
"Error!",
|
|
1280
|
+
"Warning!",
|
|
1281
|
+
"Information!",
|
|
1282
|
+
"Hint!"
|
|
1283
|
+
],
|
|
1284
|
+
"type": "string"
|
|
1285
|
+
},
|
|
1286
|
+
"cast-local-type": {
|
|
1287
|
+
"default": "Warning",
|
|
1288
|
+
"description": "%config.diagnostics.cast-local-type%",
|
|
1289
|
+
"enum": [
|
|
1290
|
+
"Error",
|
|
1291
|
+
"Warning",
|
|
1292
|
+
"Information",
|
|
1293
|
+
"Hint",
|
|
1294
|
+
"Error!",
|
|
1295
|
+
"Warning!",
|
|
1296
|
+
"Information!",
|
|
1297
|
+
"Hint!"
|
|
1298
|
+
],
|
|
1299
|
+
"type": "string"
|
|
1300
|
+
},
|
|
1301
|
+
"cast-type-mismatch": {
|
|
1302
|
+
"default": "Warning",
|
|
1303
|
+
"description": "%config.diagnostics.cast-type-mismatch%",
|
|
1304
|
+
"enum": [
|
|
1305
|
+
"Error",
|
|
1306
|
+
"Warning",
|
|
1307
|
+
"Information",
|
|
1308
|
+
"Hint",
|
|
1309
|
+
"Error!",
|
|
1310
|
+
"Warning!",
|
|
1311
|
+
"Information!",
|
|
1312
|
+
"Hint!"
|
|
635
1313
|
],
|
|
636
1314
|
"type": "string"
|
|
637
1315
|
},
|
|
@@ -642,7 +1320,11 @@ var lua = [
|
|
|
642
1320
|
"Error",
|
|
643
1321
|
"Warning",
|
|
644
1322
|
"Information",
|
|
645
|
-
"Hint"
|
|
1323
|
+
"Hint",
|
|
1324
|
+
"Error!",
|
|
1325
|
+
"Warning!",
|
|
1326
|
+
"Information!",
|
|
1327
|
+
"Hint!"
|
|
646
1328
|
],
|
|
647
1329
|
"type": "string"
|
|
648
1330
|
},
|
|
@@ -653,7 +1335,11 @@ var lua = [
|
|
|
653
1335
|
"Error",
|
|
654
1336
|
"Warning",
|
|
655
1337
|
"Information",
|
|
656
|
-
"Hint"
|
|
1338
|
+
"Hint",
|
|
1339
|
+
"Error!",
|
|
1340
|
+
"Warning!",
|
|
1341
|
+
"Information!",
|
|
1342
|
+
"Hint!"
|
|
657
1343
|
],
|
|
658
1344
|
"type": "string"
|
|
659
1345
|
},
|
|
@@ -664,7 +1350,11 @@ var lua = [
|
|
|
664
1350
|
"Error",
|
|
665
1351
|
"Warning",
|
|
666
1352
|
"Information",
|
|
667
|
-
"Hint"
|
|
1353
|
+
"Hint",
|
|
1354
|
+
"Error!",
|
|
1355
|
+
"Warning!",
|
|
1356
|
+
"Information!",
|
|
1357
|
+
"Hint!"
|
|
668
1358
|
],
|
|
669
1359
|
"type": "string"
|
|
670
1360
|
},
|
|
@@ -675,7 +1365,11 @@ var lua = [
|
|
|
675
1365
|
"Error",
|
|
676
1366
|
"Warning",
|
|
677
1367
|
"Information",
|
|
678
|
-
"Hint"
|
|
1368
|
+
"Hint",
|
|
1369
|
+
"Error!",
|
|
1370
|
+
"Warning!",
|
|
1371
|
+
"Information!",
|
|
1372
|
+
"Hint!"
|
|
679
1373
|
],
|
|
680
1374
|
"type": "string"
|
|
681
1375
|
},
|
|
@@ -686,7 +1380,11 @@ var lua = [
|
|
|
686
1380
|
"Error",
|
|
687
1381
|
"Warning",
|
|
688
1382
|
"Information",
|
|
689
|
-
"Hint"
|
|
1383
|
+
"Hint",
|
|
1384
|
+
"Error!",
|
|
1385
|
+
"Warning!",
|
|
1386
|
+
"Information!",
|
|
1387
|
+
"Hint!"
|
|
690
1388
|
],
|
|
691
1389
|
"type": "string"
|
|
692
1390
|
},
|
|
@@ -697,7 +1395,11 @@ var lua = [
|
|
|
697
1395
|
"Error",
|
|
698
1396
|
"Warning",
|
|
699
1397
|
"Information",
|
|
700
|
-
"Hint"
|
|
1398
|
+
"Hint",
|
|
1399
|
+
"Error!",
|
|
1400
|
+
"Warning!",
|
|
1401
|
+
"Information!",
|
|
1402
|
+
"Hint!"
|
|
701
1403
|
],
|
|
702
1404
|
"type": "string"
|
|
703
1405
|
},
|
|
@@ -708,7 +1410,11 @@ var lua = [
|
|
|
708
1410
|
"Error",
|
|
709
1411
|
"Warning",
|
|
710
1412
|
"Information",
|
|
711
|
-
"Hint"
|
|
1413
|
+
"Hint",
|
|
1414
|
+
"Error!",
|
|
1415
|
+
"Warning!",
|
|
1416
|
+
"Information!",
|
|
1417
|
+
"Hint!"
|
|
712
1418
|
],
|
|
713
1419
|
"type": "string"
|
|
714
1420
|
},
|
|
@@ -719,7 +1425,11 @@ var lua = [
|
|
|
719
1425
|
"Error",
|
|
720
1426
|
"Warning",
|
|
721
1427
|
"Information",
|
|
722
|
-
"Hint"
|
|
1428
|
+
"Hint",
|
|
1429
|
+
"Error!",
|
|
1430
|
+
"Warning!",
|
|
1431
|
+
"Information!",
|
|
1432
|
+
"Hint!"
|
|
723
1433
|
],
|
|
724
1434
|
"type": "string"
|
|
725
1435
|
},
|
|
@@ -730,7 +1440,11 @@ var lua = [
|
|
|
730
1440
|
"Error",
|
|
731
1441
|
"Warning",
|
|
732
1442
|
"Information",
|
|
733
|
-
"Hint"
|
|
1443
|
+
"Hint",
|
|
1444
|
+
"Error!",
|
|
1445
|
+
"Warning!",
|
|
1446
|
+
"Information!",
|
|
1447
|
+
"Hint!"
|
|
734
1448
|
],
|
|
735
1449
|
"type": "string"
|
|
736
1450
|
},
|
|
@@ -741,7 +1455,11 @@ var lua = [
|
|
|
741
1455
|
"Error",
|
|
742
1456
|
"Warning",
|
|
743
1457
|
"Information",
|
|
744
|
-
"Hint"
|
|
1458
|
+
"Hint",
|
|
1459
|
+
"Error!",
|
|
1460
|
+
"Warning!",
|
|
1461
|
+
"Information!",
|
|
1462
|
+
"Hint!"
|
|
745
1463
|
],
|
|
746
1464
|
"type": "string"
|
|
747
1465
|
},
|
|
@@ -752,7 +1470,11 @@ var lua = [
|
|
|
752
1470
|
"Error",
|
|
753
1471
|
"Warning",
|
|
754
1472
|
"Information",
|
|
755
|
-
"Hint"
|
|
1473
|
+
"Hint",
|
|
1474
|
+
"Error!",
|
|
1475
|
+
"Warning!",
|
|
1476
|
+
"Information!",
|
|
1477
|
+
"Hint!"
|
|
756
1478
|
],
|
|
757
1479
|
"type": "string"
|
|
758
1480
|
},
|
|
@@ -763,7 +1485,11 @@ var lua = [
|
|
|
763
1485
|
"Error",
|
|
764
1486
|
"Warning",
|
|
765
1487
|
"Information",
|
|
766
|
-
"Hint"
|
|
1488
|
+
"Hint",
|
|
1489
|
+
"Error!",
|
|
1490
|
+
"Warning!",
|
|
1491
|
+
"Information!",
|
|
1492
|
+
"Hint!"
|
|
767
1493
|
],
|
|
768
1494
|
"type": "string"
|
|
769
1495
|
},
|
|
@@ -774,7 +1500,11 @@ var lua = [
|
|
|
774
1500
|
"Error",
|
|
775
1501
|
"Warning",
|
|
776
1502
|
"Information",
|
|
777
|
-
"Hint"
|
|
1503
|
+
"Hint",
|
|
1504
|
+
"Error!",
|
|
1505
|
+
"Warning!",
|
|
1506
|
+
"Information!",
|
|
1507
|
+
"Hint!"
|
|
778
1508
|
],
|
|
779
1509
|
"type": "string"
|
|
780
1510
|
},
|
|
@@ -785,7 +1515,11 @@ var lua = [
|
|
|
785
1515
|
"Error",
|
|
786
1516
|
"Warning",
|
|
787
1517
|
"Information",
|
|
788
|
-
"Hint"
|
|
1518
|
+
"Hint",
|
|
1519
|
+
"Error!",
|
|
1520
|
+
"Warning!",
|
|
1521
|
+
"Information!",
|
|
1522
|
+
"Hint!"
|
|
789
1523
|
],
|
|
790
1524
|
"type": "string"
|
|
791
1525
|
},
|
|
@@ -796,7 +1530,11 @@ var lua = [
|
|
|
796
1530
|
"Error",
|
|
797
1531
|
"Warning",
|
|
798
1532
|
"Information",
|
|
799
|
-
"Hint"
|
|
1533
|
+
"Hint",
|
|
1534
|
+
"Error!",
|
|
1535
|
+
"Warning!",
|
|
1536
|
+
"Information!",
|
|
1537
|
+
"Hint!"
|
|
800
1538
|
],
|
|
801
1539
|
"type": "string"
|
|
802
1540
|
},
|
|
@@ -807,7 +1545,11 @@ var lua = [
|
|
|
807
1545
|
"Error",
|
|
808
1546
|
"Warning",
|
|
809
1547
|
"Information",
|
|
810
|
-
"Hint"
|
|
1548
|
+
"Hint",
|
|
1549
|
+
"Error!",
|
|
1550
|
+
"Warning!",
|
|
1551
|
+
"Information!",
|
|
1552
|
+
"Hint!"
|
|
811
1553
|
],
|
|
812
1554
|
"type": "string"
|
|
813
1555
|
},
|
|
@@ -818,7 +1560,11 @@ var lua = [
|
|
|
818
1560
|
"Error",
|
|
819
1561
|
"Warning",
|
|
820
1562
|
"Information",
|
|
821
|
-
"Hint"
|
|
1563
|
+
"Hint",
|
|
1564
|
+
"Error!",
|
|
1565
|
+
"Warning!",
|
|
1566
|
+
"Information!",
|
|
1567
|
+
"Hint!"
|
|
822
1568
|
],
|
|
823
1569
|
"type": "string"
|
|
824
1570
|
},
|
|
@@ -829,7 +1575,41 @@ var lua = [
|
|
|
829
1575
|
"Error",
|
|
830
1576
|
"Warning",
|
|
831
1577
|
"Information",
|
|
832
|
-
"Hint"
|
|
1578
|
+
"Hint",
|
|
1579
|
+
"Error!",
|
|
1580
|
+
"Warning!",
|
|
1581
|
+
"Information!",
|
|
1582
|
+
"Hint!"
|
|
1583
|
+
],
|
|
1584
|
+
"type": "string"
|
|
1585
|
+
},
|
|
1586
|
+
"missing-return": {
|
|
1587
|
+
"default": "Warning",
|
|
1588
|
+
"description": "%config.diagnostics.missing-return%",
|
|
1589
|
+
"enum": [
|
|
1590
|
+
"Error",
|
|
1591
|
+
"Warning",
|
|
1592
|
+
"Information",
|
|
1593
|
+
"Hint",
|
|
1594
|
+
"Error!",
|
|
1595
|
+
"Warning!",
|
|
1596
|
+
"Information!",
|
|
1597
|
+
"Hint!"
|
|
1598
|
+
],
|
|
1599
|
+
"type": "string"
|
|
1600
|
+
},
|
|
1601
|
+
"missing-return-value": {
|
|
1602
|
+
"default": "Warning",
|
|
1603
|
+
"description": "%config.diagnostics.missing-return-value%",
|
|
1604
|
+
"enum": [
|
|
1605
|
+
"Error",
|
|
1606
|
+
"Warning",
|
|
1607
|
+
"Information",
|
|
1608
|
+
"Hint",
|
|
1609
|
+
"Error!",
|
|
1610
|
+
"Warning!",
|
|
1611
|
+
"Information!",
|
|
1612
|
+
"Hint!"
|
|
833
1613
|
],
|
|
834
1614
|
"type": "string"
|
|
835
1615
|
},
|
|
@@ -840,7 +1620,11 @@ var lua = [
|
|
|
840
1620
|
"Error",
|
|
841
1621
|
"Warning",
|
|
842
1622
|
"Information",
|
|
843
|
-
"Hint"
|
|
1623
|
+
"Hint",
|
|
1624
|
+
"Error!",
|
|
1625
|
+
"Warning!",
|
|
1626
|
+
"Information!",
|
|
1627
|
+
"Hint!"
|
|
844
1628
|
],
|
|
845
1629
|
"type": "string"
|
|
846
1630
|
},
|
|
@@ -851,29 +1635,41 @@ var lua = [
|
|
|
851
1635
|
"Error",
|
|
852
1636
|
"Warning",
|
|
853
1637
|
"Information",
|
|
854
|
-
"Hint"
|
|
1638
|
+
"Hint",
|
|
1639
|
+
"Error!",
|
|
1640
|
+
"Warning!",
|
|
1641
|
+
"Information!",
|
|
1642
|
+
"Hint!"
|
|
855
1643
|
],
|
|
856
1644
|
"type": "string"
|
|
857
1645
|
},
|
|
858
1646
|
"newline-call": {
|
|
859
|
-
"default": "
|
|
1647
|
+
"default": "Warning",
|
|
860
1648
|
"description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.",
|
|
861
1649
|
"enum": [
|
|
862
1650
|
"Error",
|
|
863
1651
|
"Warning",
|
|
864
1652
|
"Information",
|
|
865
|
-
"Hint"
|
|
1653
|
+
"Hint",
|
|
1654
|
+
"Error!",
|
|
1655
|
+
"Warning!",
|
|
1656
|
+
"Information!",
|
|
1657
|
+
"Hint!"
|
|
866
1658
|
],
|
|
867
1659
|
"type": "string"
|
|
868
1660
|
},
|
|
869
1661
|
"no-unknown": {
|
|
870
|
-
"default": "
|
|
1662
|
+
"default": "Warning",
|
|
871
1663
|
"description": "%config.diagnostics.no-unknown%",
|
|
872
1664
|
"enum": [
|
|
873
1665
|
"Error",
|
|
874
1666
|
"Warning",
|
|
875
1667
|
"Information",
|
|
876
|
-
"Hint"
|
|
1668
|
+
"Hint",
|
|
1669
|
+
"Error!",
|
|
1670
|
+
"Warning!",
|
|
1671
|
+
"Information!",
|
|
1672
|
+
"Hint!"
|
|
877
1673
|
],
|
|
878
1674
|
"type": "string"
|
|
879
1675
|
},
|
|
@@ -884,7 +1680,26 @@ var lua = [
|
|
|
884
1680
|
"Error",
|
|
885
1681
|
"Warning",
|
|
886
1682
|
"Information",
|
|
887
|
-
"Hint"
|
|
1683
|
+
"Hint",
|
|
1684
|
+
"Error!",
|
|
1685
|
+
"Warning!",
|
|
1686
|
+
"Information!",
|
|
1687
|
+
"Hint!"
|
|
1688
|
+
],
|
|
1689
|
+
"type": "string"
|
|
1690
|
+
},
|
|
1691
|
+
"param-type-mismatch": {
|
|
1692
|
+
"default": "Warning",
|
|
1693
|
+
"description": "%config.diagnostics.param-type-mismatch%",
|
|
1694
|
+
"enum": [
|
|
1695
|
+
"Error",
|
|
1696
|
+
"Warning",
|
|
1697
|
+
"Information",
|
|
1698
|
+
"Hint",
|
|
1699
|
+
"Error!",
|
|
1700
|
+
"Warning!",
|
|
1701
|
+
"Information!",
|
|
1702
|
+
"Hint!"
|
|
888
1703
|
],
|
|
889
1704
|
"type": "string"
|
|
890
1705
|
},
|
|
@@ -895,7 +1710,11 @@ var lua = [
|
|
|
895
1710
|
"Error",
|
|
896
1711
|
"Warning",
|
|
897
1712
|
"Information",
|
|
898
|
-
"Hint"
|
|
1713
|
+
"Hint",
|
|
1714
|
+
"Error!",
|
|
1715
|
+
"Warning!",
|
|
1716
|
+
"Information!",
|
|
1717
|
+
"Hint!"
|
|
899
1718
|
],
|
|
900
1719
|
"type": "string"
|
|
901
1720
|
},
|
|
@@ -906,18 +1725,41 @@ var lua = [
|
|
|
906
1725
|
"Error",
|
|
907
1726
|
"Warning",
|
|
908
1727
|
"Information",
|
|
909
|
-
"Hint"
|
|
1728
|
+
"Hint",
|
|
1729
|
+
"Error!",
|
|
1730
|
+
"Warning!",
|
|
1731
|
+
"Information!",
|
|
1732
|
+
"Hint!"
|
|
910
1733
|
],
|
|
911
1734
|
"type": "string"
|
|
912
1735
|
},
|
|
913
1736
|
"redundant-return": {
|
|
914
|
-
"default": "
|
|
1737
|
+
"default": "Hint",
|
|
915
1738
|
"description": "%config.diagnostics.redundant-return%",
|
|
916
1739
|
"enum": [
|
|
917
1740
|
"Error",
|
|
918
1741
|
"Warning",
|
|
919
1742
|
"Information",
|
|
920
|
-
"Hint"
|
|
1743
|
+
"Hint",
|
|
1744
|
+
"Error!",
|
|
1745
|
+
"Warning!",
|
|
1746
|
+
"Information!",
|
|
1747
|
+
"Hint!"
|
|
1748
|
+
],
|
|
1749
|
+
"type": "string"
|
|
1750
|
+
},
|
|
1751
|
+
"redundant-return-value": {
|
|
1752
|
+
"default": "Warning",
|
|
1753
|
+
"description": "%config.diagnostics.redundant-return-value%",
|
|
1754
|
+
"enum": [
|
|
1755
|
+
"Error",
|
|
1756
|
+
"Warning",
|
|
1757
|
+
"Information",
|
|
1758
|
+
"Hint",
|
|
1759
|
+
"Error!",
|
|
1760
|
+
"Warning!",
|
|
1761
|
+
"Information!",
|
|
1762
|
+
"Hint!"
|
|
921
1763
|
],
|
|
922
1764
|
"type": "string"
|
|
923
1765
|
},
|
|
@@ -928,40 +1770,56 @@ var lua = [
|
|
|
928
1770
|
"Error",
|
|
929
1771
|
"Warning",
|
|
930
1772
|
"Information",
|
|
931
|
-
"Hint"
|
|
1773
|
+
"Hint",
|
|
1774
|
+
"Error!",
|
|
1775
|
+
"Warning!",
|
|
1776
|
+
"Information!",
|
|
1777
|
+
"Hint!"
|
|
932
1778
|
],
|
|
933
1779
|
"type": "string"
|
|
934
1780
|
},
|
|
935
|
-
"
|
|
936
|
-
"default": "
|
|
937
|
-
"description": "%config.diagnostics.
|
|
1781
|
+
"return-type-mismatch": {
|
|
1782
|
+
"default": "Warning",
|
|
1783
|
+
"description": "%config.diagnostics.return-type-mismatch%",
|
|
938
1784
|
"enum": [
|
|
939
1785
|
"Error",
|
|
940
1786
|
"Warning",
|
|
941
1787
|
"Information",
|
|
942
|
-
"Hint"
|
|
1788
|
+
"Hint",
|
|
1789
|
+
"Error!",
|
|
1790
|
+
"Warning!",
|
|
1791
|
+
"Information!",
|
|
1792
|
+
"Hint!"
|
|
943
1793
|
],
|
|
944
1794
|
"type": "string"
|
|
945
1795
|
},
|
|
946
|
-
"
|
|
947
|
-
"default": "
|
|
948
|
-
"description": "
|
|
1796
|
+
"spell-check": {
|
|
1797
|
+
"default": "Information",
|
|
1798
|
+
"description": "%config.diagnostics.spell-check%",
|
|
949
1799
|
"enum": [
|
|
950
1800
|
"Error",
|
|
951
1801
|
"Warning",
|
|
952
1802
|
"Information",
|
|
953
|
-
"Hint"
|
|
1803
|
+
"Hint",
|
|
1804
|
+
"Error!",
|
|
1805
|
+
"Warning!",
|
|
1806
|
+
"Information!",
|
|
1807
|
+
"Hint!"
|
|
954
1808
|
],
|
|
955
1809
|
"type": "string"
|
|
956
1810
|
},
|
|
957
|
-
"
|
|
958
|
-
"default": "
|
|
959
|
-
"description": "
|
|
1811
|
+
"trailing-space": {
|
|
1812
|
+
"default": "Hint",
|
|
1813
|
+
"description": "Enable trailing space diagnostics.",
|
|
960
1814
|
"enum": [
|
|
961
1815
|
"Error",
|
|
962
1816
|
"Warning",
|
|
963
1817
|
"Information",
|
|
964
|
-
"Hint"
|
|
1818
|
+
"Hint",
|
|
1819
|
+
"Error!",
|
|
1820
|
+
"Warning!",
|
|
1821
|
+
"Information!",
|
|
1822
|
+
"Hint!"
|
|
965
1823
|
],
|
|
966
1824
|
"type": "string"
|
|
967
1825
|
},
|
|
@@ -972,7 +1830,11 @@ var lua = [
|
|
|
972
1830
|
"Error",
|
|
973
1831
|
"Warning",
|
|
974
1832
|
"Information",
|
|
975
|
-
"Hint"
|
|
1833
|
+
"Hint",
|
|
1834
|
+
"Error!",
|
|
1835
|
+
"Warning!",
|
|
1836
|
+
"Information!",
|
|
1837
|
+
"Hint!"
|
|
976
1838
|
],
|
|
977
1839
|
"type": "string"
|
|
978
1840
|
},
|
|
@@ -983,7 +1845,11 @@ var lua = [
|
|
|
983
1845
|
"Error",
|
|
984
1846
|
"Warning",
|
|
985
1847
|
"Information",
|
|
986
|
-
"Hint"
|
|
1848
|
+
"Hint",
|
|
1849
|
+
"Error!",
|
|
1850
|
+
"Warning!",
|
|
1851
|
+
"Information!",
|
|
1852
|
+
"Hint!"
|
|
987
1853
|
],
|
|
988
1854
|
"type": "string"
|
|
989
1855
|
},
|
|
@@ -994,7 +1860,11 @@ var lua = [
|
|
|
994
1860
|
"Error",
|
|
995
1861
|
"Warning",
|
|
996
1862
|
"Information",
|
|
997
|
-
"Hint"
|
|
1863
|
+
"Hint",
|
|
1864
|
+
"Error!",
|
|
1865
|
+
"Warning!",
|
|
1866
|
+
"Information!",
|
|
1867
|
+
"Hint!"
|
|
998
1868
|
],
|
|
999
1869
|
"type": "string"
|
|
1000
1870
|
},
|
|
@@ -1005,7 +1875,11 @@ var lua = [
|
|
|
1005
1875
|
"Error",
|
|
1006
1876
|
"Warning",
|
|
1007
1877
|
"Information",
|
|
1008
|
-
"Hint"
|
|
1878
|
+
"Hint",
|
|
1879
|
+
"Error!",
|
|
1880
|
+
"Warning!",
|
|
1881
|
+
"Information!",
|
|
1882
|
+
"Hint!"
|
|
1009
1883
|
],
|
|
1010
1884
|
"type": "string"
|
|
1011
1885
|
},
|
|
@@ -1016,7 +1890,11 @@ var lua = [
|
|
|
1016
1890
|
"Error",
|
|
1017
1891
|
"Warning",
|
|
1018
1892
|
"Information",
|
|
1019
|
-
"Hint"
|
|
1893
|
+
"Hint",
|
|
1894
|
+
"Error!",
|
|
1895
|
+
"Warning!",
|
|
1896
|
+
"Information!",
|
|
1897
|
+
"Hint!"
|
|
1020
1898
|
],
|
|
1021
1899
|
"type": "string"
|
|
1022
1900
|
},
|
|
@@ -1027,7 +1905,11 @@ var lua = [
|
|
|
1027
1905
|
"Error",
|
|
1028
1906
|
"Warning",
|
|
1029
1907
|
"Information",
|
|
1030
|
-
"Hint"
|
|
1908
|
+
"Hint",
|
|
1909
|
+
"Error!",
|
|
1910
|
+
"Warning!",
|
|
1911
|
+
"Information!",
|
|
1912
|
+
"Hint!"
|
|
1031
1913
|
],
|
|
1032
1914
|
"type": "string"
|
|
1033
1915
|
},
|
|
@@ -1038,7 +1920,26 @@ var lua = [
|
|
|
1038
1920
|
"Error",
|
|
1039
1921
|
"Warning",
|
|
1040
1922
|
"Information",
|
|
1041
|
-
"Hint"
|
|
1923
|
+
"Hint",
|
|
1924
|
+
"Error!",
|
|
1925
|
+
"Warning!",
|
|
1926
|
+
"Information!",
|
|
1927
|
+
"Hint!"
|
|
1928
|
+
],
|
|
1929
|
+
"type": "string"
|
|
1930
|
+
},
|
|
1931
|
+
"unknown-cast-variable": {
|
|
1932
|
+
"default": "Warning",
|
|
1933
|
+
"description": "%config.diagnostics.unknown-cast-variable%",
|
|
1934
|
+
"enum": [
|
|
1935
|
+
"Error",
|
|
1936
|
+
"Warning",
|
|
1937
|
+
"Information",
|
|
1938
|
+
"Hint",
|
|
1939
|
+
"Error!",
|
|
1940
|
+
"Warning!",
|
|
1941
|
+
"Information!",
|
|
1942
|
+
"Hint!"
|
|
1042
1943
|
],
|
|
1043
1944
|
"type": "string"
|
|
1044
1945
|
},
|
|
@@ -1049,7 +1950,11 @@ var lua = [
|
|
|
1049
1950
|
"Error",
|
|
1050
1951
|
"Warning",
|
|
1051
1952
|
"Information",
|
|
1052
|
-
"Hint"
|
|
1953
|
+
"Hint",
|
|
1954
|
+
"Error!",
|
|
1955
|
+
"Warning!",
|
|
1956
|
+
"Information!",
|
|
1957
|
+
"Hint!"
|
|
1053
1958
|
],
|
|
1054
1959
|
"type": "string"
|
|
1055
1960
|
},
|
|
@@ -1060,7 +1965,11 @@ var lua = [
|
|
|
1060
1965
|
"Error",
|
|
1061
1966
|
"Warning",
|
|
1062
1967
|
"Information",
|
|
1063
|
-
"Hint"
|
|
1968
|
+
"Hint",
|
|
1969
|
+
"Error!",
|
|
1970
|
+
"Warning!",
|
|
1971
|
+
"Information!",
|
|
1972
|
+
"Hint!"
|
|
1064
1973
|
],
|
|
1065
1974
|
"type": "string"
|
|
1066
1975
|
},
|
|
@@ -1071,7 +1980,11 @@ var lua = [
|
|
|
1071
1980
|
"Error",
|
|
1072
1981
|
"Warning",
|
|
1073
1982
|
"Information",
|
|
1074
|
-
"Hint"
|
|
1983
|
+
"Hint",
|
|
1984
|
+
"Error!",
|
|
1985
|
+
"Warning!",
|
|
1986
|
+
"Information!",
|
|
1987
|
+
"Hint!"
|
|
1075
1988
|
],
|
|
1076
1989
|
"type": "string"
|
|
1077
1990
|
},
|
|
@@ -1082,7 +1995,11 @@ var lua = [
|
|
|
1082
1995
|
"Error",
|
|
1083
1996
|
"Warning",
|
|
1084
1997
|
"Information",
|
|
1085
|
-
"Hint"
|
|
1998
|
+
"Hint",
|
|
1999
|
+
"Error!",
|
|
2000
|
+
"Warning!",
|
|
2001
|
+
"Information!",
|
|
2002
|
+
"Hint!"
|
|
1086
2003
|
],
|
|
1087
2004
|
"type": "string"
|
|
1088
2005
|
},
|
|
@@ -1093,7 +2010,11 @@ var lua = [
|
|
|
1093
2010
|
"Error",
|
|
1094
2011
|
"Warning",
|
|
1095
2012
|
"Information",
|
|
1096
|
-
"Hint"
|
|
2013
|
+
"Hint",
|
|
2014
|
+
"Error!",
|
|
2015
|
+
"Warning!",
|
|
2016
|
+
"Information!",
|
|
2017
|
+
"Hint!"
|
|
1097
2018
|
],
|
|
1098
2019
|
"type": "string"
|
|
1099
2020
|
}
|
|
@@ -1116,8 +2037,8 @@ var lua = [
|
|
|
1116
2037
|
},
|
|
1117
2038
|
"Lua.format.defaultConfig": {
|
|
1118
2039
|
"additionalProperties": false,
|
|
1119
|
-
"default":
|
|
1120
|
-
"markdownDescription": "
|
|
2040
|
+
"default": {},
|
|
2041
|
+
"markdownDescription": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n",
|
|
1121
2042
|
"patternProperties": {
|
|
1122
2043
|
".*": {
|
|
1123
2044
|
"default": "",
|
|
@@ -1152,7 +2073,7 @@ var lua = [
|
|
|
1152
2073
|
},
|
|
1153
2074
|
"Lua.hint.await": {
|
|
1154
2075
|
"default": true,
|
|
1155
|
-
"markdownDescription": "
|
|
2076
|
+
"markdownDescription": "If the called function is marked `---@async`, prompt `await` at the call.",
|
|
1156
2077
|
"scope": 4,
|
|
1157
2078
|
"type": "boolean"
|
|
1158
2079
|
},
|
|
@@ -1184,6 +2105,22 @@ var lua = [
|
|
|
1184
2105
|
"scope": 4,
|
|
1185
2106
|
"type": "boolean"
|
|
1186
2107
|
},
|
|
2108
|
+
"Lua.hint.semicolon": {
|
|
2109
|
+
"default": "SameLine",
|
|
2110
|
+
"enum": [
|
|
2111
|
+
"All",
|
|
2112
|
+
"SameLine",
|
|
2113
|
+
"Disable"
|
|
2114
|
+
],
|
|
2115
|
+
"markdownDescription": "If there is no semicolon at the end of the statement, display a virtual semicolon.",
|
|
2116
|
+
"markdownEnumDescriptions": [
|
|
2117
|
+
"All statements display virtual semicolons.",
|
|
2118
|
+
"When two statements are on the same line, display a semicolon between them.",
|
|
2119
|
+
"Disable virtual semicolons."
|
|
2120
|
+
],
|
|
2121
|
+
"scope": 4,
|
|
2122
|
+
"type": "string"
|
|
2123
|
+
},
|
|
1187
2124
|
"Lua.hint.setType": {
|
|
1188
2125
|
"default": false,
|
|
1189
2126
|
"markdownDescription": "Show hints of type at assignment operation.",
|
|
@@ -1204,12 +2141,12 @@ var lua = [
|
|
|
1204
2141
|
},
|
|
1205
2142
|
"Lua.hover.expandAlias": {
|
|
1206
2143
|
"default": true,
|
|
1207
|
-
"markdownDescription": "
|
|
2144
|
+
"markdownDescription": "Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.\n",
|
|
1208
2145
|
"scope": 4,
|
|
1209
2146
|
"type": "boolean"
|
|
1210
2147
|
},
|
|
1211
2148
|
"Lua.hover.previewFields": {
|
|
1212
|
-
"default":
|
|
2149
|
+
"default": 50,
|
|
1213
2150
|
"markdownDescription": "When hovering to view a table, limits the maximum number of previews for fields.",
|
|
1214
2151
|
"scope": 4,
|
|
1215
2152
|
"type": "integer"
|
|
@@ -1420,7 +2357,7 @@ var lua = [
|
|
|
1420
2357
|
},
|
|
1421
2358
|
"Lua.runtime.meta": {
|
|
1422
2359
|
"default": "${version} ${language} ${encoding}",
|
|
1423
|
-
"markdownDescription": "
|
|
2360
|
+
"markdownDescription": "Format of the directory name of the meta files.",
|
|
1424
2361
|
"scope": 4,
|
|
1425
2362
|
"type": "string"
|
|
1426
2363
|
},
|
|
@@ -1435,6 +2372,13 @@ var lua = [
|
|
|
1435
2372
|
"-=",
|
|
1436
2373
|
"*=",
|
|
1437
2374
|
"/=",
|
|
2375
|
+
"%=",
|
|
2376
|
+
"^=",
|
|
2377
|
+
"//=",
|
|
2378
|
+
"|=",
|
|
2379
|
+
"&=",
|
|
2380
|
+
"<<=",
|
|
2381
|
+
">>=",
|
|
1438
2382
|
"||",
|
|
1439
2383
|
"&&",
|
|
1440
2384
|
"!",
|
|
@@ -1473,7 +2417,7 @@ var lua = [
|
|
|
1473
2417
|
},
|
|
1474
2418
|
"Lua.runtime.special": {
|
|
1475
2419
|
"additionalProperties": false,
|
|
1476
|
-
"default":
|
|
2420
|
+
"default": {},
|
|
1477
2421
|
"markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n",
|
|
1478
2422
|
"patternProperties": {
|
|
1479
2423
|
".*": {
|
|
@@ -1488,7 +2432,9 @@ var lua = [
|
|
|
1488
2432
|
"loadfile",
|
|
1489
2433
|
"pcall",
|
|
1490
2434
|
"xpcall",
|
|
1491
|
-
"assert"
|
|
2435
|
+
"assert",
|
|
2436
|
+
"error",
|
|
2437
|
+
"type"
|
|
1492
2438
|
],
|
|
1493
2439
|
"type": "string"
|
|
1494
2440
|
}
|
|
@@ -1558,7 +2504,7 @@ var lua = [
|
|
|
1558
2504
|
"items": {
|
|
1559
2505
|
"type": "string"
|
|
1560
2506
|
},
|
|
1561
|
-
"markdownDescription": "
|
|
2507
|
+
"markdownDescription": "Custom words for spell checking.",
|
|
1562
2508
|
"scope": 4,
|
|
1563
2509
|
"type": "array"
|
|
1564
2510
|
},
|
|
@@ -1574,6 +2520,24 @@ var lua = [
|
|
|
1574
2520
|
"null"
|
|
1575
2521
|
]
|
|
1576
2522
|
},
|
|
2523
|
+
"Lua.type.castNumberToInteger": {
|
|
2524
|
+
"default": false,
|
|
2525
|
+
"markdownDescription": "Allowed to assign the `number` type to the `integer` type.",
|
|
2526
|
+
"scope": 4,
|
|
2527
|
+
"type": "boolean"
|
|
2528
|
+
},
|
|
2529
|
+
"Lua.type.weakNilCheck": {
|
|
2530
|
+
"default": false,
|
|
2531
|
+
"markdownDescription": "When checking the type of union type, ignore the `nil` in it.\n\nWhen this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.\n",
|
|
2532
|
+
"scope": 4,
|
|
2533
|
+
"type": "boolean"
|
|
2534
|
+
},
|
|
2535
|
+
"Lua.type.weakUnionCheck": {
|
|
2536
|
+
"default": false,
|
|
2537
|
+
"markdownDescription": "Once one subtype of a union type meets the condition, the union type also meets the condition.\n\nWhen this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.\n",
|
|
2538
|
+
"scope": 4,
|
|
2539
|
+
"type": "boolean"
|
|
2540
|
+
},
|
|
1577
2541
|
"Lua.window.progressBar": {
|
|
1578
2542
|
"default": true,
|
|
1579
2543
|
"markdownDescription": "Show progress bar in status bar.",
|