mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
34 lines
993 B
JSON
34 lines
993 B
JSON
{ "name": "Inform7",
|
|
"scopeName": "source.Inform7",
|
|
"fileTypes": ["i7x"],
|
|
"patterns": [
|
|
{ "name": "keyword.control.Inform7",
|
|
"match": "\\b(Include|Release)\\b"
|
|
},
|
|
{ "name" : "comment.block.Inform7",
|
|
"begin" : "\\[",
|
|
"end" : "\\]",
|
|
"comment" : "All comments in Inform7 are delimited this way."
|
|
},
|
|
{ "name" : "string.quoted.double.Inform7",
|
|
"begin" : "\"",
|
|
"end" : "\"",
|
|
"patterns": [
|
|
{ "name" : "keyword.operator.Inform7",
|
|
"begin" : "\\[",
|
|
"end" : "\\]",
|
|
"comment" : "For logic inside of strings."
|
|
}
|
|
]
|
|
},
|
|
{ "name" : "storage.type.Inform7",
|
|
"match" : "(Volume|Book|Chapter|Part|Section|Table)\\s+\\d?\\s+-?\\s+((?:\\w|\\s|-)*)",
|
|
"comment": "Matches headings for major sections in Inform7"
|
|
},
|
|
{ "name": "constant.numeric.Inform7",
|
|
"match": "([0-9])+",
|
|
"comment":"Gotta call out the numbers!"
|
|
}
|
|
],
|
|
"uuid": "0c4cbdee-beb7-4ea6-af56-27246d479373"
|
|
} |