opengoal-vscode/syntaxes/opengoal-goos.tmLanguage.json

35 lines
714 B
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "OpenGOAL-GOOS",
"patterns": [
{
"include": "#keywords"
},
{
"include": "#strings"
}
],
"repository": {
"keywords": {
"patterns": [
{
"name": "keyword.control.opengoal-goos",
"match": "\\b(if|while|for|return)\\b"
}
]
},
"strings": {
"name": "string.quoted.double.opengoal-goos",
"begin": "\"",
"end": "\"",
"patterns": [
{
"name": "constant.character.escape.opengoal-goos",
"match": "\\\\."
}
]
}
},
"scopeName": "source.opengoal-goos"
}