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