vue2-grammar/syntaxes/swmf.tmLanguage.json

32 lines
577 B
JSON
Raw Normal View History

2019-11-26 14:02:14 +01:00
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "SWMF Config",
"patterns": [
{
"include": "#keywords"
},
{
"include": "#strings"
}
],
"repository": {
"keywords": {
"patterns": [{
"name": "keyword.control.swmf",
"match": "\\b(if|while|for|return)\\b"
}]
},
"strings": {
"name": "string.quoted.double.swmf",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.swmf",
"match": "\\\\."
}
]
}
},
"scopeName": "source.swmf"
}