Skip to content

Commit 42ad0f5

Browse files
committed
Add Armor class to ini.tmLanguage.json
1 parent 5a4b286 commit 42ad0f5

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": "#Armor-Class"
13+
},
1114
{
1215
"include": "#Locomotor-Class"
1316
},
@@ -44,6 +47,40 @@
4447
}
4548
],
4649
"repository": {
50+
"Armor-Class": {
51+
"begin": "(^[ \\t]+)?([Aa]rmor)[ \\t]+([a-zA-Z_][\\w%]*)",
52+
"beginCaptures": {
53+
"1": {
54+
"name": "punctuation.whitespace.ini"
55+
},
56+
"2": {
57+
"name": "keyword.control.ini"
58+
},
59+
"3": {
60+
"name": "entity.name.type.class.ini"
61+
}
62+
},
63+
"end": "(^[ \\t]+)?([Ee]nd|END)",
64+
"endCaptures": {
65+
"1": {
66+
"name": "punctuation.whitespace.ini"
67+
},
68+
"2": {
69+
"name": "keyword.control.ini"
70+
}
71+
},
72+
"patterns": [
73+
{
74+
"include": "#Inline-Comment"
75+
},
76+
{
77+
"include": "#General-Assignment"
78+
},
79+
{
80+
"include": "#Invalid-Assignment"
81+
}
82+
]
83+
},
4784
"Locomotor-Class": {
4885
"begin": "(^[ \\t]+)?([Ll]ocomotor)[ \\t]+([a-zA-Z_0-9][\\w%]*)",
4986
"beginCaptures": {

0 commit comments

Comments
 (0)