|
14 | 14 | "untrustedWorkspaces": { |
15 | 15 | "description": "", |
16 | 16 | "restrictedConfigurations": [ |
17 | | - "Lua.develop.enable", |
18 | 17 | "Lua.runtime.plugin", |
19 | 18 | "Lua.misc.parameters" |
20 | 19 | ], |
|
33 | 32 | "default": "Semantic", |
34 | 33 | "enum": [ |
35 | 34 | "Grammar", |
36 | | - "Semantic" |
| 35 | + "Semantic", |
| 36 | + "SemanticEnhanced" |
37 | 37 | ], |
38 | 38 | "markdownDescription": "%config.color.mode%", |
39 | 39 | "markdownEnumDescriptions": [ |
40 | 40 | "%config.color.mode.Grammar%", |
41 | | - "%config.color.mode.Semantic%" |
| 41 | + "%config.color.mode.Semantic%", |
| 42 | + "%config.color.mode.SemanticEnhanced%" |
42 | 43 | ], |
43 | 44 | "scope": "resource", |
44 | 45 | "type": "string" |
|
66 | 67 | "type": "string" |
67 | 68 | }, |
68 | 69 | "Lua.completion.displayContext": { |
69 | | - "default": 6, |
| 70 | + "default": 0, |
70 | 71 | "markdownDescription": "%config.completion.displayContext%", |
71 | 72 | "scope": "resource", |
72 | 73 | "type": "integer" |
|
150 | 151 | "type": "array" |
151 | 152 | }, |
152 | 153 | "Lua.diagnostics.ignoredFiles": { |
153 | | - "default": "Disable", |
| 154 | + "default": "Opened", |
154 | 155 | "enum": [ |
155 | 156 | "Enable", |
156 | 157 | "Opened", |
|
166 | 167 | "type": "string" |
167 | 168 | }, |
168 | 169 | "Lua.diagnostics.libraryFiles": { |
169 | | - "default": "Disable", |
| 170 | + "default": "Opened", |
170 | 171 | "enum": [ |
171 | 172 | "Enable", |
172 | 173 | "Opened", |
|
437 | 438 | "scope": "resource", |
438 | 439 | "type": "string" |
439 | 440 | }, |
| 441 | + "type-check": { |
| 442 | + "default": "None", |
| 443 | + "description": "%config.diagnostics.type-check%", |
| 444 | + "enum": [ |
| 445 | + "Any", |
| 446 | + "Opened", |
| 447 | + "None" |
| 448 | + ], |
| 449 | + "scope": "resource", |
| 450 | + "type": "string" |
| 451 | + }, |
440 | 452 | "unbalanced-assignments": { |
441 | 453 | "default": "Any", |
442 | 454 | "description": "%config.diagnostics.unbalanced-assignments%", |
|
818 | 830 | "type": "string" |
819 | 831 | }, |
820 | 832 | "redundant-parameter": { |
821 | | - "default": "Hint", |
| 833 | + "default": "Warning", |
822 | 834 | "description": "%config.diagnostics.redundant-parameter%", |
823 | 835 | "enum": [ |
824 | 836 | "Error", |
|
830 | 842 | "type": "string" |
831 | 843 | }, |
832 | 844 | "redundant-value": { |
833 | | - "default": "Hint", |
| 845 | + "default": "Warning", |
834 | 846 | "description": "%config.diagnostics.redundant-value%", |
835 | 847 | "enum": [ |
836 | 848 | "Error", |
|
853 | 865 | "scope": "resource", |
854 | 866 | "type": "string" |
855 | 867 | }, |
| 868 | + "type-check": { |
| 869 | + "default": "Warning", |
| 870 | + "description": "%config.diagnostics.type-check%", |
| 871 | + "enum": [ |
| 872 | + "Error", |
| 873 | + "Warning", |
| 874 | + "Information", |
| 875 | + "Hint" |
| 876 | + ], |
| 877 | + "scope": "resource", |
| 878 | + "type": "string" |
| 879 | + }, |
856 | 880 | "unbalanced-assignments": { |
857 | 881 | "default": "Warning", |
858 | 882 | "description": "%config.diagnostics.unbalanced-assignments%", |
|
1455 | 1479 | { |
1456 | 1480 | "language": "lua", |
1457 | 1481 | "scopes": { |
1458 | | - "interface.declaration": [ |
| 1482 | + "function": [ |
| 1483 | + "variable.function.lua" |
| 1484 | + ], |
| 1485 | + "function.declaration": [ |
1459 | 1486 | "entity.name.function.lua" |
1460 | 1487 | ], |
1461 | | - "namespace.deprecated": [ |
1462 | | - "entity.name.label" |
| 1488 | + "function.defaultLibrary": [ |
| 1489 | + "support.function.lua" |
1463 | 1490 | ], |
1464 | | - "namespace.readonly": [ |
1465 | | - "constant.language.lua" |
| 1491 | + "function.static": [ |
| 1492 | + "entity.name.function.lua" |
1466 | 1493 | ], |
1467 | | - "namespace.static": [ |
1468 | | - "support.function.lua" |
| 1494 | + "method": [ |
| 1495 | + "entity.name.function.lua" |
| 1496 | + ], |
| 1497 | + "method.declaration": [ |
| 1498 | + "entity.name.function.lua" |
1469 | 1499 | ], |
1470 | 1500 | "parameter.declaration": [ |
1471 | | - "variable.parameter" |
| 1501 | + "variable.parameter.lua" |
| 1502 | + ], |
| 1503 | + "property": [ |
| 1504 | + "variable.other.property.lua" |
1472 | 1505 | ], |
1473 | 1506 | "property.declaration": [ |
1474 | | - "entity.other.attribute" |
| 1507 | + "entity.other.property.lua" |
1475 | 1508 | ], |
1476 | 1509 | "variable": [ |
1477 | 1510 | "variable.other.lua" |
1478 | 1511 | ], |
1479 | 1512 | "variable.abstract": [ |
1480 | 1513 | "variable.other.constant.lua" |
1481 | 1514 | ], |
1482 | | - "variable.static": [ |
| 1515 | + "variable.declaration": [ |
| 1516 | + "variable.other.lua" |
| 1517 | + ], |
| 1518 | + "variable.defaultLibrary": [ |
| 1519 | + "support.constant.lua" |
| 1520 | + ], |
| 1521 | + "variable.local": [ |
| 1522 | + "variable.other.lua" |
| 1523 | + ], |
| 1524 | + "variable.readonly": [ |
1483 | 1525 | "variable.other.constant.lua" |
| 1526 | + ], |
| 1527 | + "variable.static": [ |
| 1528 | + "variable.other.lua" |
1484 | 1529 | ] |
1485 | 1530 | } |
1486 | 1531 | } |
1487 | 1532 | ] |
1488 | 1533 | }, |
1489 | 1534 | "description": "Lua Language Server coded by Lua", |
1490 | 1535 | "displayName": "Lua", |
1491 | | - "enableProposedApi": true, |
1492 | 1536 | "engines": { |
1493 | 1537 | "vscode": "^1.23.0" |
1494 | 1538 | }, |
|
1506 | 1550 | "type": "git", |
1507 | 1551 | "url": "https://github.com/sumneko/lua-language-server" |
1508 | 1552 | }, |
1509 | | - "version": "2.3.7" |
| 1553 | + "version": "2.4.0" |
1510 | 1554 | } |
0 commit comments