|
38 | 38 | { "include": "#DamageFX-Class" }, |
39 | 39 | { "include": "#MouseCursor-Class" }, |
40 | 40 | { "include": "#Mouse-Class" }, |
41 | | - { "include": "#InGameUI-Class" } |
| 41 | + { "include": "#InGameUI-Class" }, |
| 42 | + { "include": "#AIData-Class" } |
| 43 | + ] |
| 44 | + }, |
| 45 | + "AIData-Class": { |
| 46 | + "begin": "(^[ \\t]+)?\\b(AIData)\\b", |
| 47 | + "beginCaptures": { |
| 48 | + "1": { |
| 49 | + "name": "punctuation.whitespace.ini" |
| 50 | + }, |
| 51 | + "2": { |
| 52 | + "name": "keyword.control.ini" |
| 53 | + } |
| 54 | + }, |
| 55 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 56 | + "endCaptures": { |
| 57 | + "1": { |
| 58 | + "name": "punctuation.whitespace.ini" |
| 59 | + }, |
| 60 | + "2": { |
| 61 | + "name": "keyword.control.ini" |
| 62 | + } |
| 63 | + }, |
| 64 | + "patterns": [ |
| 65 | + { |
| 66 | + "include": "#Inline-Comment" |
| 67 | + }, |
| 68 | + { |
| 69 | + "include": "#SideInfo-AIData-Class" |
| 70 | + }, |
| 71 | + { |
| 72 | + "include": "#SkirmishBuildList-AIData-Class" |
| 73 | + }, |
| 74 | + { |
| 75 | + "include": "#General-Assignment" |
| 76 | + }, |
| 77 | + { |
| 78 | + "include": "#Invalid-Assignment" |
| 79 | + } |
| 80 | + ] |
| 81 | + }, |
| 82 | + "SideInfo-AIData-Class": { |
| 83 | + "begin": "(^[ \\t]+)?(SideInfo)([ \\t]+)([a-zA-Z_][\\w%]*)", |
| 84 | + "beginCaptures": { |
| 85 | + "1": { |
| 86 | + "name": "punctuation.whitespace.ini" |
| 87 | + }, |
| 88 | + "2": { |
| 89 | + "name": "keyword.control.ini" |
| 90 | + }, |
| 91 | + "3": { |
| 92 | + "name": "punctuation.whitespace.ini" |
| 93 | + }, |
| 94 | + "4": { |
| 95 | + "name": "entity.name.type.class.ini" |
| 96 | + } |
| 97 | + }, |
| 98 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 99 | + "endCaptures": { |
| 100 | + "1": { |
| 101 | + "name": "punctuation.whitespace.ini" |
| 102 | + }, |
| 103 | + "2": { |
| 104 | + "name": "keyword.control.ini" |
| 105 | + } |
| 106 | + }, |
| 107 | + "patterns": [ |
| 108 | + { |
| 109 | + "include": "#Inline-Comment" |
| 110 | + }, |
| 111 | + { |
| 112 | + "include": "#SkillSet-SideInfo-Class" |
| 113 | + }, |
| 114 | + { |
| 115 | + "include": "#General-Assignment" |
| 116 | + }, |
| 117 | + { |
| 118 | + "include": "#Invalid-Assignment" |
| 119 | + } |
| 120 | + ] |
| 121 | + }, |
| 122 | + "SkirmishBuildList-AIData-Class": { |
| 123 | + "begin": "(^[ \\t]+)?\\b(SkirmishBuildList)[ \\t]+([a-zA-Z_][\\w%]*)", |
| 124 | + "beginCaptures": { |
| 125 | + "1": { |
| 126 | + "name": "punctuation.whitespace.ini" |
| 127 | + }, |
| 128 | + "2": { |
| 129 | + "name": "keyword.control.ini" |
| 130 | + }, |
| 131 | + "3": { |
| 132 | + "name": "entity.name.type.class.ini" |
| 133 | + } |
| 134 | + }, |
| 135 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 136 | + "endCaptures": { |
| 137 | + "1": { |
| 138 | + "name": "punctuation.whitespace.ini" |
| 139 | + }, |
| 140 | + "2": { |
| 141 | + "name": "keyword.control.ini" |
| 142 | + } |
| 143 | + }, |
| 144 | + "patterns": [ |
| 145 | + { |
| 146 | + "include": "#Inline-Comment" |
| 147 | + }, |
| 148 | + { |
| 149 | + "include": "#Structure-SkirmishBuildList-Class" |
| 150 | + }, |
| 151 | + { |
| 152 | + "include": "#General-Assignment" |
| 153 | + }, |
| 154 | + { |
| 155 | + "include": "#Invalid-Assignment" |
| 156 | + } |
| 157 | + ] |
| 158 | + }, |
| 159 | + "Structure-SkirmishBuildList-Class": { |
| 160 | + "begin": "(^[ \\t]+)?\\b(Structure)[ \\t]+([a-zA-Z_][\\w%]*)", |
| 161 | + "beginCaptures": { |
| 162 | + "1": { |
| 163 | + "name": "punctuation.whitespace.ini" |
| 164 | + }, |
| 165 | + "2": { |
| 166 | + "name": "keyword.control.ini" |
| 167 | + }, |
| 168 | + "3": { |
| 169 | + "name": "entity.name.type.class.ini" |
| 170 | + } |
| 171 | + }, |
| 172 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 173 | + "endCaptures": { |
| 174 | + "1": { |
| 175 | + "name": "punctuation.whitespace.ini" |
| 176 | + }, |
| 177 | + "2": { |
| 178 | + "name": "keyword.control.ini" |
| 179 | + } |
| 180 | + }, |
| 181 | + "patterns": [ |
| 182 | + { |
| 183 | + "include": "#Inline-Comment" |
| 184 | + }, |
| 185 | + { |
| 186 | + "include": "#General-Assignment" |
| 187 | + }, |
| 188 | + { |
| 189 | + "include": "#Invalid-Assignment" |
| 190 | + } |
| 191 | + ] |
| 192 | + }, |
| 193 | + "SkillSet-SideInfo-Class": { |
| 194 | + "begin": "(^[ \\t]+)?\\b(SkillSet[1-2])\\b", |
| 195 | + "beginCaptures": { |
| 196 | + "1": { |
| 197 | + "name": "punctuation.whitespace.ini" |
| 198 | + }, |
| 199 | + "2": { |
| 200 | + "name": "keyword.control.ini" |
| 201 | + } |
| 202 | + }, |
| 203 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 204 | + "endCaptures": { |
| 205 | + "1": { |
| 206 | + "name": "punctuation.whitespace.ini" |
| 207 | + }, |
| 208 | + "2": { |
| 209 | + "name": "keyword.control.ini" |
| 210 | + } |
| 211 | + }, |
| 212 | + "patterns": [ |
| 213 | + { |
| 214 | + "include": "#Inline-Comment" |
| 215 | + }, |
| 216 | + { |
| 217 | + "include": "#General-Assignment" |
| 218 | + }, |
| 219 | + { |
| 220 | + "include": "#Invalid-Assignment" |
| 221 | + } |
42 | 222 | ] |
43 | 223 | }, |
44 | 224 | "InGameUI-Class": { |
|
99 | 279 | "include": "#General-Assignment" |
100 | 280 | }, |
101 | 281 | { |
102 | | - "include": "#Invalid-Assignemnt" |
| 282 | + "include": "#Invalid-Assignment" |
103 | 283 | } |
104 | 284 | ] |
105 | 285 | }, |
|
133 | 313 | "include": "#General-Assignment" |
134 | 314 | }, |
135 | 315 | { |
136 | | - "include": "#Invalid-Assignemnt" |
| 316 | + "include": "#Invalid-Assignment" |
137 | 317 | } |
138 | 318 | ] |
139 | 319 | }, |
|
164 | 344 | "include": "#Inline-Comment" |
165 | 345 | }, |
166 | 346 | { |
167 | | - "include": "#DamageFX-Assignemnt" |
| 347 | + "include": "#DamageFX-Assignment" |
168 | 348 | }, |
169 | 349 | { |
170 | 350 | "include": "#General-Assignment" |
|
174 | 354 | } |
175 | 355 | ] |
176 | 356 | }, |
177 | | - "DamageFX-Assignemnt": { |
| 357 | + "DamageFX-Assignment": { |
178 | 358 | "begin": "(^[ \\t]+)?([a-zA-Z_][\\w%]*)", |
179 | 359 | "captures": { |
180 | 360 | "1": { |
|
193 | 373 | "include": "#Equals" |
194 | 374 | }, |
195 | 375 | { |
196 | | - "include": "#DamageFX-Assignemnt-DamageCategories" |
| 376 | + "include": "#DamageFX-Assignment-DamageCategories" |
197 | 377 | }, |
198 | 378 | { |
199 | 379 | "include": "#Value" |
200 | 380 | } |
201 | 381 | ] |
202 | 382 | }, |
203 | | - "DamageFX-Assignemnt-DamageCategories": { |
| 383 | + "DamageFX-Assignment-DamageCategories": { |
204 | 384 | "match": "\\b(HEROIC|PARTICLE_BEAM|EXPLOSION|CRUSH|ARMOR_PIERCING|SMALL_ARMS|GATTLING|RADIATION|FLAME|LASER|SNIPER|POISON|HEALING|UNRESISTABLE|WATER|DEPLOY|SURRENDER|HACK|KILL_PILOT|PENALTY|FALLING|MELEE|DISARM|HAZARD_CLEANUP|INFANTRY_MISSILE|AURORA_BOMB|LAND_MINE|JET_MISSILES|STEALTHJET_MISSILES|MOLOTOV_COCKTAIL|COMANCHE_VULCAN|SUBDUAL_MISSILE|SUBDUAL_VEHICLE|SUBDUAL_BUILDING|SUBDUAL_UNRESISTABLE|MICROWAVE|KILL_GARRISONED|STATUS|DEFAULT)\\b", |
205 | 385 | "name": "variable.other.constant.ini" |
206 | 386 | }, |
|
0 commit comments