|
8 | 8 | { |
9 | 9 | "include": "#ObjectRelated-Class" |
10 | 10 | }, |
| 11 | + { |
| 12 | + "include": "#Locomotor-Class" |
| 13 | + }, |
| 14 | + { |
| 15 | + "include": "#Rank-Class" |
| 16 | + }, |
11 | 17 | { |
12 | 18 | "include": "#Science-Class" |
13 | 19 | }, |
|
38 | 44 | } |
39 | 45 | ], |
40 | 46 | "repository": { |
| 47 | + "Locomotor-Class": { |
| 48 | + "begin": "(^[ \\t]+)?([Ll]ocomotor)[ \\t]+([a-zA-Z_0-9][\\w%]*)", |
| 49 | + "beginCaptures": { |
| 50 | + "1": { |
| 51 | + "name": "punctuation.whitespace.ini" |
| 52 | + }, |
| 53 | + "2": { |
| 54 | + "name": "keyword.control.ini" |
| 55 | + }, |
| 56 | + "3": { |
| 57 | + "name": "entity.name.type.class.ini" |
| 58 | + } |
| 59 | + }, |
| 60 | + "end": "(^[ \\t]+)?([Ee]nd|END)", |
| 61 | + "endCaptures": { |
| 62 | + "1": { |
| 63 | + "name": "punctuation.whitespace.ini" |
| 64 | + }, |
| 65 | + "2": { |
| 66 | + "name": "keyword.control.ini" |
| 67 | + } |
| 68 | + }, |
| 69 | + "patterns": [ |
| 70 | + { |
| 71 | + "include": "#Inline-Comment" |
| 72 | + }, |
| 73 | + { |
| 74 | + "include": "#Locomotor-Surface-Assignment" |
| 75 | + }, |
| 76 | + { |
| 77 | + "include": "#General-Assignment" |
| 78 | + }, |
| 79 | + { |
| 80 | + "include": "#Invalid-Assignment" |
| 81 | + } |
| 82 | + ] |
| 83 | + }, |
| 84 | + "Locomotor-Surface-Assignment": { |
| 85 | + "begin": "(^[ \\t]+)?([Ss]urfaces)[ \\t]*(=)[ \\t]*", |
| 86 | + "beginCaptures": { |
| 87 | + "1": { |
| 88 | + "name": "punctuation.whitespace.ini" |
| 89 | + }, |
| 90 | + "2": { |
| 91 | + "name": "variable.name.ini" |
| 92 | + }, |
| 93 | + "3": { |
| 94 | + "name": "keyword.operator.assignment.ini" |
| 95 | + } |
| 96 | + }, |
| 97 | + "end": "$", |
| 98 | + "patterns": [ |
| 99 | + { |
| 100 | + "include": "#Inline-Comment" |
| 101 | + }, |
| 102 | + { |
| 103 | + "include": "#Locomotor-Surface-Assignment-value01" |
| 104 | + }, |
| 105 | + { |
| 106 | + "match": "[^a-zA-Z_]+", |
| 107 | + "name": "invalid.illegal.surface.ini" |
| 108 | + } |
| 109 | + ] |
| 110 | + }, |
| 111 | + "Locomotor-Surface-Assignment-value01": { |
| 112 | + "match": "\\b(GROUND|ground|RUBBLE|rubble|CLIFF|cliff|AIR|air|WATER|water)\\b", |
| 113 | + "name": "variable.other.constant.ini" |
| 114 | + }, |
| 115 | + "Rank-Class": { |
| 116 | + "begin": "(^[ \\t]+)?([Rr]ank)[ \\t]+([0-8])", |
| 117 | + "beginCaptures": { |
| 118 | + "1": { |
| 119 | + "name": "punctuation.whitespace.ini" |
| 120 | + }, |
| 121 | + "2": { |
| 122 | + "name": "keyword.control.ini" |
| 123 | + }, |
| 124 | + "3": { |
| 125 | + "name": "entity.name.type.class.ini" |
| 126 | + } |
| 127 | + }, |
| 128 | + "end": "(^[ \\t]+)?([Ee]nd|END)", |
| 129 | + "endCaptures": { |
| 130 | + "1": { |
| 131 | + "name": "punctuation.whitespace.ini" |
| 132 | + }, |
| 133 | + "2": { |
| 134 | + "name": "keyword.control.ini" |
| 135 | + } |
| 136 | + }, |
| 137 | + "patterns": [ |
| 138 | + { |
| 139 | + "include": "#Inline-Comment" |
| 140 | + }, |
| 141 | + { |
| 142 | + "include": "#General-Assignment" |
| 143 | + }, |
| 144 | + { |
| 145 | + "include": "#Invalid-Assignment" |
| 146 | + } |
| 147 | + ] |
| 148 | + }, |
41 | 149 | "Science-Class": { |
42 | 150 | "begin": "(^[ \\t]+)?([Ss]cience)[ \\t]+([a-zA-Z_][\\w%]*)", |
43 | 151 | "beginCaptures": { |
|
0 commit comments