51 lines
946 B
JSON
51 lines
946 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
"name": "Vogue",
|
|
"patterns": [
|
|
{
|
|
"include": "#keywords"
|
|
},
|
|
{
|
|
"include": "#strings"
|
|
},
|
|
{
|
|
"include": "#inlinejs"
|
|
}
|
|
],
|
|
"repository": {
|
|
"inlinejs": {
|
|
"begin": "\\[\\[",
|
|
"beginCaptures": {
|
|
"0": { "name": "begin.brace.nearley" }
|
|
},
|
|
"end": "\\]\\]",
|
|
"endCaptures": {
|
|
"0": { "name": "end.brace.nearley" }
|
|
},
|
|
"name": "source.js.embedded.nearley",
|
|
"patterns": [
|
|
{
|
|
"include": "source.js"
|
|
}
|
|
]
|
|
},
|
|
"keywords": {
|
|
"patterns": [{
|
|
"name": "keyword.control.vogue",
|
|
"match": "\\b(namespace|required|restore|link)\\b"
|
|
}]
|
|
},
|
|
"strings": {
|
|
"name": "string.quoted.double.vogue",
|
|
"begin": "\"",
|
|
"end": "\"",
|
|
"patterns": [
|
|
{
|
|
"name": "constant.character.escape.vogue",
|
|
"match": "\\\\."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scopeName": "source.vogue"
|
|
} |