openquest-vscode/syntaxes/quest.tmGrammar.json
2023-06-15 11:22:53 +01:00

34 lines
695 B
JSON

{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"scopeName": "source.quest",
"patterns": [
{
"include": "#quest_clause"
}
],
"repository": {
"quest": {
"patterns": [
{
"include": "#define_substitution"
},
{
"include": "#quest_clause"
}
]
},
"define_substitution": {
"name": "keyword.local.define_substitution"
},
"quest_clause": {
"name": "keyword.control.quest_clause"
},
"state_clause": {
"name": "keyword.control.state_clause"
},
"when_clause": {
"name": "keyword.control.when_clause"
}
}
}