Merge pull request #897 from erkyrath/master

YAML file recognition for Inform 7
This commit is contained in:
Arfon Smith
2014-04-22 12:13:09 -05:00
3 changed files with 26 additions and 0 deletions

View File

@@ -892,6 +892,14 @@ Idris:
extensions:
- .lidr
Inform 7:
type: programming
lexer: Text only
wrap: true
primary_extension: .ni
extensions:
- .i7x
Inno Setup:
primary_extension: .iss
lexer: Text only

View File

@@ -0,0 +1,6 @@
Version 1 of Trivial Extension by Andrew Plotkin begins here.
A cow is a kind of animal. A cow can be purple.
Trivial Extension ends here.

12
samples/Inform 7/story.ni Normal file
View File

@@ -0,0 +1,12 @@
"Test Case" by Andrew Plotkin.
Include Trivial Extension by Andrew Plotkin.
The Kitchen is a room.
[This kitchen is modelled after the one in Zork, although it lacks the detail to establish this to the player.]
A purple cow called Gelett is in the Kitchen.
Instead of examining Gelett:
say "You'd rather see than be one."