vogue-vscode/syntaxes/vogue.tmLanguage.json

51 lines
987 B
JSON
Raw Normal View History

2021-04-22 19:37:53 -04:00
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Vogue",
"patterns": [
{
"include": "#keywords"
},
{
2021-05-07 23:13:42 -04:00
"include": "#inlinejs"
2021-05-05 22:00:07 -04:00
},
{
2021-05-07 23:13:42 -04:00
"include": "#strings"
2021-04-22 19:37:53 -04:00
}
],
"repository": {
2021-05-05 22:00:07 -04:00
"inlinejs": {
2021-05-07 23:13:42 -04:00
"begin": "(\\[\\[|{)",
"beginCaptures": {
"0": { "name": "source.js.embedded" }
},
"end": "(\\]\\]|})",
"endCaptures": {
"0": { "name": "source.js.embedded" }
},
"name": "source.js.embedded",
"patterns": [
{
"include": "source.js"
}
]
2021-04-22 19:37:53 -04:00
},
"strings": {
"name": "string.quoted.double.vogue",
2021-05-07 23:13:42 -04:00
"begin": "'",
"end": "'",
2021-04-22 19:37:53 -04:00
"patterns": [
{
"name": "constant.character.escape.vogue",
"match": "\\\\."
}
]
2021-05-07 23:13:42 -04:00
},
"keywords": {
"patterns": [{
"name": "keyword.control.vogue",
2021-05-20 22:57:20 -04:00
"match": "\\b(namespace|required|restore|link|singleton|keepalive|import|as|member|runtime|static|async|from)\\b"
2021-05-07 23:13:42 -04:00
}]
2021-04-22 19:37:53 -04:00
}
},
"scopeName": "source.vogue"
}