|
103 | 103 | "captures": {
|
104 | 104 | "1": { "name": "keyword.storage.cesium" },
|
105 | 105 | "2": { "name": "storage.type.cesium" },
|
106 |
| - "3": { "name": "variable.other.member.cesium" }, |
| 106 | + "3": { "name": "variable.other.property.cesium" }, |
107 | 107 | "4": { "name": "constant.other.cesium" }
|
108 | 108 | }
|
109 | 109 | },
|
|
112 | 112 | "match": "\\b([a-zA-Z_][a-zA-Z0-9_]*(?:\\[[^\\]]*\\])?)\\s+([a-zA-Z_][a-zA-Z0-9_]*)(?:\\s*=\\s*([^;]+))?;",
|
113 | 113 | "captures": {
|
114 | 114 | "1": { "name": "storage.type.cesium" },
|
115 |
| - "2": { "name": "variable.other.member.cesium" }, |
| 115 | + "2": { "name": "variable.other.property.cesium" }, |
116 | 116 | "3": { "name": "constant.other.cesium" }
|
117 | 117 | }
|
118 | 118 | }
|
|
256 | 256 | "match": "\\b[A-Z][a-zA-Z0-9_]*\\b"
|
257 | 257 | },
|
258 | 258 | {
|
259 |
| - "name": "variable.other.cesium", |
| 259 | + "name": "variable.language.cesium", |
| 260 | + "match": "\\b(this|super|self)\\b" |
| 261 | + }, |
| 262 | + { |
| 263 | + "name": "variable.other.property.cesium", |
| 264 | + "match": "\\b[a-zA-Z_][a-zA-Z0-9_]*(?=\\s*\\.[a-zA-Z_])" |
| 265 | + }, |
| 266 | + { |
| 267 | + "name": "variable.other.property.cesium", |
| 268 | + "match": "(?<=\\.)[a-zA-Z_][a-zA-Z0-9_]*" |
| 269 | + }, |
| 270 | + { |
| 271 | + "name": "variable.other.readwrite.cesium", |
260 | 272 | "match": "\\b[a-zA-Z_][a-zA-Z0-9_]*\\b"
|
261 | 273 | }
|
262 | 274 | ]
|
|
0 commit comments