mirror of
https://github.com/Zenithsiz/zbuild.git
synced 2026-02-07 00:11:14 +00:00
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
"name": "zbuild",
|
|
"patterns": [
|
|
{ "include": "#keywords" },
|
|
{ "include": "#strings" },
|
|
{ "include": "#comment" }
|
|
],
|
|
"repository": {
|
|
"keywords": {
|
|
"patterns": [
|
|
{
|
|
"name": "keyword.control.zbuild",
|
|
"match": "="
|
|
},
|
|
{
|
|
"name": "keyword.other.zbuild",
|
|
"match": "\\b(alias|args|cwd|default|deps_file|dep|exec|include|non_empty|opt|out|pat|rule|static)\\b"
|
|
},
|
|
{
|
|
"name": "variable.name",
|
|
"match": "\\p{XID_Start}\\p{XID_Continue}*"
|
|
}
|
|
]
|
|
},
|
|
"strings": {
|
|
"name": "string.quoted.double.zbuild",
|
|
"begin": "\"",
|
|
"end": "\""
|
|
},
|
|
"comment": {
|
|
"patterns": [
|
|
{ "include": "#comment-block" },
|
|
{ "include": "#comment-line" }
|
|
]
|
|
},
|
|
"comment-block": {
|
|
"name": "comment.block.zbuild",
|
|
"begin": "###",
|
|
"end": "###"
|
|
},
|
|
"comment-line": {
|
|
"name": "comment.line.zbuild",
|
|
"begin": "#",
|
|
"end": "$"
|
|
}
|
|
},
|
|
"scopeName": "source.zbuild"
|
|
}
|