mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #897 from erkyrath/master
YAML file recognition for Inform 7
This commit is contained in:
@@ -892,6 +892,14 @@ Idris:
|
|||||||
extensions:
|
extensions:
|
||||||
- .lidr
|
- .lidr
|
||||||
|
|
||||||
|
Inform 7:
|
||||||
|
type: programming
|
||||||
|
lexer: Text only
|
||||||
|
wrap: true
|
||||||
|
primary_extension: .ni
|
||||||
|
extensions:
|
||||||
|
- .i7x
|
||||||
|
|
||||||
Inno Setup:
|
Inno Setup:
|
||||||
primary_extension: .iss
|
primary_extension: .iss
|
||||||
lexer: Text only
|
lexer: Text only
|
||||||
|
|||||||
6
samples/Inform 7/Trivial Extension.i7x
Normal file
6
samples/Inform 7/Trivial Extension.i7x
Normal 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
12
samples/Inform 7/story.ni
Normal 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."
|
||||||
Reference in New Issue
Block a user