vue2-grammar/syntaxes/swmf.tmLanguage.json
2019-11-26 23:02:14 +10:00

32 lines
577 B
JSON

{
"$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"
}