Skip to content

Commit ddedb39

Browse files
committed
Add MappedImage class to ini syntax
1 parent 42ad0f5 commit ddedb39

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

syntaxes/ini.tmLanguage.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
{
99
"include": "#ObjectRelated-Class"
1010
},
11+
{
12+
"include": "#MappedImage-Class"
13+
},
1114
{
1215
"include": "#Armor-Class"
1316
},
@@ -47,6 +50,40 @@
4750
}
4851
],
4952
"repository": {
53+
"MappedImage-Class": {
54+
"begin": "(^[ \\t]+)?([Mm]apped[Ii]mage)[ \\t]+([a-zA-Z_][\\w%]*)",
55+
"beginCaptures": {
56+
"1": {
57+
"name": "punctuation.whitespace.ini"
58+
},
59+
"2": {
60+
"name": "keyword.control.ini"
61+
},
62+
"3": {
63+
"name": "entity.name.type.class.ini"
64+
}
65+
},
66+
"end": "(^[ \\t]+)?([Ee]nd|END)",
67+
"endCaptures": {
68+
"1": {
69+
"name": "punctuation.whitespace.ini"
70+
},
71+
"2": {
72+
"name": "keyword.control.ini"
73+
}
74+
},
75+
"patterns": [
76+
{
77+
"include": "#Inline-Comment"
78+
},
79+
{
80+
"include": "#General-Assignment"
81+
},
82+
{
83+
"include": "#Invalid-Assignment"
84+
}
85+
]
86+
},
5087
"Armor-Class": {
5188
"begin": "(^[ \\t]+)?([Aa]rmor)[ \\t]+([a-zA-Z_][\\w%]*)",
5289
"beginCaptures": {

0 commit comments

Comments
 (0)