mirror of
https://github.com/Zenithsiz/zbuild.git
synced 2026-02-03 14:10:02 +00:00
This means that commands are now lazily expanded as they're executed, to ensure that you can use aliases only defined halfway through.
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|stdout)\\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"
|
|
}
|