Skip to content

Commit ed59c26

Browse files
committed
update setting and package
1 parent 88e0727 commit ed59c26

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

package.json

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@
10161016
"type": "string"
10171017
},
10181018
"unknown-diag-code": {
1019-
"default": "Waiting",
1019+
"default": "Warning",
10201020
"description": "%config.diagnostics.unknown-diag-code%",
10211021
"enum": [
10221022
"Error",
@@ -1565,24 +1565,6 @@
15651565
"title": "Lua",
15661566
"type": "object"
15671567
},
1568-
"grammars": [
1569-
{
1570-
"language": "lua",
1571-
"path": "./syntaxes/lua.tmLanguage.json",
1572-
"scopeName": "source.lua",
1573-
"tokenTypes": {
1574-
"comment.line.double-dash.doc.lua": "other",
1575-
"string.quoted.double.lua": "other",
1576-
"string.quoted.single.lua": "other"
1577-
}
1578-
}
1579-
],
1580-
"jsonValidation": [
1581-
{
1582-
"fileMatch": ".luarc.json",
1583-
"url": "./setting/schema.json"
1584-
}
1585-
],
15861568
"semanticTokenScopes": [
15871569
{
15881570
"language": "lua",
@@ -1705,6 +1687,12 @@
17051687
"vscode": "^1.61.0"
17061688
},
17071689
"icon": "images/logo.png",
1690+
"jsonValidation": [
1691+
{
1692+
"fileMatch": ".luarc.json",
1693+
"url": "./setting/schema.json"
1694+
}
1695+
],
17081696
"keywords": [
17091697
"Lua",
17101698
"IntelliSense",

setting/schema-zh-cn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@
10701070
"type": "string"
10711071
},
10721072
"unknown-diag-code": {
1073-
"default": "Waiting",
1073+
"default": "Warning",
10741074
"description": "%config.diagnostics.unknown-diag-code%",
10751075
"enum": [
10761076
"Error",

setting/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@
10701070
"type": "string"
10711071
},
10721072
"unknown-diag-code": {
1073-
"default": "Waiting",
1073+
"default": "Warning",
10741074
"description": "%config.diagnostics.unknown-diag-code%",
10751075
"enum": [
10761076
"Error",

0 commit comments

Comments
 (0)