Skip to content

Commit 65b1936

Browse files
committed
Add damagefx-class to ini.tmLanguage.json
1 parent 61a24b6 commit 65b1936

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

syntaxes/ini.tmLanguage.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"repository": {
1313
"class": {
1414
"patterns": [
15+
{"include": "#damagefx-class"},
1516
{"include": "#fxlist-class"},
1617
{"include": "#particlesystem-class"},
1718
{"include": "#audio-class"},
@@ -33,6 +34,31 @@
3334
{"include": "#object-class"}
3435
]
3536
},
37+
"damagefx-class": {
38+
"begin": "\\s*\\b([Dd]amage[Ff][Xx])\\s+([a-zA-Z]\\w+)",
39+
"beginCaptures": {
40+
"1": {
41+
"name": "keyword.control.ini"
42+
},
43+
"2": {
44+
"name": "entity.name.type"
45+
}
46+
},
47+
"end": "\\b([Ee]nd|END)\\s*",
48+
"endCaptures": {
49+
"1": {
50+
"name": "keyword.control.ini"
51+
}
52+
},
53+
"patterns":[
54+
{
55+
"include": "#assignment"
56+
},
57+
{
58+
"include": "#inline-comment"
59+
}
60+
]
61+
},
3662
"fxlist-class": {
3763
"begin": "\\s*\\b([Ff][Xx][Ll]ist)\\s+([a-zA-Z]\\w+)",
3864
"beginCaptures": {

0 commit comments

Comments
 (0)