32 lines
577 B
JSON
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"
|
||
|
}
|