Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ea2ca49f0f |
Binary file not shown.
@@ -7,13 +7,19 @@
|
|||||||
{ "include": "#comments" },
|
{ "include": "#comments" },
|
||||||
{ "include": "#heredoc" },
|
{ "include": "#heredoc" },
|
||||||
{ "include": "#string" },
|
{ "include": "#string" },
|
||||||
|
{ "include": "#size" },
|
||||||
{ "include": "#duration" },
|
{ "include": "#duration" },
|
||||||
{ "include": "#number" },
|
{ "include": "#number" },
|
||||||
{ "include": "#boolean" },
|
{ "include": "#boolean" },
|
||||||
{ "include": "#top-keywords" },
|
{ "include": "#top-keywords" },
|
||||||
|
{ "include": "#os-block" },
|
||||||
|
{ "include": "#build-fields" },
|
||||||
{ "include": "#block-keywords" },
|
{ "include": "#block-keywords" },
|
||||||
{ "include": "#matcher-keywords" },
|
{ "include": "#matcher-keywords" },
|
||||||
|
{ "include": "#profile-values" },
|
||||||
|
{ "include": "#warnings-values" },
|
||||||
{ "include": "#scoring-values" },
|
{ "include": "#scoring-values" },
|
||||||
|
{ "include": "#class-values" },
|
||||||
{ "include": "#operators" },
|
{ "include": "#operators" },
|
||||||
{ "include": "#braces" },
|
{ "include": "#braces" },
|
||||||
{ "include": "#identifier" }
|
{ "include": "#identifier" }
|
||||||
@@ -39,6 +45,10 @@
|
|||||||
{ "name": "constant.character.escape.jdg", "match": "\\\\[nt\\\\\"]" }
|
{ "name": "constant.character.escape.jdg", "match": "\\\\[nt\\\\\"]" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"size": {
|
||||||
|
"name": "constant.numeric.size.jdg",
|
||||||
|
"match": "\\b\\d+(?:KiB|MiB|GiB|KB|MB|GB|B|K|M|G)\\b"
|
||||||
|
},
|
||||||
"duration": {
|
"duration": {
|
||||||
"name": "constant.numeric.duration.jdg",
|
"name": "constant.numeric.duration.jdg",
|
||||||
"match": "\\b-?\\d+(?:\\.\\d+)?(?:ms|s|m|h)\\b"
|
"match": "\\b-?\\d+(?:\\.\\d+)?(?:ms|s|m|h)\\b"
|
||||||
@@ -53,20 +63,40 @@
|
|||||||
},
|
},
|
||||||
"top-keywords": {
|
"top-keywords": {
|
||||||
"name": "keyword.control.jdg",
|
"name": "keyword.control.jdg",
|
||||||
"match": "\\b(?:build|build_linux|build_windows|build_darwin|binary|sources|timeout|normalize_crlf|trim_trailing_ws|group|test|pattern|env|file|outFile)\\b"
|
"match": "\\b(?:include|build|build_defaults|build_linux|build_windows|build_darwin|toolchains|binary|sources|timeout|memory_limit|normalize_crlf|trim_trailing_ws|group|test|pattern|env|file|outFile|define)\\b"
|
||||||
|
},
|
||||||
|
"os-block": {
|
||||||
|
"name": "support.type.os.jdg",
|
||||||
|
"match": "\\b(?:linux|windows|darwin)\\b(?=\\s*\\{)"
|
||||||
|
},
|
||||||
|
"build-fields": {
|
||||||
|
"name": "variable.parameter.build.jdg",
|
||||||
|
"match": "\\b(?:language|standard|output|wrapper|includes|sanitize|link|extra|platforms|compilers|profile|warnings|class)\\b"
|
||||||
},
|
},
|
||||||
"block-keywords": {
|
"block-keywords": {
|
||||||
"name": "variable.parameter.jdg",
|
"name": "variable.parameter.jdg",
|
||||||
"match": "\\b(?:weight|scoring|wrapper|stdin|stdout|stderr|args|exitCode|input|output|dirs)\\b"
|
"match": "\\b(?:weight|scoring|stdin|stdout|stderr|args|exitCode|input|dirs)\\b"
|
||||||
},
|
},
|
||||||
"matcher-keywords": {
|
"matcher-keywords": {
|
||||||
"name": "support.function.jdg",
|
"name": "support.function.jdg",
|
||||||
"match": "\\b(?:contains|matches|anyOrder|of)\\b"
|
"match": "\\b(?:contains|matches|anyOrder|of)\\b"
|
||||||
},
|
},
|
||||||
|
"profile-values": {
|
||||||
|
"name": "constant.language.profile.jdg",
|
||||||
|
"match": "\\b(?:release|debug|sanitized)\\b"
|
||||||
|
},
|
||||||
|
"warnings-values": {
|
||||||
|
"name": "constant.language.warnings.jdg",
|
||||||
|
"match": "\\b(?:default|strict|pedantic)\\b"
|
||||||
|
},
|
||||||
"scoring-values": {
|
"scoring-values": {
|
||||||
"name": "constant.language.jdg",
|
"name": "constant.language.scoring.jdg",
|
||||||
"match": "\\b(?:partial|all_or_none)\\b"
|
"match": "\\b(?:partial|all_or_none)\\b"
|
||||||
},
|
},
|
||||||
|
"class-values": {
|
||||||
|
"name": "constant.language.class.jdg",
|
||||||
|
"match": "\\b(?:gnu|msvc)\\b"
|
||||||
|
},
|
||||||
"operators": {
|
"operators": {
|
||||||
"name": "keyword.operator.jdg",
|
"name": "keyword.operator.jdg",
|
||||||
"match": "[=~]"
|
"match": "[=~]"
|
||||||
|
|||||||
Reference in New Issue
Block a user