github-linguist 7.2.0 → 7.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/documentation.markdown.injection.haxe.json +22 -0
  3. data/grammars/etc.json +7 -0
  4. data/grammars/file.lasso.json +3 -1
  5. data/grammars/source.abap.json +111 -21
  6. data/grammars/source.ats.json +17 -87
  7. data/grammars/source.ballerina.json +1 -1
  8. data/grammars/source.clarion.json +6 -6
  9. data/grammars/source.editorconfig.json +322 -0
  10. data/grammars/source.gfm.json +3 -1
  11. data/grammars/source.hx.json +1 -1
  12. data/grammars/source.hxml.json +4 -4
  13. data/grammars/source.hy.json +429 -0
  14. data/grammars/source.js.jsx.json +3 -1
  15. data/grammars/source.jsonnet.json +197 -0
  16. data/grammars/source.kotlin.json +23 -2
  17. data/grammars/source.mcfunction-snapshot.json +3053 -0
  18. data/grammars/source.mcfunction.json +1260 -0
  19. data/grammars/source.modula-3.json +1 -1
  20. data/grammars/source.reason.json +3 -0
  21. data/grammars/source.renpy.json +4 -4
  22. data/grammars/source.scheme.json +1 -1
  23. data/grammars/source.solidity.json +189 -0
  24. data/grammars/source.ssh-config.json +110 -0
  25. data/grammars/source.ts.json +6 -3
  26. data/grammars/source.tsx.json +6 -3
  27. data/grammars/source.viml.json +4 -0
  28. data/grammars/source.vyper.json +213 -0
  29. data/grammars/source.zig.json +1 -1
  30. data/grammars/text.conllu.json +45 -0
  31. data/grammars/text.html.basic.json +3 -1
  32. data/grammars/text.html.vue.json +6 -2
  33. data/grammars/text.rtf.json +143 -0
  34. data/grammars/version +1 -1
  35. data/lib/linguist/VERSION +1 -1
  36. data/lib/linguist/generated.rb +5 -5
  37. data/lib/linguist/heuristics.yml +12 -5
  38. data/lib/linguist/languages.json +1 -1
  39. data/lib/linguist/languages.yml +54 -2
  40. data/lib/linguist/samples.json +3151 -247
  41. metadata +13 -2
@@ -2001,7 +2001,9 @@
2001
2001
  "begin": "(?x)\n (?\u003c=\n \\.|\\(|,|{|}|\\[|;|\u003c|\u003e|\u003c=|\u003e=|==|!=|===|!==|\\+|-|\\*|%|\\+\\+|--|\u003c\u003c|\u003e\u003e|\u003e\u003e\u003e|\u0026|\\||\\^|!|~|\u0026\u0026|\\|\\||\\?|:|=|\\+=|-=|\\*=|%=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|\u0026=|\\|=|\\^=|/|/=|\n \\Wnew|\\Wdelete|\\Wvoid|\\Wtypeof|\\Winstanceof|\\Win|\\Wdo|\\Wreturn|\\Wcase|\\Wthrow|\\Wyield|\n ^new|^delete|^void|^typeof|^instanceof|^in|^do|^return|^case|^throw|^yield|^\n )\\s*\n (/)\n (?!/|\\*|$)",
2002
2002
  "end": "(/)([gimy]*)",
2003
2003
  "patterns": [
2004
- {}
2004
+ {
2005
+ "include": "source.js.regexp"
2006
+ }
2005
2007
  ],
2006
2008
  "beginCaptures": {
2007
2009
  "1": {
@@ -0,0 +1,197 @@
1
+ {
2
+ "name": "Jsonnet",
3
+ "scopeName": "source.jsonnet",
4
+ "patterns": [
5
+ {
6
+ "name": "constant.numeric.jsonnet",
7
+ "match": "\\b(\\d+([Ee][+-]?\\d+)?)\\b"
8
+ },
9
+ {
10
+ "name": "constant.numeric.jsonnet",
11
+ "match": "\\b\\d+[.]\\d*([Ee][+-]?\\d+)?\\b"
12
+ },
13
+ {
14
+ "name": "constant.numeric.jsonnet",
15
+ "match": "\\b[.]\\d+([Ee][+-]?\\d+)?\\b"
16
+ },
17
+ {
18
+ "name": "support.function.jsonnet",
19
+ "match": "\\bstd[.]is(String|Number|Boolean|Object|Array|Function)\\b"
20
+ },
21
+ {
22
+ "name": "support.function.jsonnet",
23
+ "match": "\\bstd[.](acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\\b"
24
+ },
25
+ {
26
+ "name": "support.function.jsonnet",
27
+ "match": "\\bstd[.](filter|floor|force|length|log|makeArray|mantissa|sign)\\b"
28
+ },
29
+ {
30
+ "name": "support.function.jsonnet",
31
+ "match": "\\bstd[.](objectFields(All)?|objectHas(All)?|equals|prune)\\b"
32
+ },
33
+ {
34
+ "name": "support.function.jsonnet",
35
+ "match": "\\bstd[.](pow|sin|sqrt|tan|type|max|min|mod|thisFile)\\b"
36
+ },
37
+ {
38
+ "name": "support.function.jsonnet",
39
+ "match": "\\bstd[.](abs|assertEqual|escapeString(Bash|Dollars|Json|Python))\\b"
40
+ },
41
+ {
42
+ "name": "support.function.jsonnet",
43
+ "match": "\\bstd[.](filterMap|flattenArrays|foldl|foldr|format|join)\\b"
44
+ },
45
+ {
46
+ "name": "support.function.jsonnet",
47
+ "match": "\\bstd[.](mapWithIndex|mapWithKey|deepJoin|mergePatch)\\b"
48
+ },
49
+ {
50
+ "name": "support.function.jsonnet",
51
+ "match": "\\bstd[.]manifest(Ini|Python(Vars)?|Json(Ex)?|Yaml(Doc|Stream)|XmlJsonml)\\b"
52
+ },
53
+ {
54
+ "name": "support.function.jsonnet",
55
+ "match": "\\bstd[.](lines|map|find|findSubstr|splitLimit|strReplace|ascii(Upper|Lower))\\b"
56
+ },
57
+ {
58
+ "name": "support.function.jsonnet",
59
+ "match": "\\bstd[.](set|set(Diff|Inter|Member|Union)|sort|resolvePath)\\b"
60
+ },
61
+ {
62
+ "name": "support.function.jsonnet",
63
+ "match": "\\bstd[.]base64(Decode(Bytes)?)?\\b"
64
+ },
65
+ {
66
+ "name": "support.function.jsonnet",
67
+ "match": "\\bstd[.](split|stringChars|substr|toString|startsWith|endsWith)\\b"
68
+ },
69
+ {
70
+ "name": "support.function.jsonnet",
71
+ "match": "\\bstd[.](parseInt|parseOctal|parseHex|range|uniq|slice|count)\\b"
72
+ },
73
+ {
74
+ "name": "variable.language.jsonnet",
75
+ "match": "\\b[$]\\b"
76
+ },
77
+ {
78
+ "name": "string.double.jsonnet",
79
+ "begin": "\"",
80
+ "end": "\"",
81
+ "patterns": [
82
+ {
83
+ "name": "constant.character.escape.jsonnet",
84
+ "match": "\\\\['\"\\\\/bfnrt]"
85
+ },
86
+ {
87
+ "name": "constant.character.escape.jsonnet",
88
+ "match": "\\\\u[0-9a-fA-F]{4}"
89
+ },
90
+ {
91
+ "name": "invalid.illegal.jsonnet",
92
+ "match": "\\\\[^'\"\\\\/bfnrtu]"
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "name": "string.single.jsonnet",
98
+ "begin": "'",
99
+ "end": "'",
100
+ "patterns": [
101
+ {
102
+ "name": "constant.character.escape.jsonnet",
103
+ "match": "\\\\['\"\\\\/bfnrt]"
104
+ },
105
+ {
106
+ "name": "constant.character.escape.jsonnet",
107
+ "match": "\\\\u[0-9a-fA-F]{4}"
108
+ },
109
+ {
110
+ "name": "invalid.illegal.jsonnet",
111
+ "match": "\\\\[^'\"\\\\/bfnrtu]"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "name": "string.double.verbatim.jsonnet",
117
+ "begin": "@\"",
118
+ "end": "\"(?!\")",
119
+ "patterns": [
120
+ {
121
+ "name": "constant.character.escape.jsonnet",
122
+ "match": "\"\""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "string.single.verbatim.jsonnet",
128
+ "begin": "@'",
129
+ "end": "'(?!')",
130
+ "patterns": [
131
+ {
132
+ "name": "constant.character.escape.jsonnet",
133
+ "match": "''"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "contentName": "string.block.jsonnet",
139
+ "begin": "^(\\s*)(.*)(\\|\\|\\|)",
140
+ "end": "^(?!$)(\\1)(\\|\\|\\|)",
141
+ "beginCaptures": {
142
+ "3": {
143
+ "name": "string.block.jsonnet"
144
+ }
145
+ },
146
+ "endCaptures": {
147
+ "2": {
148
+ "name": "string.block.jsonnet"
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "name": "comment.block.jsonnet",
154
+ "begin": "/\\*",
155
+ "end": "\\*/"
156
+ },
157
+ {
158
+ "name": "comment.line.jsonnet",
159
+ "match": "//.*$"
160
+ },
161
+ {
162
+ "name": "comment.block.jsonnet",
163
+ "match": "#.*$"
164
+ },
165
+ {
166
+ "name": "entity.name.function.jsonnet"
167
+ },
168
+ {
169
+ "name": "storage.type.jsonnet",
170
+ "match": "\\b(import|importstr)\\b"
171
+ },
172
+ {
173
+ "name": "keyword.other.jsonnet",
174
+ "match": "\\b(function)\\b"
175
+ },
176
+ {
177
+ "name": "variable.language.jsonnet",
178
+ "match": "\\b(self|super)\\b"
179
+ },
180
+ {
181
+ "name": "keyword.control.jsonnet",
182
+ "match": "\\b(if|then|else|for|in)\\b"
183
+ },
184
+ {
185
+ "name": "keyword.other.jsonnet",
186
+ "match": "\\b(local|tailstrict)\\b"
187
+ },
188
+ {
189
+ "name": "constant.language.jsonnet",
190
+ "match": "\\b(true|false|null)\\b"
191
+ },
192
+ {
193
+ "name": "keyword.control.jsonnet",
194
+ "match": "\\b(error|assert)\\b"
195
+ }
196
+ ]
197
+ }
@@ -337,7 +337,7 @@
337
337
  "patterns": [
338
338
  {
339
339
  "name": "keyword.operator.kotlin",
340
- "match": "(\\!in|\\!is|as\\?)"
340
+ "match": "\\b(\\!in|\\!is|as\\?)\\b"
341
341
  },
342
342
  {
343
343
  "name": "keyword.operator.kotlin",
@@ -506,7 +506,7 @@
506
506
  {
507
507
  "name": "string.quoted.triple.kotlin",
508
508
  "begin": "\"\"\"",
509
- "end": "\"\"\"",
509
+ "end": "\"\"\"(?!\")",
510
510
  "patterns": [
511
511
  {
512
512
  "include": "#string-content"
@@ -546,6 +546,27 @@
546
546
  "name": "punctuation.definition.string.end.kotlin"
547
547
  }
548
548
  }
549
+ },
550
+ {
551
+ "name": "string.quoted.single.kotlin",
552
+ "begin": "'",
553
+ "end": "'",
554
+ "patterns": [
555
+ {
556
+ "name": "constant.character.escape.kotlin",
557
+ "match": "\\\\."
558
+ }
559
+ ],
560
+ "beginCaptures": {
561
+ "0": {
562
+ "name": "punctuation.definition.string.begin.kotlin"
563
+ }
564
+ },
565
+ "endCaptures": {
566
+ "0": {
567
+ "name": "punctuation.definition.string.end.kotlin"
568
+ }
569
+ }
549
570
  }
550
571
  ]
551
572
  },
@@ -0,0 +1,3053 @@
1
+ {
2
+ "name": "mcfunction-snapshot",
3
+ "scopeName": "source.mcfunction-snapshot",
4
+ "patterns": [
5
+ {
6
+ "include": "#comment"
7
+ },
8
+ {
9
+ "include": "#command"
10
+ },
11
+ {
12
+ "include": "#unknown"
13
+ }
14
+ ],
15
+ "repository": {
16
+ "advancement_map.content": {
17
+ "patterns": [
18
+ {
19
+ "include": "#common.block"
20
+ }
21
+ ]
22
+ },
23
+ "command": {
24
+ "name": "meta._.command.mcfunction",
25
+ "begin": "^[ \\t]*(?=[^\\s\\#])",
26
+ "end": "\\n",
27
+ "patterns": [
28
+ {
29
+ "include": "#commands"
30
+ }
31
+ ]
32
+ },
33
+ "commands": {
34
+ "patterns": [
35
+ {
36
+ "include": "#generated.commands"
37
+ }
38
+ ]
39
+ },
40
+ "comment": {
41
+ "patterns": [
42
+ {
43
+ "name": "meta._.comment.mcfunction",
44
+ "begin": "^[ \\t]*(?=\\#)",
45
+ "end": "\\n",
46
+ "patterns": [
47
+ {
48
+ "include": "#comments"
49
+ }
50
+ ]
51
+ }
52
+ ]
53
+ },
54
+ "comment.annotation": {
55
+ "name": "meta._.annotation.comment.mcfunction",
56
+ "match": "(#)[ \\t]*(\\@\\w*)(\\b.*)$",
57
+ "captures": {
58
+ "1": {
59
+ "name": "comment._.comment.mcfunction"
60
+ },
61
+ "2": {
62
+ "name": "markup.heading._.name.annotation.comment.mcfunction"
63
+ },
64
+ "3": {
65
+ "name": "comment._.text.annotation.comment.mcfunction"
66
+ }
67
+ }
68
+ },
69
+ "comment.heading": {
70
+ "name": "meta._.heading.comment.mcfunction",
71
+ "match": "(##)[ \\t]*(.*)$",
72
+ "captures": {
73
+ "1": {
74
+ "name": "comment._.comment.mcfunction"
75
+ },
76
+ "2": {
77
+ "name": "markup.heading._.heading.comment.mcfunction"
78
+ }
79
+ }
80
+ },
81
+ "comment.marker": {
82
+ "name": "meta._.marker.comment.mcfunction",
83
+ "match": "(#)[ \\t]*((?:TODO|FIXME|XXX))(\\b.*)$",
84
+ "captures": {
85
+ "1": {
86
+ "name": "comment._.comment.mcfunction"
87
+ },
88
+ "2": {
89
+ "name": "markup.bold._.name.marker.comment.mcfunction"
90
+ },
91
+ "3": {
92
+ "name": "comment._.text.marker.comment.mcfunction"
93
+ }
94
+ }
95
+ },
96
+ "comment.other": {
97
+ "name": "meta._.other.comment.mcfunction",
98
+ "match": "(#.*)$",
99
+ "captures": {
100
+ "1": {
101
+ "name": "comment._.comment.mcfunction"
102
+ }
103
+ }
104
+ },
105
+ "comments": {
106
+ "patterns": [
107
+ {
108
+ "include": "#comment.heading"
109
+ },
110
+ {
111
+ "include": "#comment.marker"
112
+ },
113
+ {
114
+ "include": "#comment.annotation"
115
+ },
116
+ {
117
+ "include": "#comment.other"
118
+ }
119
+ ]
120
+ },
121
+ "common.block": {
122
+ "patterns": [
123
+ {
124
+ "name": "string._.content.dict.generic.mcfunction",
125
+ "match": "[^\\n\\{\\}\\[\\]\\\"\\']+"
126
+ },
127
+ {
128
+ "include": "#common.dict"
129
+ },
130
+ {
131
+ "include": "#common.list"
132
+ },
133
+ {
134
+ "include": "#common.quoted_string"
135
+ }
136
+ ]
137
+ },
138
+ "common.boolean": {
139
+ "patterns": [
140
+ {
141
+ "name": "constant.numeric._.boolean.mcfunction",
142
+ "match": "(?\u003c!\\w)(true|false)(?!\\w)"
143
+ }
144
+ ]
145
+ },
146
+ "common.dict": {
147
+ "patterns": [
148
+ {
149
+ "begin": "(\\{)",
150
+ "end": "(?=\\n)|(\\})",
151
+ "patterns": [
152
+ {
153
+ "include": "#common.block"
154
+ }
155
+ ],
156
+ "beginCaptures": {
157
+ "1": {
158
+ "name": "storage._.bracket.dict.generic.mcfunction"
159
+ }
160
+ },
161
+ "endCaptures": {
162
+ "1": {
163
+ "name": "storage._.bracket.dict.generic.mcfunction"
164
+ }
165
+ }
166
+ }
167
+ ]
168
+ },
169
+ "common.dict.whitespace": {
170
+ "patterns": [
171
+ {
172
+ "match": "(?\u003c=[\\{\\,]) +(?=[^\\}\\,])"
173
+ },
174
+ {
175
+ "match": "(?\u003c=[^\\{\\,]) +(?=[\\}\\,])"
176
+ },
177
+ {
178
+ "match": "(?\u003c=\\{) +(?=\\})"
179
+ }
180
+ ]
181
+ },
182
+ "common.double_quoted_string": {
183
+ "patterns": [
184
+ {
185
+ "begin": "(\\\")",
186
+ "end": "(?=\\n)|(\\\")",
187
+ "patterns": [
188
+ {
189
+ "include": "#common.double_quoted_string.content"
190
+ }
191
+ ],
192
+ "beginCaptures": {
193
+ "1": {
194
+ "name": "string._.string.mcfunction"
195
+ }
196
+ },
197
+ "endCaptures": {
198
+ "1": {
199
+ "name": "string._.string.mcfunction"
200
+ }
201
+ }
202
+ }
203
+ ]
204
+ },
205
+ "common.double_quoted_string.content": {
206
+ "patterns": [
207
+ {
208
+ "name": "string._.string.mcfunction",
209
+ "match": "[^\\\\\\\"\\n]"
210
+ },
211
+ {
212
+ "name": "constant.character.escape._.string_escape.mcfunction",
213
+ "match": "\\\\[^\\n]"
214
+ },
215
+ {
216
+ "match": "((\\\\))",
217
+ "captures": {
218
+ "1": {
219
+ "name": "invalid.illegal._.invalid.mcfunction"
220
+ },
221
+ "2": {
222
+ "name": "markup.underline._.underline.mcfunction"
223
+ }
224
+ }
225
+ }
226
+ ]
227
+ },
228
+ "common.double_range": {
229
+ "patterns": [
230
+ {
231
+ "match": "(\\-?\\d*\\.?\\d+)(\\.\\.)(\\-?\\d*\\.?\\d+)?",
232
+ "captures": {
233
+ "1": {
234
+ "name": "constant.numeric._.minimum.range.mcfunction"
235
+ },
236
+ "2": {
237
+ "name": "keyword.control._.ellipsis.range.mcfunction"
238
+ },
239
+ "3": {
240
+ "name": "constant.numeric._.maximum.range.mcfunction"
241
+ }
242
+ }
243
+ },
244
+ {
245
+ "match": "(\\-?\\d*\\.?\\d+)?(\\.\\.)(\\-?\\d*\\.?\\d+)",
246
+ "captures": {
247
+ "1": {
248
+ "name": "constant.numeric._.minimum.range.mcfunction"
249
+ },
250
+ "2": {
251
+ "name": "keyword.control._.ellipsis.range.mcfunction"
252
+ },
253
+ "3": {
254
+ "name": "constant.numeric._.maximum.range.mcfunction"
255
+ }
256
+ }
257
+ },
258
+ {
259
+ "name": "constant.numeric._.number.mcfunction",
260
+ "match": "(\\-?\\d*\\.?\\d+)"
261
+ }
262
+ ]
263
+ },
264
+ "common.integer_range": {
265
+ "patterns": [
266
+ {
267
+ "match": "(\\-?\\d*)(\\.\\.)(\\-?\\d*)?",
268
+ "captures": {
269
+ "1": {
270
+ "name": "constant.numeric._.minimum.range.mcfunction"
271
+ },
272
+ "2": {
273
+ "name": "keyword.control._.ellipsis.range.mcfunction"
274
+ },
275
+ "3": {
276
+ "name": "constant.numeric._.maximum.range.mcfunction"
277
+ }
278
+ }
279
+ },
280
+ {
281
+ "match": "(\\-?\\d*)?(\\.\\.)(\\-?\\d*)",
282
+ "captures": {
283
+ "1": {
284
+ "name": "constant.numeric._.minimum.range.mcfunction"
285
+ },
286
+ "2": {
287
+ "name": "keyword.control._.ellipsis.range.mcfunction"
288
+ },
289
+ "3": {
290
+ "name": "constant.numeric._.maximum.range.mcfunction"
291
+ }
292
+ }
293
+ },
294
+ {
295
+ "name": "constant.numeric._.number.mcfunction",
296
+ "match": "(\\-?\\d*)"
297
+ }
298
+ ]
299
+ },
300
+ "common.list": {
301
+ "patterns": [
302
+ {
303
+ "begin": "(\\[)",
304
+ "end": "(?=\\n)|(\\])",
305
+ "patterns": [
306
+ {
307
+ "include": "#common.block"
308
+ }
309
+ ],
310
+ "beginCaptures": {
311
+ "1": {
312
+ "name": "storage._.bracket.list.generic.mcfunction"
313
+ }
314
+ },
315
+ "endCaptures": {
316
+ "1": {
317
+ "name": "storage._.bracket.list.generic.mcfunction"
318
+ }
319
+ }
320
+ }
321
+ ]
322
+ },
323
+ "common.list.whitespace": {
324
+ "patterns": [
325
+ {
326
+ "match": "(?\u003c=[\\[\\,]) +(?=[^\\]\\,])"
327
+ },
328
+ {
329
+ "match": "(?\u003c=[^\\[\\,]) +(?=[\\]\\,])"
330
+ },
331
+ {
332
+ "match": "(?\u003c=\\[) +(?=\\])"
333
+ }
334
+ ]
335
+ },
336
+ "common.message": {
337
+ "patterns": [
338
+ {
339
+ "name": "string._.string.mcfunction",
340
+ "match": "([^\\@\\n]+)"
341
+ },
342
+ {
343
+ "begin": "(\\@[parse])(\\[)(?= *[\\w\\]])",
344
+ "end": "(?=\\n)|(\\])",
345
+ "patterns": [
346
+ {
347
+ "include": "#target_selector.content"
348
+ },
349
+ {
350
+ "include": "#error.command_line"
351
+ }
352
+ ],
353
+ "beginCaptures": {
354
+ "1": {
355
+ "name": "support.class._.base.target_selector.mcfunction"
356
+ },
357
+ "2": {
358
+ "name": "support.class._.bracket.target_selector.mcfunction"
359
+ }
360
+ },
361
+ "endCaptures": {
362
+ "1": {
363
+ "name": "support.class._.bracket.target_selector.mcfunction"
364
+ }
365
+ }
366
+ },
367
+ {
368
+ "name": "support.class._.base.target_selector.mcfunction",
369
+ "match": "(\\@[parse])"
370
+ },
371
+ {
372
+ "name": "string._.string.mcfunction",
373
+ "match": "([^\\n])"
374
+ }
375
+ ]
376
+ },
377
+ "common.number": {
378
+ "patterns": [
379
+ {
380
+ "name": "constant.numeric._.number.mcfunction",
381
+ "match": "(?\u003c!\\d)(\\-?\\d*\\.?\\d+)(?!\\d)"
382
+ }
383
+ ]
384
+ },
385
+ "common.position": {
386
+ "patterns": [
387
+ {
388
+ "include": "#common.position.abs_rel"
389
+ },
390
+ {
391
+ "include": "#common.position.local"
392
+ }
393
+ ]
394
+ },
395
+ "common.position.abs_rel": {
396
+ "patterns": [
397
+ {
398
+ "match": "(?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+)) (?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+)) (?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+))",
399
+ "captures": {
400
+ "1": {
401
+ "name": "keyword.control._.operator.relative.position.mcfunction"
402
+ },
403
+ "2": {
404
+ "name": "constant.numeric._.number.relative.position.mcfunction"
405
+ },
406
+ "3": {
407
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
408
+ },
409
+ "4": {
410
+ "name": "keyword.control._.operator.relative.position.mcfunction"
411
+ },
412
+ "5": {
413
+ "name": "constant.numeric._.number.relative.position.mcfunction"
414
+ },
415
+ "6": {
416
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
417
+ },
418
+ "7": {
419
+ "name": "keyword.control._.operator.relative.position.mcfunction"
420
+ },
421
+ "8": {
422
+ "name": "constant.numeric._.number.relative.position.mcfunction"
423
+ },
424
+ "9": {
425
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
426
+ }
427
+ }
428
+ }
429
+ ]
430
+ },
431
+ "common.position.local": {
432
+ "patterns": [
433
+ {
434
+ "match": "(\\^)(\\-?\\d*\\.?\\d+)? (\\^)(\\-?\\d*\\.?\\d+)? (\\^)(\\-?\\d*\\.?\\d+)?",
435
+ "captures": {
436
+ "1": {
437
+ "name": "keyword.control._.operator.local.position.mcfunction"
438
+ },
439
+ "2": {
440
+ "name": "constant.numeric._.number.local.position.mcfunction"
441
+ },
442
+ "3": {
443
+ "name": "keyword.control._.operator.local.position.mcfunction"
444
+ },
445
+ "4": {
446
+ "name": "constant.numeric._.number.local.position.mcfunction"
447
+ },
448
+ "5": {
449
+ "name": "keyword.control._.operator.local.position.mcfunction"
450
+ },
451
+ "6": {
452
+ "name": "constant.numeric._.number.local.position.mcfunction"
453
+ }
454
+ }
455
+ }
456
+ ]
457
+ },
458
+ "common.quotable_string": {
459
+ "patterns": [
460
+ {
461
+ "include": "#common.quoted_string"
462
+ },
463
+ {
464
+ "include": "#common.unquoted_string"
465
+ }
466
+ ]
467
+ },
468
+ "common.quoted_string": {
469
+ "patterns": [
470
+ {
471
+ "include": "#common.double_quoted_string"
472
+ },
473
+ {
474
+ "include": "#common.single_quoted_string"
475
+ }
476
+ ]
477
+ },
478
+ "common.resource_location": {
479
+ "patterns": [
480
+ {
481
+ "match": "([a-z0-9_\\.\\-]+)?(\\:)?([a-z0-9_\\.\\-\\/]+)",
482
+ "captures": {
483
+ "1": {
484
+ "name": "entity.name.function._.namespace.resource_location.mcfunction"
485
+ },
486
+ "2": {
487
+ "name": "entity.name.function._.colon.resource_location.mcfunction"
488
+ },
489
+ "3": {
490
+ "name": "entity.name.function._.path.resource_location.mcfunction"
491
+ }
492
+ }
493
+ }
494
+ ]
495
+ },
496
+ "common.single_quoted_string": {
497
+ "patterns": [
498
+ {
499
+ "begin": "(\\')",
500
+ "end": "(?=\\n)|(\\')",
501
+ "patterns": [
502
+ {
503
+ "include": "#common.single_quoted_string.content"
504
+ }
505
+ ],
506
+ "beginCaptures": {
507
+ "1": {
508
+ "name": "string._.string.mcfunction"
509
+ }
510
+ },
511
+ "endCaptures": {
512
+ "1": {
513
+ "name": "string._.string.mcfunction"
514
+ }
515
+ }
516
+ }
517
+ ]
518
+ },
519
+ "common.single_quoted_string.content": {
520
+ "patterns": [
521
+ {
522
+ "name": "string._.string.mcfunction",
523
+ "match": "[^\\\\\\'\\n]"
524
+ },
525
+ {
526
+ "name": "constant.character.escape._.string_escape.mcfunction",
527
+ "match": "\\\\[^\\n]"
528
+ },
529
+ {
530
+ "match": "((\\\\))",
531
+ "captures": {
532
+ "1": {
533
+ "name": "invalid.illegal._.invalid.mcfunction"
534
+ },
535
+ "2": {
536
+ "name": "markup.underline._.underline.mcfunction"
537
+ }
538
+ }
539
+ }
540
+ ]
541
+ },
542
+ "common.taggable_resource_location": {
543
+ "patterns": [
544
+ {
545
+ "include": "#common.tagged_resource_location"
546
+ },
547
+ {
548
+ "include": "#common.resource_location"
549
+ }
550
+ ]
551
+ },
552
+ "common.tagged_resource_location": {
553
+ "patterns": [
554
+ {
555
+ "match": "(\\#)([a-z0-9_\\.\\-]+)?(\\:)?([a-z0-9_\\.\\-\\/]+)",
556
+ "captures": {
557
+ "1": {
558
+ "name": "entity.name.function._.hash.resource_location.mcfunction"
559
+ },
560
+ "2": {
561
+ "name": "entity.name.function._.namespace.resource_location.mcfunction"
562
+ },
563
+ "3": {
564
+ "name": "entity.name.function._.colon.resource_location.mcfunction"
565
+ },
566
+ "4": {
567
+ "name": "entity.name.function._.path.resource_location.mcfunction"
568
+ }
569
+ }
570
+ }
571
+ ]
572
+ },
573
+ "common.unquoted_string": {
574
+ "patterns": [
575
+ {
576
+ "name": "string._.word.mcfunction",
577
+ "match": "([\\w\\.\\-\\+]+)"
578
+ }
579
+ ]
580
+ },
581
+ "error.block": {
582
+ "patterns": [
583
+ {
584
+ "match": "(([^\\n\\{\\}\\[\\]\\\"\\']+))",
585
+ "captures": {
586
+ "1": {
587
+ "name": "invalid.illegal._.invalid.mcfunction"
588
+ },
589
+ "2": {
590
+ "name": "markup.underline._.underline.mcfunction"
591
+ }
592
+ }
593
+ },
594
+ {
595
+ "include": "#error.block_value"
596
+ }
597
+ ]
598
+ },
599
+ "error.block_value": {
600
+ "patterns": [
601
+ {
602
+ "include": "#error.dict"
603
+ },
604
+ {
605
+ "include": "#error.list"
606
+ },
607
+ {
608
+ "include": "#error.quoted_string"
609
+ }
610
+ ]
611
+ },
612
+ "error.command_line": {
613
+ "name": "meta._.unknown_command.mcfunction",
614
+ "match": "((.*))$",
615
+ "captures": {
616
+ "1": {
617
+ "name": "invalid.illegal._.invalid.mcfunction"
618
+ },
619
+ "2": {
620
+ "name": "markup.underline._.underline.mcfunction"
621
+ }
622
+ }
623
+ },
624
+ "error.compound_value": {
625
+ "patterns": [
626
+ {
627
+ "include": "#error.block_value"
628
+ },
629
+ {
630
+ "match": "(([^\\n\\}\\,]))",
631
+ "captures": {
632
+ "1": {
633
+ "name": "invalid.illegal._.invalid.mcfunction"
634
+ },
635
+ "2": {
636
+ "name": "markup.underline._.underline.mcfunction"
637
+ }
638
+ }
639
+ }
640
+ ]
641
+ },
642
+ "error.dict": {
643
+ "patterns": [
644
+ {
645
+ "begin": "((\\{))",
646
+ "end": "((?=\\n)|(\\}))",
647
+ "patterns": [
648
+ {
649
+ "include": "#error.block"
650
+ }
651
+ ],
652
+ "beginCaptures": {
653
+ "1": {
654
+ "name": "invalid.illegal._.invalid.mcfunction"
655
+ },
656
+ "2": {
657
+ "name": "markup.underline._.underline.mcfunction"
658
+ }
659
+ },
660
+ "endCaptures": {
661
+ "1": {
662
+ "name": "invalid.illegal._.invalid.mcfunction"
663
+ },
664
+ "2": {
665
+ "name": "markup.underline._.underline.mcfunction"
666
+ }
667
+ }
668
+ }
669
+ ]
670
+ },
671
+ "error.double_quoted_string": {
672
+ "patterns": [
673
+ {
674
+ "begin": "((\\\"))",
675
+ "end": "((?=\\n)|(\\\"))",
676
+ "patterns": [
677
+ {
678
+ "include": "#error.double_quoted_string.content"
679
+ }
680
+ ],
681
+ "beginCaptures": {
682
+ "1": {
683
+ "name": "invalid.illegal._.invalid.mcfunction"
684
+ },
685
+ "2": {
686
+ "name": "markup.underline._.underline.mcfunction"
687
+ }
688
+ },
689
+ "endCaptures": {
690
+ "1": {
691
+ "name": "invalid.illegal._.invalid.mcfunction"
692
+ },
693
+ "2": {
694
+ "name": "markup.underline._.underline.mcfunction"
695
+ }
696
+ }
697
+ }
698
+ ]
699
+ },
700
+ "error.double_quoted_string.content": {
701
+ "patterns": [
702
+ {
703
+ "match": "(([^\\\\\\\"\\n]))",
704
+ "captures": {
705
+ "1": {
706
+ "name": "invalid.illegal._.invalid.mcfunction"
707
+ },
708
+ "2": {
709
+ "name": "markup.underline._.underline.mcfunction"
710
+ }
711
+ }
712
+ },
713
+ {
714
+ "match": "((\\\\[^\\n]))",
715
+ "captures": {
716
+ "1": {
717
+ "name": "invalid.illegal._.invalid.mcfunction"
718
+ },
719
+ "2": {
720
+ "name": "markup.underline._.underline.mcfunction"
721
+ }
722
+ }
723
+ },
724
+ {
725
+ "match": "((\\\\))",
726
+ "captures": {
727
+ "1": {
728
+ "name": "invalid.illegal._.invalid.mcfunction"
729
+ },
730
+ "2": {
731
+ "name": "markup.underline._.underline.mcfunction"
732
+ }
733
+ }
734
+ }
735
+ ]
736
+ },
737
+ "error.list": {
738
+ "patterns": [
739
+ {
740
+ "begin": "((\\[))",
741
+ "end": "((?=\\n)|(\\]))",
742
+ "patterns": [
743
+ {
744
+ "include": "#error.block"
745
+ }
746
+ ],
747
+ "beginCaptures": {
748
+ "1": {
749
+ "name": "invalid.illegal._.invalid.mcfunction"
750
+ },
751
+ "2": {
752
+ "name": "markup.underline._.underline.mcfunction"
753
+ }
754
+ },
755
+ "endCaptures": {
756
+ "1": {
757
+ "name": "invalid.illegal._.invalid.mcfunction"
758
+ },
759
+ "2": {
760
+ "name": "markup.underline._.underline.mcfunction"
761
+ }
762
+ }
763
+ }
764
+ ]
765
+ },
766
+ "error.list_value": {
767
+ "patterns": [
768
+ {
769
+ "include": "#error.block_value"
770
+ },
771
+ {
772
+ "match": "(([^\\n\\]\\,]))",
773
+ "captures": {
774
+ "1": {
775
+ "name": "invalid.illegal._.invalid.mcfunction"
776
+ },
777
+ "2": {
778
+ "name": "markup.underline._.underline.mcfunction"
779
+ }
780
+ }
781
+ }
782
+ ]
783
+ },
784
+ "error.quoted_string": {
785
+ "patterns": [
786
+ {
787
+ "include": "#error.double_quoted_string"
788
+ },
789
+ {
790
+ "include": "#error.single_quoted_string"
791
+ }
792
+ ]
793
+ },
794
+ "error.single_quoted_string": {
795
+ "patterns": [
796
+ {
797
+ "begin": "((\\'))",
798
+ "end": "((?=\\n)|(\\'))",
799
+ "patterns": [
800
+ {
801
+ "include": "#error.single_quoted_string.content"
802
+ }
803
+ ],
804
+ "beginCaptures": {
805
+ "1": {
806
+ "name": "invalid.illegal._.invalid.mcfunction"
807
+ },
808
+ "2": {
809
+ "name": "markup.underline._.underline.mcfunction"
810
+ }
811
+ },
812
+ "endCaptures": {
813
+ "1": {
814
+ "name": "invalid.illegal._.invalid.mcfunction"
815
+ },
816
+ "2": {
817
+ "name": "markup.underline._.underline.mcfunction"
818
+ }
819
+ }
820
+ }
821
+ ]
822
+ },
823
+ "error.single_quoted_string.content": {
824
+ "patterns": [
825
+ {
826
+ "match": "(([^\\\\\\'\\n]))",
827
+ "captures": {
828
+ "1": {
829
+ "name": "invalid.illegal._.invalid.mcfunction"
830
+ },
831
+ "2": {
832
+ "name": "markup.underline._.underline.mcfunction"
833
+ }
834
+ }
835
+ },
836
+ {
837
+ "match": "((\\\\[^\\n]))",
838
+ "captures": {
839
+ "1": {
840
+ "name": "invalid.illegal._.invalid.mcfunction"
841
+ },
842
+ "2": {
843
+ "name": "markup.underline._.underline.mcfunction"
844
+ }
845
+ }
846
+ },
847
+ {
848
+ "match": "((\\\\))",
849
+ "captures": {
850
+ "1": {
851
+ "name": "invalid.illegal._.invalid.mcfunction"
852
+ },
853
+ "2": {
854
+ "name": "markup.underline._.underline.mcfunction"
855
+ }
856
+ }
857
+ }
858
+ ]
859
+ },
860
+ "generated.command.execute": {
861
+ "begin": "(execute) (?=[^\\s\\#])",
862
+ "end": "(?=\\n)",
863
+ "patterns": [
864
+ {
865
+ "include": "#generated.commands.execute"
866
+ }
867
+ ],
868
+ "beginCaptures": {
869
+ "1": {
870
+ "name": "keyword.control._.command.mcfunction"
871
+ }
872
+ }
873
+ },
874
+ "generated.command.execute.as": {
875
+ "begin": "(as) (?=[^\\s\\#])",
876
+ "end": "(?=\\n)",
877
+ "patterns": [
878
+ {
879
+ "include": "#generated.commands.execute.as"
880
+ }
881
+ ],
882
+ "beginCaptures": {
883
+ "1": {
884
+ "name": "keyword.other._.subcommand.mcfunction"
885
+ }
886
+ }
887
+ },
888
+ "generated.command.execute.as.targets": {
889
+ "patterns": [
890
+ {
891
+ "begin": "(\\@[parse])( |(?=\\n))",
892
+ "end": "(?=\\n)",
893
+ "patterns": [
894
+ {
895
+ "include": "#generated.commands.execute.as.targets"
896
+ }
897
+ ],
898
+ "beginCaptures": {
899
+ "1": {
900
+ "name": "support.class._.base.target_selector.mcfunction"
901
+ }
902
+ }
903
+ },
904
+ {
905
+ "begin": "([0-9a-fA-F]+(?:(-)[0-9a-fA-F]+){4})( |(?=\\n))",
906
+ "end": "(?=\\n)",
907
+ "patterns": [
908
+ {
909
+ "include": "#generated.commands.execute.as.targets"
910
+ }
911
+ ],
912
+ "beginCaptures": {
913
+ "1": {
914
+ "name": "support.class._.uuid.target.mcfunction"
915
+ }
916
+ }
917
+ },
918
+ {
919
+ "begin": "(\\w+)( |(?=\\n))",
920
+ "end": "(?=\\n)",
921
+ "patterns": [
922
+ {
923
+ "include": "#generated.commands.execute.as.targets"
924
+ }
925
+ ],
926
+ "beginCaptures": {
927
+ "1": {
928
+ "name": "support.class._.player_name.target.mcfunction"
929
+ }
930
+ }
931
+ },
932
+ {
933
+ "begin": "(\\@[parse])(\\[)(?= *[\\w\\]])",
934
+ "end": "(?=\\n)",
935
+ "patterns": [
936
+ {
937
+ "begin": "(\\])( |(?=\\n))",
938
+ "end": "(?=\\n)",
939
+ "patterns": [
940
+ {
941
+ "include": "#generated.commands.execute.as.targets"
942
+ }
943
+ ],
944
+ "beginCaptures": {
945
+ "1": {
946
+ "name": "support.class._.bracket.target_selector.mcfunction"
947
+ }
948
+ }
949
+ },
950
+ {
951
+ "include": "#target_selector.content"
952
+ },
953
+ {
954
+ "include": "#error.command_line"
955
+ }
956
+ ],
957
+ "beginCaptures": {
958
+ "1": {
959
+ "name": "support.class._.base.target_selector.mcfunction"
960
+ },
961
+ "2": {
962
+ "name": "support.class._.bracket.target_selector.mcfunction"
963
+ }
964
+ }
965
+ },
966
+ {
967
+ "include": "#error.command_line"
968
+ }
969
+ ]
970
+ },
971
+ "generated.command.execute.run": {
972
+ "begin": "(run)( |(?=\\n))",
973
+ "end": "(?=\\n)",
974
+ "patterns": [
975
+ {
976
+ "include": "#generated.commands.execute.run"
977
+ }
978
+ ],
979
+ "beginCaptures": {
980
+ "1": {
981
+ "name": "keyword.other._.subcommand.mcfunction"
982
+ }
983
+ }
984
+ },
985
+ "generated.command.say": {
986
+ "begin": "(say) (?=[^\\s\\#])",
987
+ "end": "(?=\\n)",
988
+ "patterns": [
989
+ {
990
+ "include": "#generated.commands.say"
991
+ }
992
+ ],
993
+ "beginCaptures": {
994
+ "1": {
995
+ "name": "keyword.control._.command.mcfunction"
996
+ }
997
+ }
998
+ },
999
+ "generated.command.say.message": {
1000
+ "patterns": [
1001
+ {
1002
+ "include": "#common.message"
1003
+ }
1004
+ ]
1005
+ },
1006
+ "generated.command.tellraw": {
1007
+ "begin": "(tellraw) (?=[^\\s\\#])",
1008
+ "end": "(?=\\n)",
1009
+ "patterns": [
1010
+ {
1011
+ "include": "#generated.commands.tellraw"
1012
+ }
1013
+ ],
1014
+ "beginCaptures": {
1015
+ "1": {
1016
+ "name": "keyword.control._.command.mcfunction"
1017
+ }
1018
+ }
1019
+ },
1020
+ "generated.command.tellraw.targets": {
1021
+ "patterns": [
1022
+ {
1023
+ "begin": "(\\@[parse]) (?=[^\\s\\#])",
1024
+ "end": "(?=\\n)",
1025
+ "patterns": [
1026
+ {
1027
+ "include": "#generated.commands.tellraw.targets"
1028
+ }
1029
+ ],
1030
+ "beginCaptures": {
1031
+ "1": {
1032
+ "name": "support.class._.base.target_selector.mcfunction"
1033
+ }
1034
+ }
1035
+ },
1036
+ {
1037
+ "begin": "([0-9a-fA-F]+(?:(-)[0-9a-fA-F]+){4}) (?=[^\\s\\#])",
1038
+ "end": "(?=\\n)",
1039
+ "patterns": [
1040
+ {
1041
+ "include": "#generated.commands.tellraw.targets"
1042
+ }
1043
+ ],
1044
+ "beginCaptures": {
1045
+ "1": {
1046
+ "name": "support.class._.uuid.target.mcfunction"
1047
+ }
1048
+ }
1049
+ },
1050
+ {
1051
+ "begin": "(\\w+) (?=[^\\s\\#])",
1052
+ "end": "(?=\\n)",
1053
+ "patterns": [
1054
+ {
1055
+ "include": "#generated.commands.tellraw.targets"
1056
+ }
1057
+ ],
1058
+ "beginCaptures": {
1059
+ "1": {
1060
+ "name": "support.class._.player_name.target.mcfunction"
1061
+ }
1062
+ }
1063
+ },
1064
+ {
1065
+ "begin": "(\\@[parse])(\\[)(?= *[\\w\\]])",
1066
+ "end": "(?=\\n)",
1067
+ "patterns": [
1068
+ {
1069
+ "begin": "(\\]) (?=[^\\s\\#])",
1070
+ "end": "(?=\\n)",
1071
+ "patterns": [
1072
+ {
1073
+ "include": "#generated.commands.tellraw.targets"
1074
+ }
1075
+ ],
1076
+ "beginCaptures": {
1077
+ "1": {
1078
+ "name": "support.class._.bracket.target_selector.mcfunction"
1079
+ }
1080
+ }
1081
+ },
1082
+ {
1083
+ "include": "#target_selector.content"
1084
+ },
1085
+ {
1086
+ "include": "#error.command_line"
1087
+ }
1088
+ ],
1089
+ "beginCaptures": {
1090
+ "1": {
1091
+ "name": "support.class._.base.target_selector.mcfunction"
1092
+ },
1093
+ "2": {
1094
+ "name": "support.class._.bracket.target_selector.mcfunction"
1095
+ }
1096
+ }
1097
+ },
1098
+ {
1099
+ "include": "#error.command_line"
1100
+ }
1101
+ ]
1102
+ },
1103
+ "generated.commands": {
1104
+ "patterns": [
1105
+ {
1106
+ "include": "#generated.command.say"
1107
+ },
1108
+ {
1109
+ "include": "#generated.command.tellraw"
1110
+ },
1111
+ {
1112
+ "include": "#generated.command.execute"
1113
+ },
1114
+ {
1115
+ "include": "#error.command_line"
1116
+ }
1117
+ ]
1118
+ },
1119
+ "generated.commands.execute": {
1120
+ "patterns": [
1121
+ {
1122
+ "include": "#generated.command.execute.run"
1123
+ },
1124
+ {
1125
+ "include": "#generated.command.execute.as"
1126
+ },
1127
+ {
1128
+ "include": "#error.command_line"
1129
+ }
1130
+ ]
1131
+ },
1132
+ "generated.commands.execute.as": {
1133
+ "patterns": [
1134
+ {
1135
+ "include": "#generated.command.execute.as.targets"
1136
+ },
1137
+ {
1138
+ "include": "#error.command_line"
1139
+ }
1140
+ ]
1141
+ },
1142
+ "generated.commands.execute.as.targets": {
1143
+ "patterns": [
1144
+ {
1145
+ "include": "#generated.commands.execute"
1146
+ }
1147
+ ]
1148
+ },
1149
+ "generated.commands.execute.run": {
1150
+ "patterns": [
1151
+ {
1152
+ "include": "#generated.commands"
1153
+ }
1154
+ ]
1155
+ },
1156
+ "generated.commands.say": {
1157
+ "patterns": [
1158
+ {
1159
+ "include": "#generated.command.say.message"
1160
+ },
1161
+ {
1162
+ "include": "#error.command_line"
1163
+ }
1164
+ ]
1165
+ },
1166
+ "generated.commands.tellraw": {
1167
+ "patterns": [
1168
+ {
1169
+ "include": "#generated.command.tellraw.targets"
1170
+ },
1171
+ {
1172
+ "include": "#error.command_line"
1173
+ }
1174
+ ]
1175
+ },
1176
+ "generated.commands.tellraw.targets": {
1177
+ "patterns": [
1178
+ {
1179
+ "include": "#text_component"
1180
+ },
1181
+ {
1182
+ "include": "#error.command_line"
1183
+ }
1184
+ ]
1185
+ },
1186
+ "nbt.compound": {
1187
+ "patterns": [
1188
+ {
1189
+ "begin": "(\\{)",
1190
+ "end": "(?=\\n)|(\\})",
1191
+ "patterns": [
1192
+ {
1193
+ "include": "#nbt.compound.content"
1194
+ }
1195
+ ],
1196
+ "beginCaptures": {
1197
+ "1": {
1198
+ "name": "storage._.bracket.dict.generic.mcfunction"
1199
+ }
1200
+ },
1201
+ "endCaptures": {
1202
+ "1": {
1203
+ "name": "storage._.bracket.dict.generic.mcfunction"
1204
+ }
1205
+ }
1206
+ }
1207
+ ]
1208
+ },
1209
+ "nbt.compound.content": {
1210
+ "patterns": [
1211
+ {
1212
+ "include": "#common.block"
1213
+ }
1214
+ ]
1215
+ },
1216
+ "nbt_path": {
1217
+ "patterns": [
1218
+ {
1219
+ "include": "#common.double_quoted_string.content"
1220
+ }
1221
+ ]
1222
+ },
1223
+ "score_map.content": {
1224
+ "patterns": [
1225
+ {
1226
+ "include": "#common.block"
1227
+ }
1228
+ ]
1229
+ },
1230
+ "target_selector.arguments": {
1231
+ "patterns": [
1232
+ {
1233
+ "include": "#target_selector.content.argument.xyz"
1234
+ },
1235
+ {
1236
+ "include": "#target_selector.content.argument.dxyz"
1237
+ },
1238
+ {
1239
+ "include": "#target_selector.content.argument.xy_rotation"
1240
+ },
1241
+ {
1242
+ "include": "#target_selector.content.argument.distance"
1243
+ },
1244
+ {
1245
+ "include": "#target_selector.content.argument.team"
1246
+ },
1247
+ {
1248
+ "include": "#target_selector.content.argument.tag"
1249
+ },
1250
+ {
1251
+ "include": "#target_selector.content.argument.name"
1252
+ },
1253
+ {
1254
+ "include": "#target_selector.content.argument.type"
1255
+ },
1256
+ {
1257
+ "include": "#target_selector.content.argument.level"
1258
+ },
1259
+ {
1260
+ "include": "#target_selector.content.argument.gamemode"
1261
+ },
1262
+ {
1263
+ "include": "#target_selector.content.argument.sort"
1264
+ },
1265
+ {
1266
+ "include": "#target_selector.content.argument.limit"
1267
+ },
1268
+ {
1269
+ "include": "#target_selector.content.argument.scores"
1270
+ },
1271
+ {
1272
+ "include": "#target_selector.content.argument.advancements"
1273
+ },
1274
+ {
1275
+ "include": "#target_selector.content.argument.nbt"
1276
+ }
1277
+ ]
1278
+ },
1279
+ "target_selector.content": {
1280
+ "patterns": [
1281
+ {
1282
+ "name": "meta._.argument_separator.content.target_selector.mcfunction",
1283
+ "match": "(?\u003c=[^\\[\\,])(\\,)(?= *\\w)",
1284
+ "captures": {
1285
+ "1": {
1286
+ "name": "support.class._.comma.target_selector.mcfunction"
1287
+ }
1288
+ }
1289
+ },
1290
+ {
1291
+ "match": "(?\u003c=[\\[\\,]) +(?=\\w)"
1292
+ },
1293
+ {
1294
+ "match": "(?\u003c=[^\\[\\,]) +(?=[\\]\\,])"
1295
+ },
1296
+ {
1297
+ "match": "(?\u003c=\\[) +(?=\\])"
1298
+ },
1299
+ {
1300
+ "include": "#target_selector.arguments"
1301
+ }
1302
+ ]
1303
+ },
1304
+ "target_selector.content.argument.advancements": {
1305
+ "patterns": [
1306
+ {
1307
+ "name": "meta._.advancements.argument.content.target_selector.mcfunction",
1308
+ "begin": "(advancements) *(\\=) *(\\{)",
1309
+ "end": "(?=\\n)|(\\}) *(?=[\\]\\,])",
1310
+ "patterns": [
1311
+ {
1312
+ "include": "#advancement_map.content"
1313
+ }
1314
+ ],
1315
+ "beginCaptures": {
1316
+ "1": {
1317
+ "name": "keyword.other._.param.target_selector.mcfunction"
1318
+ },
1319
+ "2": {
1320
+ "name": "support.class._.equals.target_selector.mcfunction"
1321
+ },
1322
+ "3": {
1323
+ "name": "storage._.bracket.advancement_map.mcfunction"
1324
+ }
1325
+ },
1326
+ "endCaptures": {
1327
+ "1": {
1328
+ "name": "storage._.bracket.advancement_map.mcfunction"
1329
+ }
1330
+ }
1331
+ }
1332
+ ]
1333
+ },
1334
+ "target_selector.content.argument.distance": {
1335
+ "patterns": [
1336
+ {
1337
+ "name": "meta._.distance.argument.content.target_selector.mcfunction",
1338
+ "begin": "(distance) *(\\=) *(?=[^\\n\\]\\,])",
1339
+ "end": "(?=\\n)| *(?=[\\]\\,])",
1340
+ "patterns": [
1341
+ {
1342
+ "include": "#common.double_range"
1343
+ },
1344
+ {
1345
+ "include": "#error.command_line"
1346
+ }
1347
+ ],
1348
+ "beginCaptures": {
1349
+ "1": {
1350
+ "name": "keyword.other._.param.target_selector.mcfunction"
1351
+ },
1352
+ "2": {
1353
+ "name": "support.class._.equals.target_selector.mcfunction"
1354
+ }
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ "target_selector.content.argument.dxyz": {
1360
+ "patterns": [
1361
+ {
1362
+ "name": "meta._.dxyz.argument.content.target_selector.mcfunction",
1363
+ "match": "(dx|dy|dz) *(\\=) *(\\-?\\d*\\.?\\d+) *(?=[\\]\\,])",
1364
+ "captures": {
1365
+ "1": {
1366
+ "name": "keyword.other._.param.target_selector.mcfunction"
1367
+ },
1368
+ "2": {
1369
+ "name": "support.class._.equals.target_selector.mcfunction"
1370
+ },
1371
+ "3": {
1372
+ "name": "constant.numeric._.number.mcfunction"
1373
+ }
1374
+ }
1375
+ }
1376
+ ]
1377
+ },
1378
+ "target_selector.content.argument.gamemode": {
1379
+ "patterns": [
1380
+ {
1381
+ "name": "meta._.gamemode.argument.content.target_selector.mcfunction",
1382
+ "match": "(gamemode) *(\\=) *(\\!?) *(survival|creative|adventure|spectator) *(?=[\\]\\,])",
1383
+ "captures": {
1384
+ "1": {
1385
+ "name": "keyword.other._.param.target_selector.mcfunction"
1386
+ },
1387
+ "2": {
1388
+ "name": "support.class._.equals.target_selector.mcfunction"
1389
+ },
1390
+ "3": {
1391
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1392
+ },
1393
+ "4": {
1394
+ "name": "keyword._.keyword.mcfunction"
1395
+ }
1396
+ }
1397
+ }
1398
+ ]
1399
+ },
1400
+ "target_selector.content.argument.level": {
1401
+ "patterns": [
1402
+ {
1403
+ "name": "meta._.level.argument.content.target_selector.mcfunction",
1404
+ "begin": "(level) *(\\=) *(?=[^\\n\\]\\,])",
1405
+ "end": "(?=\\n)| *(?=[\\]\\,])",
1406
+ "patterns": [
1407
+ {
1408
+ "include": "#common.integer_range"
1409
+ },
1410
+ {
1411
+ "include": "#error.command_line"
1412
+ }
1413
+ ],
1414
+ "beginCaptures": {
1415
+ "1": {
1416
+ "name": "keyword.other._.param.target_selector.mcfunction"
1417
+ },
1418
+ "2": {
1419
+ "name": "support.class._.equals.target_selector.mcfunction"
1420
+ }
1421
+ }
1422
+ }
1423
+ ]
1424
+ },
1425
+ "target_selector.content.argument.limit": {
1426
+ "patterns": [
1427
+ {
1428
+ "name": "meta._.limit.argument.content.target_selector.mcfunction",
1429
+ "match": "(limit) *(\\=) *(0*[1-9]\\d*) *(?=[\\]\\,])",
1430
+ "captures": {
1431
+ "1": {
1432
+ "name": "keyword.other._.param.target_selector.mcfunction"
1433
+ },
1434
+ "2": {
1435
+ "name": "support.class._.equals.target_selector.mcfunction"
1436
+ },
1437
+ "3": {
1438
+ "name": "constant.numeric._.number.mcfunction"
1439
+ }
1440
+ }
1441
+ }
1442
+ ]
1443
+ },
1444
+ "target_selector.content.argument.name": {
1445
+ "patterns": [
1446
+ {
1447
+ "name": "meta._.name.argument.content.target_selector.mcfunction",
1448
+ "begin": "(name) *(\\=) *(\\!?) *",
1449
+ "end": "(?=\\n)| *(?=[\\]\\,])",
1450
+ "patterns": [
1451
+ {
1452
+ "include": "#common.quotable_string"
1453
+ },
1454
+ {
1455
+ "include": "#error.command_line"
1456
+ }
1457
+ ],
1458
+ "beginCaptures": {
1459
+ "1": {
1460
+ "name": "keyword.other._.param.target_selector.mcfunction"
1461
+ },
1462
+ "2": {
1463
+ "name": "support.class._.equals.target_selector.mcfunction"
1464
+ },
1465
+ "3": {
1466
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1467
+ }
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ "target_selector.content.argument.nbt": {
1473
+ "patterns": [
1474
+ {
1475
+ "name": "meta._.nbt.argument.content.target_selector.mcfunction",
1476
+ "begin": "(nbt) *(\\=) *(\\!?) *(\\{)",
1477
+ "end": "(?=\\n)|(\\}) *(?=[\\]\\,])",
1478
+ "patterns": [
1479
+ {
1480
+ "include": "#nbt.compound.content"
1481
+ }
1482
+ ],
1483
+ "beginCaptures": {
1484
+ "1": {
1485
+ "name": "keyword.other._.param.target_selector.mcfunction"
1486
+ },
1487
+ "2": {
1488
+ "name": "support.class._.equals.target_selector.mcfunction"
1489
+ },
1490
+ "3": {
1491
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1492
+ },
1493
+ "4": {
1494
+ "name": "storage._.compound_bracket.nbt.mcfunction"
1495
+ }
1496
+ },
1497
+ "endCaptures": {
1498
+ "1": {
1499
+ "name": "storage._.compound_bracket.nbt.mcfunction"
1500
+ }
1501
+ }
1502
+ }
1503
+ ]
1504
+ },
1505
+ "target_selector.content.argument.scores": {
1506
+ "patterns": [
1507
+ {
1508
+ "name": "meta._.scores.argument.content.target_selector.mcfunction",
1509
+ "begin": "(scores) *(\\=) *(\\{)",
1510
+ "end": "(?=\\n)|(\\}) *(?=[\\]\\,])",
1511
+ "patterns": [
1512
+ {
1513
+ "include": "#score_map.content"
1514
+ }
1515
+ ],
1516
+ "beginCaptures": {
1517
+ "1": {
1518
+ "name": "keyword.other._.param.target_selector.mcfunction"
1519
+ },
1520
+ "2": {
1521
+ "name": "support.class._.equals.target_selector.mcfunction"
1522
+ },
1523
+ "3": {
1524
+ "name": "storage._.bracket.score_map.mcfunction"
1525
+ }
1526
+ },
1527
+ "endCaptures": {
1528
+ "1": {
1529
+ "name": "storage._.bracket.score_map.mcfunction"
1530
+ }
1531
+ }
1532
+ }
1533
+ ]
1534
+ },
1535
+ "target_selector.content.argument.sort": {
1536
+ "patterns": [
1537
+ {
1538
+ "name": "meta._.sort.argument.content.target_selector.mcfunction",
1539
+ "match": "(sort) *(\\=) *(arbitrary|furthest|nearest|random) *(?=[\\]\\,])",
1540
+ "captures": {
1541
+ "1": {
1542
+ "name": "keyword.other._.param.target_selector.mcfunction"
1543
+ },
1544
+ "2": {
1545
+ "name": "support.class._.equals.target_selector.mcfunction"
1546
+ },
1547
+ "3": {
1548
+ "name": "keyword._.keyword.mcfunction"
1549
+ }
1550
+ }
1551
+ }
1552
+ ]
1553
+ },
1554
+ "target_selector.content.argument.tag": {
1555
+ "patterns": [
1556
+ {
1557
+ "name": "meta._.tag.argument.content.target_selector.mcfunction",
1558
+ "match": "(tag) *(\\=) *(\\!?) *([\\w\\.\\-\\+]+)? *(?=[\\]\\,])",
1559
+ "captures": {
1560
+ "1": {
1561
+ "name": "keyword.other._.param.target_selector.mcfunction"
1562
+ },
1563
+ "2": {
1564
+ "name": "support.class._.equals.target_selector.mcfunction"
1565
+ },
1566
+ "3": {
1567
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1568
+ },
1569
+ "4": {
1570
+ "name": "entity.other.attribute-name._.entity_tag.mcfunction"
1571
+ }
1572
+ }
1573
+ }
1574
+ ]
1575
+ },
1576
+ "target_selector.content.argument.team": {
1577
+ "patterns": [
1578
+ {
1579
+ "name": "meta._.team.argument.content.target_selector.mcfunction",
1580
+ "match": "(team) *(\\=) *(\\!?) *([\\w\\.\\-\\+]+)? *(?=[\\]\\,])",
1581
+ "captures": {
1582
+ "1": {
1583
+ "name": "keyword.other._.param.target_selector.mcfunction"
1584
+ },
1585
+ "2": {
1586
+ "name": "support.class._.equals.target_selector.mcfunction"
1587
+ },
1588
+ "3": {
1589
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1590
+ },
1591
+ "4": {
1592
+ "name": "entity.other.attribute-name._.scoreboard_team.mcfunction"
1593
+ }
1594
+ }
1595
+ }
1596
+ ]
1597
+ },
1598
+ "target_selector.content.argument.type": {
1599
+ "patterns": [
1600
+ {
1601
+ "name": "meta._.type.argument.content.target_selector.mcfunction",
1602
+ "begin": "(type) *(\\=) *(\\!?) *(?=[^\\n\\]\\,])",
1603
+ "end": "(?=\\n)| *(?=[\\]\\,])",
1604
+ "patterns": [
1605
+ {
1606
+ "include": "#common.taggable_resource_location"
1607
+ },
1608
+ {
1609
+ "include": "#error.command_line"
1610
+ }
1611
+ ],
1612
+ "beginCaptures": {
1613
+ "1": {
1614
+ "name": "keyword.other._.param.target_selector.mcfunction"
1615
+ },
1616
+ "2": {
1617
+ "name": "support.class._.equals.target_selector.mcfunction"
1618
+ },
1619
+ "3": {
1620
+ "name": "constant.character.escape._.not.target_selector.mcfunction"
1621
+ }
1622
+ }
1623
+ }
1624
+ ]
1625
+ },
1626
+ "target_selector.content.argument.xy_rotation": {
1627
+ "patterns": [
1628
+ {
1629
+ "name": "meta._.xy_rotation.argument.content.target_selector.mcfunction",
1630
+ "begin": "(x_rotation|y_rotation) *(\\=) *(?=[^\\n\\]\\,])",
1631
+ "end": "(?=\\n)| *(?=[\\]\\,])",
1632
+ "patterns": [
1633
+ {
1634
+ "include": "#common.double_range"
1635
+ },
1636
+ {
1637
+ "include": "#error.command_line"
1638
+ }
1639
+ ],
1640
+ "beginCaptures": {
1641
+ "1": {
1642
+ "name": "keyword.other._.param.target_selector.mcfunction"
1643
+ },
1644
+ "2": {
1645
+ "name": "support.class._.equals.target_selector.mcfunction"
1646
+ }
1647
+ }
1648
+ }
1649
+ ]
1650
+ },
1651
+ "target_selector.content.argument.xyz": {
1652
+ "patterns": [
1653
+ {
1654
+ "name": "meta._.xyz.argument.content.target_selector.mcfunction",
1655
+ "match": "(x|y|z) *(\\=) *(\\-?\\d*\\.?\\d+) *(?=[\\]\\,])",
1656
+ "captures": {
1657
+ "1": {
1658
+ "name": "keyword.other._.param.target_selector.mcfunction"
1659
+ },
1660
+ "2": {
1661
+ "name": "support.class._.equals.target_selector.mcfunction"
1662
+ },
1663
+ "3": {
1664
+ "name": "constant.numeric._.number.mcfunction"
1665
+ }
1666
+ }
1667
+ }
1668
+ ]
1669
+ },
1670
+ "text_component": {
1671
+ "patterns": [
1672
+ {
1673
+ "include": "#text_component.boolean"
1674
+ },
1675
+ {
1676
+ "include": "#text_component.number"
1677
+ },
1678
+ {
1679
+ "include": "#text_component.string"
1680
+ },
1681
+ {
1682
+ "include": "#text_component.list"
1683
+ },
1684
+ {
1685
+ "include": "#text_component.dict"
1686
+ }
1687
+ ]
1688
+ },
1689
+ "text_component.atomic": {
1690
+ "patterns": [
1691
+ {
1692
+ "include": "#text_component.boolean"
1693
+ },
1694
+ {
1695
+ "include": "#text_component.number"
1696
+ },
1697
+ {
1698
+ "include": "#text_component.string"
1699
+ }
1700
+ ]
1701
+ },
1702
+ "text_component.boolean": {
1703
+ "patterns": [
1704
+ {
1705
+ "include": "#common.boolean"
1706
+ }
1707
+ ]
1708
+ },
1709
+ "text_component.command_string": {
1710
+ "patterns": [
1711
+ {
1712
+ "begin": "(\\\")(\\/)",
1713
+ "end": "(?=\\n)|(\\\")",
1714
+ "patterns": [
1715
+ {
1716
+ "include": "#commands"
1717
+ }
1718
+ ],
1719
+ "beginCaptures": {
1720
+ "1": {
1721
+ "name": "string._.string.mcfunction"
1722
+ },
1723
+ "2": {
1724
+ "name": "keyword.control._.command.mcfunction"
1725
+ }
1726
+ },
1727
+ "endCaptures": {
1728
+ "1": {
1729
+ "name": "string._.string.mcfunction"
1730
+ }
1731
+ }
1732
+ }
1733
+ ]
1734
+ },
1735
+ "text_component.dict": {
1736
+ "patterns": [
1737
+ {
1738
+ "begin": "(\\{)",
1739
+ "end": "(?=\\n)|(\\})",
1740
+ "patterns": [
1741
+ {
1742
+ "include": "#text_component.dict_common"
1743
+ },
1744
+ {
1745
+ "include": "#text_component.properties"
1746
+ }
1747
+ ],
1748
+ "beginCaptures": {
1749
+ "1": {
1750
+ "name": "storage._.bracket.text_component.mcfunction"
1751
+ }
1752
+ },
1753
+ "endCaptures": {
1754
+ "1": {
1755
+ "name": "storage._.bracket.text_component.mcfunction"
1756
+ }
1757
+ }
1758
+ }
1759
+ ]
1760
+ },
1761
+ "text_component.dict.click_event": {
1762
+ "patterns": [
1763
+ {
1764
+ "begin": "(\\{)",
1765
+ "end": "(?=\\n)|(\\})",
1766
+ "patterns": [
1767
+ {
1768
+ "include": "#text_component.dict_common"
1769
+ },
1770
+ {
1771
+ "include": "#text_component.properties.click_event"
1772
+ }
1773
+ ],
1774
+ "beginCaptures": {
1775
+ "1": {
1776
+ "name": "storage._.bracket.text_component.mcfunction"
1777
+ }
1778
+ },
1779
+ "endCaptures": {
1780
+ "1": {
1781
+ "name": "storage._.bracket.text_component.mcfunction"
1782
+ }
1783
+ }
1784
+ }
1785
+ ]
1786
+ },
1787
+ "text_component.dict.hover_event": {
1788
+ "patterns": [
1789
+ {
1790
+ "begin": "(\\{)",
1791
+ "end": "(?=\\n)|(\\})",
1792
+ "patterns": [
1793
+ {
1794
+ "include": "#text_component.dict_common"
1795
+ },
1796
+ {
1797
+ "include": "#text_component.properties.hover_event"
1798
+ }
1799
+ ],
1800
+ "beginCaptures": {
1801
+ "1": {
1802
+ "name": "storage._.bracket.text_component.mcfunction"
1803
+ }
1804
+ },
1805
+ "endCaptures": {
1806
+ "1": {
1807
+ "name": "storage._.bracket.text_component.mcfunction"
1808
+ }
1809
+ }
1810
+ }
1811
+ ]
1812
+ },
1813
+ "text_component.dict.score": {
1814
+ "patterns": [
1815
+ {
1816
+ "begin": "(\\{)",
1817
+ "end": "(?=\\n)|(\\})",
1818
+ "patterns": [
1819
+ {
1820
+ "include": "#text_component.dict_common"
1821
+ },
1822
+ {
1823
+ "include": "#text_component.properties.score"
1824
+ }
1825
+ ],
1826
+ "beginCaptures": {
1827
+ "1": {
1828
+ "name": "storage._.bracket.text_component.mcfunction"
1829
+ }
1830
+ },
1831
+ "endCaptures": {
1832
+ "1": {
1833
+ "name": "storage._.bracket.text_component.mcfunction"
1834
+ }
1835
+ }
1836
+ }
1837
+ ]
1838
+ },
1839
+ "text_component.dict_common": {
1840
+ "patterns": [
1841
+ {
1842
+ "match": "(?\u003c=[^\\{\\,])(\\,)(?=[^\\}\\,])",
1843
+ "captures": {
1844
+ "1": {
1845
+ "name": "storage._.comma.text_component.mcfunction"
1846
+ }
1847
+ }
1848
+ },
1849
+ {
1850
+ "include": "#common.dict.whitespace"
1851
+ }
1852
+ ]
1853
+ },
1854
+ "text_component.list": {
1855
+ "patterns": [
1856
+ {
1857
+ "begin": "(\\[)",
1858
+ "end": "(?=\\n)|(\\])",
1859
+ "patterns": [
1860
+ {
1861
+ "include": "#text_component.list_common"
1862
+ },
1863
+ {
1864
+ "include": "#text_component.list_values"
1865
+ }
1866
+ ],
1867
+ "beginCaptures": {
1868
+ "1": {
1869
+ "name": "storage._.bracket.text_component.mcfunction"
1870
+ }
1871
+ },
1872
+ "endCaptures": {
1873
+ "1": {
1874
+ "name": "storage._.bracket.text_component.mcfunction"
1875
+ }
1876
+ }
1877
+ }
1878
+ ]
1879
+ },
1880
+ "text_component.list_common": {
1881
+ "patterns": [
1882
+ {
1883
+ "match": "(?\u003c=[^\\[\\,])(\\,)(?=[^\\]\\,])",
1884
+ "captures": {
1885
+ "1": {
1886
+ "name": "storage._.comma.text_component.mcfunction"
1887
+ }
1888
+ }
1889
+ },
1890
+ {
1891
+ "include": "#common.list.whitespace"
1892
+ }
1893
+ ]
1894
+ },
1895
+ "text_component.list_values": {
1896
+ "patterns": [
1897
+ {
1898
+ "include": "#text_component"
1899
+ },
1900
+ {
1901
+ "include": "#error.list_value"
1902
+ }
1903
+ ]
1904
+ },
1905
+ "text_component.nbt_compound_string": {
1906
+ "patterns": [
1907
+ {
1908
+ "begin": "(\\\")(?=\\{)",
1909
+ "end": "(?=\\n)|(\\\")",
1910
+ "patterns": [
1911
+ {
1912
+ "include": "#nbt.compound"
1913
+ }
1914
+ ],
1915
+ "beginCaptures": {
1916
+ "1": {
1917
+ "name": "string._.string.mcfunction"
1918
+ }
1919
+ },
1920
+ "endCaptures": {
1921
+ "1": {
1922
+ "name": "string._.string.mcfunction"
1923
+ }
1924
+ }
1925
+ }
1926
+ ]
1927
+ },
1928
+ "text_component.number": {
1929
+ "patterns": [
1930
+ {
1931
+ "include": "#common.number"
1932
+ }
1933
+ ]
1934
+ },
1935
+ "text_component.properties": {
1936
+ "patterns": [
1937
+ {
1938
+ "include": "#text_component.property.b_i_u_s_o"
1939
+ },
1940
+ {
1941
+ "include": "#text_component.property.color"
1942
+ },
1943
+ {
1944
+ "include": "#text_component.property.text_translate"
1945
+ },
1946
+ {
1947
+ "include": "#text_component.property.extra_with"
1948
+ },
1949
+ {
1950
+ "include": "#text_component.property.selector"
1951
+ },
1952
+ {
1953
+ "include": "#text_component.property.score"
1954
+ },
1955
+ {
1956
+ "include": "#text_component.property.keybind"
1957
+ },
1958
+ {
1959
+ "include": "#text_component.property.insertion"
1960
+ },
1961
+ {
1962
+ "include": "#text_component.property.click_event"
1963
+ },
1964
+ {
1965
+ "include": "#text_component.property.hover_event"
1966
+ },
1967
+ {
1968
+ "include": "#text_component.property.nbt"
1969
+ },
1970
+ {
1971
+ "include": "#text_component.property.entity"
1972
+ },
1973
+ {
1974
+ "include": "#text_component.property.block"
1975
+ },
1976
+ {
1977
+ "include": "#text_component.property.interpret"
1978
+ },
1979
+ {
1980
+ "include": "#error.compound_value"
1981
+ }
1982
+ ]
1983
+ },
1984
+ "text_component.properties.click_event": {
1985
+ "patterns": [
1986
+ {
1987
+ "include": "#text_component.property.click_event.action"
1988
+ },
1989
+ {
1990
+ "include": "#text_component.property.click_event.value"
1991
+ },
1992
+ {
1993
+ "include": "#error.compound_value"
1994
+ }
1995
+ ]
1996
+ },
1997
+ "text_component.properties.hover_event": {
1998
+ "patterns": [
1999
+ {
2000
+ "include": "#text_component.property.hover_event.action"
2001
+ },
2002
+ {
2003
+ "include": "#text_component.property.hover_event.value"
2004
+ },
2005
+ {
2006
+ "include": "#error.compound_value"
2007
+ }
2008
+ ]
2009
+ },
2010
+ "text_component.properties.score": {
2011
+ "patterns": [
2012
+ {
2013
+ "include": "#text_component.property.score.name"
2014
+ },
2015
+ {
2016
+ "include": "#text_component.property.score.objective"
2017
+ },
2018
+ {
2019
+ "include": "#text_component.property.score.value"
2020
+ },
2021
+ {
2022
+ "include": "#error.compound_value"
2023
+ }
2024
+ ]
2025
+ },
2026
+ "text_component.property.b_i_u_s_o": {
2027
+ "patterns": [
2028
+ {
2029
+ "begin": "(\\\")(bold|italic|underlined|strikethrough|obfuscated)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2030
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2031
+ "patterns": [
2032
+ {
2033
+ "include": "#text_component.boolean"
2034
+ },
2035
+ {
2036
+ "include": "#error.compound_value"
2037
+ }
2038
+ ],
2039
+ "beginCaptures": {
2040
+ "1": {
2041
+ "name": "string._.string.mcfunction"
2042
+ },
2043
+ "2": {
2044
+ "name": "string._.property.text_component.mcfunction"
2045
+ },
2046
+ "3": {
2047
+ "name": "string._.string.mcfunction"
2048
+ },
2049
+ "4": {
2050
+ "name": "storage._.compound_colon.nbt.mcfunction"
2051
+ }
2052
+ }
2053
+ }
2054
+ ]
2055
+ },
2056
+ "text_component.property.block": {
2057
+ "patterns": [
2058
+ {
2059
+ "begin": "(\\\")(block)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2060
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2061
+ "patterns": [
2062
+ {
2063
+ "include": "#text_component.string.position"
2064
+ },
2065
+ {
2066
+ "include": "#error.compound_value"
2067
+ }
2068
+ ],
2069
+ "beginCaptures": {
2070
+ "1": {
2071
+ "name": "string._.string.mcfunction"
2072
+ },
2073
+ "2": {
2074
+ "name": "string._.property.text_component.mcfunction"
2075
+ },
2076
+ "3": {
2077
+ "name": "string._.string.mcfunction"
2078
+ },
2079
+ "4": {
2080
+ "name": "storage._.compound_colon.nbt.mcfunction"
2081
+ }
2082
+ }
2083
+ }
2084
+ ]
2085
+ },
2086
+ "text_component.property.click_event": {
2087
+ "patterns": [
2088
+ {
2089
+ "begin": "(\\\")(clickEvent)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2090
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2091
+ "patterns": [
2092
+ {
2093
+ "include": "#text_component.dict.click_event"
2094
+ },
2095
+ {
2096
+ "include": "#error.compound_value"
2097
+ }
2098
+ ],
2099
+ "beginCaptures": {
2100
+ "1": {
2101
+ "name": "string._.string.mcfunction"
2102
+ },
2103
+ "2": {
2104
+ "name": "string._.property.text_component.mcfunction"
2105
+ },
2106
+ "3": {
2107
+ "name": "string._.string.mcfunction"
2108
+ },
2109
+ "4": {
2110
+ "name": "storage._.compound_colon.nbt.mcfunction"
2111
+ }
2112
+ }
2113
+ }
2114
+ ]
2115
+ },
2116
+ "text_component.property.click_event.action": {
2117
+ "patterns": [
2118
+ {
2119
+ "begin": "(\\\")(action)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2120
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2121
+ "patterns": [
2122
+ {
2123
+ "include": "#text_component.string.click_event"
2124
+ },
2125
+ {
2126
+ "include": "#error.compound_value"
2127
+ }
2128
+ ],
2129
+ "beginCaptures": {
2130
+ "1": {
2131
+ "name": "string._.string.mcfunction"
2132
+ },
2133
+ "2": {
2134
+ "name": "string._.property.text_component.mcfunction"
2135
+ },
2136
+ "3": {
2137
+ "name": "string._.string.mcfunction"
2138
+ },
2139
+ "4": {
2140
+ "name": "storage._.compound_colon.nbt.mcfunction"
2141
+ }
2142
+ }
2143
+ }
2144
+ ]
2145
+ },
2146
+ "text_component.property.click_event.value": {
2147
+ "patterns": [
2148
+ {
2149
+ "begin": "(\\\")(value)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2150
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2151
+ "patterns": [
2152
+ {
2153
+ "include": "#text_component.command_string"
2154
+ },
2155
+ {
2156
+ "include": "#text_component.string"
2157
+ },
2158
+ {
2159
+ "include": "#error.compound_value"
2160
+ }
2161
+ ],
2162
+ "beginCaptures": {
2163
+ "1": {
2164
+ "name": "string._.string.mcfunction"
2165
+ },
2166
+ "2": {
2167
+ "name": "string._.property.text_component.mcfunction"
2168
+ },
2169
+ "3": {
2170
+ "name": "string._.string.mcfunction"
2171
+ },
2172
+ "4": {
2173
+ "name": "storage._.compound_colon.nbt.mcfunction"
2174
+ }
2175
+ }
2176
+ }
2177
+ ]
2178
+ },
2179
+ "text_component.property.color": {
2180
+ "patterns": [
2181
+ {
2182
+ "begin": "(\\\")(color)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2183
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2184
+ "patterns": [
2185
+ {
2186
+ "include": "#text_component.string.color"
2187
+ },
2188
+ {
2189
+ "include": "#error.compound_value"
2190
+ }
2191
+ ],
2192
+ "beginCaptures": {
2193
+ "1": {
2194
+ "name": "string._.string.mcfunction"
2195
+ },
2196
+ "2": {
2197
+ "name": "string._.property.text_component.mcfunction"
2198
+ },
2199
+ "3": {
2200
+ "name": "string._.string.mcfunction"
2201
+ },
2202
+ "4": {
2203
+ "name": "storage._.compound_colon.nbt.mcfunction"
2204
+ }
2205
+ }
2206
+ }
2207
+ ]
2208
+ },
2209
+ "text_component.property.entity": {
2210
+ "patterns": [
2211
+ {
2212
+ "begin": "(\\\")(entity)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2213
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2214
+ "patterns": [
2215
+ {
2216
+ "include": "#text_component.string.target"
2217
+ },
2218
+ {
2219
+ "include": "#error.compound_value"
2220
+ }
2221
+ ],
2222
+ "beginCaptures": {
2223
+ "1": {
2224
+ "name": "string._.string.mcfunction"
2225
+ },
2226
+ "2": {
2227
+ "name": "string._.property.text_component.mcfunction"
2228
+ },
2229
+ "3": {
2230
+ "name": "string._.string.mcfunction"
2231
+ },
2232
+ "4": {
2233
+ "name": "storage._.compound_colon.nbt.mcfunction"
2234
+ }
2235
+ }
2236
+ }
2237
+ ]
2238
+ },
2239
+ "text_component.property.extra_with": {
2240
+ "patterns": [
2241
+ {
2242
+ "begin": "(\\\")(extra|with)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2243
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2244
+ "patterns": [
2245
+ {
2246
+ "include": "#text_component.list"
2247
+ },
2248
+ {
2249
+ "include": "#error.compound_value"
2250
+ }
2251
+ ],
2252
+ "beginCaptures": {
2253
+ "1": {
2254
+ "name": "string._.string.mcfunction"
2255
+ },
2256
+ "2": {
2257
+ "name": "string._.property.text_component.mcfunction"
2258
+ },
2259
+ "3": {
2260
+ "name": "string._.string.mcfunction"
2261
+ },
2262
+ "4": {
2263
+ "name": "storage._.compound_colon.nbt.mcfunction"
2264
+ }
2265
+ }
2266
+ }
2267
+ ]
2268
+ },
2269
+ "text_component.property.hover_event": {
2270
+ "patterns": [
2271
+ {
2272
+ "begin": "(\\\")(hoverEvent)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2273
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2274
+ "patterns": [
2275
+ {
2276
+ "include": "#text_component.dict.hover_event"
2277
+ },
2278
+ {
2279
+ "include": "#error.compound_value"
2280
+ }
2281
+ ],
2282
+ "beginCaptures": {
2283
+ "1": {
2284
+ "name": "string._.string.mcfunction"
2285
+ },
2286
+ "2": {
2287
+ "name": "string._.property.text_component.mcfunction"
2288
+ },
2289
+ "3": {
2290
+ "name": "string._.string.mcfunction"
2291
+ },
2292
+ "4": {
2293
+ "name": "storage._.compound_colon.nbt.mcfunction"
2294
+ }
2295
+ }
2296
+ }
2297
+ ]
2298
+ },
2299
+ "text_component.property.hover_event.action": {
2300
+ "patterns": [
2301
+ {
2302
+ "begin": "(\\\")(action)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2303
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2304
+ "patterns": [
2305
+ {
2306
+ "include": "#text_component.string.hover_event"
2307
+ },
2308
+ {
2309
+ "include": "#error.compound_value"
2310
+ }
2311
+ ],
2312
+ "beginCaptures": {
2313
+ "1": {
2314
+ "name": "string._.string.mcfunction"
2315
+ },
2316
+ "2": {
2317
+ "name": "string._.property.text_component.mcfunction"
2318
+ },
2319
+ "3": {
2320
+ "name": "string._.string.mcfunction"
2321
+ },
2322
+ "4": {
2323
+ "name": "storage._.compound_colon.nbt.mcfunction"
2324
+ }
2325
+ }
2326
+ }
2327
+ ]
2328
+ },
2329
+ "text_component.property.hover_event.value": {
2330
+ "patterns": [
2331
+ {
2332
+ "begin": "(\\\")(value)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2333
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2334
+ "patterns": [
2335
+ {
2336
+ "include": "#text_component.nbt_compound_string"
2337
+ },
2338
+ {
2339
+ "include": "#text_component"
2340
+ },
2341
+ {
2342
+ "include": "#error.compound_value"
2343
+ }
2344
+ ],
2345
+ "beginCaptures": {
2346
+ "1": {
2347
+ "name": "string._.string.mcfunction"
2348
+ },
2349
+ "2": {
2350
+ "name": "string._.property.text_component.mcfunction"
2351
+ },
2352
+ "3": {
2353
+ "name": "string._.string.mcfunction"
2354
+ },
2355
+ "4": {
2356
+ "name": "storage._.compound_colon.nbt.mcfunction"
2357
+ }
2358
+ }
2359
+ }
2360
+ ]
2361
+ },
2362
+ "text_component.property.insertion": {
2363
+ "patterns": [
2364
+ {
2365
+ "begin": "(\\\")(insertion)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2366
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2367
+ "patterns": [
2368
+ {
2369
+ "include": "#text_component.command_string"
2370
+ },
2371
+ {
2372
+ "include": "#text_component.string"
2373
+ },
2374
+ {
2375
+ "include": "#error.compound_value"
2376
+ }
2377
+ ],
2378
+ "beginCaptures": {
2379
+ "1": {
2380
+ "name": "string._.string.mcfunction"
2381
+ },
2382
+ "2": {
2383
+ "name": "string._.property.text_component.mcfunction"
2384
+ },
2385
+ "3": {
2386
+ "name": "string._.string.mcfunction"
2387
+ },
2388
+ "4": {
2389
+ "name": "storage._.compound_colon.nbt.mcfunction"
2390
+ }
2391
+ }
2392
+ }
2393
+ ]
2394
+ },
2395
+ "text_component.property.interpret": {
2396
+ "patterns": [
2397
+ {
2398
+ "begin": "(\\\")(interpret)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2399
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2400
+ "patterns": [
2401
+ {
2402
+ "include": "#text_component.boolean"
2403
+ },
2404
+ {
2405
+ "include": "#error.compound_value"
2406
+ }
2407
+ ],
2408
+ "beginCaptures": {
2409
+ "1": {
2410
+ "name": "string._.string.mcfunction"
2411
+ },
2412
+ "2": {
2413
+ "name": "string._.property.text_component.mcfunction"
2414
+ },
2415
+ "3": {
2416
+ "name": "string._.string.mcfunction"
2417
+ },
2418
+ "4": {
2419
+ "name": "storage._.compound_colon.nbt.mcfunction"
2420
+ }
2421
+ }
2422
+ }
2423
+ ]
2424
+ },
2425
+ "text_component.property.keybind": {
2426
+ "patterns": [
2427
+ {
2428
+ "begin": "(\\\")(keybind)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2429
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2430
+ "patterns": [
2431
+ {
2432
+ "include": "#text_component.string.keybind"
2433
+ },
2434
+ {
2435
+ "include": "#error.compound_value"
2436
+ }
2437
+ ],
2438
+ "beginCaptures": {
2439
+ "1": {
2440
+ "name": "string._.string.mcfunction"
2441
+ },
2442
+ "2": {
2443
+ "name": "string._.property.text_component.mcfunction"
2444
+ },
2445
+ "3": {
2446
+ "name": "string._.string.mcfunction"
2447
+ },
2448
+ "4": {
2449
+ "name": "storage._.compound_colon.nbt.mcfunction"
2450
+ }
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ "text_component.property.nbt": {
2456
+ "patterns": [
2457
+ {
2458
+ "begin": "(\\\")(nbt)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2459
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2460
+ "patterns": [
2461
+ {
2462
+ "include": "#text_component.string.nbt"
2463
+ },
2464
+ {
2465
+ "include": "#error.compound_value"
2466
+ }
2467
+ ],
2468
+ "beginCaptures": {
2469
+ "1": {
2470
+ "name": "string._.string.mcfunction"
2471
+ },
2472
+ "2": {
2473
+ "name": "string._.property.text_component.mcfunction"
2474
+ },
2475
+ "3": {
2476
+ "name": "string._.string.mcfunction"
2477
+ },
2478
+ "4": {
2479
+ "name": "storage._.compound_colon.nbt.mcfunction"
2480
+ }
2481
+ }
2482
+ }
2483
+ ]
2484
+ },
2485
+ "text_component.property.score": {
2486
+ "patterns": [
2487
+ {
2488
+ "begin": "(\\\")(score)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2489
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2490
+ "patterns": [
2491
+ {
2492
+ "include": "#text_component.dict.score"
2493
+ },
2494
+ {
2495
+ "include": "#error.compound_value"
2496
+ }
2497
+ ],
2498
+ "beginCaptures": {
2499
+ "1": {
2500
+ "name": "string._.string.mcfunction"
2501
+ },
2502
+ "2": {
2503
+ "name": "string._.property.text_component.mcfunction"
2504
+ },
2505
+ "3": {
2506
+ "name": "string._.string.mcfunction"
2507
+ },
2508
+ "4": {
2509
+ "name": "storage._.compound_colon.nbt.mcfunction"
2510
+ }
2511
+ }
2512
+ }
2513
+ ]
2514
+ },
2515
+ "text_component.property.score.name": {
2516
+ "patterns": [
2517
+ {
2518
+ "begin": "(\\\")(name)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2519
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2520
+ "patterns": [
2521
+ {
2522
+ "include": "#text_component.string.score_holder"
2523
+ },
2524
+ {
2525
+ "include": "#error.compound_value"
2526
+ }
2527
+ ],
2528
+ "beginCaptures": {
2529
+ "1": {
2530
+ "name": "string._.string.mcfunction"
2531
+ },
2532
+ "2": {
2533
+ "name": "string._.property.text_component.mcfunction"
2534
+ },
2535
+ "3": {
2536
+ "name": "string._.string.mcfunction"
2537
+ },
2538
+ "4": {
2539
+ "name": "storage._.compound_colon.nbt.mcfunction"
2540
+ }
2541
+ }
2542
+ }
2543
+ ]
2544
+ },
2545
+ "text_component.property.score.objective": {
2546
+ "patterns": [
2547
+ {
2548
+ "begin": "(\\\")(objective)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2549
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2550
+ "patterns": [
2551
+ {
2552
+ "include": "#text_component.string.objective"
2553
+ },
2554
+ {
2555
+ "include": "#error.compound_value"
2556
+ }
2557
+ ],
2558
+ "beginCaptures": {
2559
+ "1": {
2560
+ "name": "string._.string.mcfunction"
2561
+ },
2562
+ "2": {
2563
+ "name": "string._.property.text_component.mcfunction"
2564
+ },
2565
+ "3": {
2566
+ "name": "string._.string.mcfunction"
2567
+ },
2568
+ "4": {
2569
+ "name": "storage._.compound_colon.nbt.mcfunction"
2570
+ }
2571
+ }
2572
+ }
2573
+ ]
2574
+ },
2575
+ "text_component.property.score.value": {
2576
+ "patterns": [
2577
+ {
2578
+ "begin": "(\\\")(value)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2579
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2580
+ "patterns": [
2581
+ {
2582
+ "include": "#text_component.atomic"
2583
+ },
2584
+ {
2585
+ "include": "#error.compound_value"
2586
+ }
2587
+ ],
2588
+ "beginCaptures": {
2589
+ "1": {
2590
+ "name": "string._.string.mcfunction"
2591
+ },
2592
+ "2": {
2593
+ "name": "string._.property.text_component.mcfunction"
2594
+ },
2595
+ "3": {
2596
+ "name": "string._.string.mcfunction"
2597
+ },
2598
+ "4": {
2599
+ "name": "storage._.compound_colon.nbt.mcfunction"
2600
+ }
2601
+ }
2602
+ }
2603
+ ]
2604
+ },
2605
+ "text_component.property.selector": {
2606
+ "patterns": [
2607
+ {
2608
+ "begin": "(\\\")(selector)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2609
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2610
+ "patterns": [
2611
+ {
2612
+ "include": "#text_component.string.target"
2613
+ },
2614
+ {
2615
+ "include": "#error.compound_value"
2616
+ }
2617
+ ],
2618
+ "beginCaptures": {
2619
+ "1": {
2620
+ "name": "string._.string.mcfunction"
2621
+ },
2622
+ "2": {
2623
+ "name": "string._.property.text_component.mcfunction"
2624
+ },
2625
+ "3": {
2626
+ "name": "string._.string.mcfunction"
2627
+ },
2628
+ "4": {
2629
+ "name": "storage._.compound_colon.nbt.mcfunction"
2630
+ }
2631
+ }
2632
+ }
2633
+ ]
2634
+ },
2635
+ "text_component.property.text_translate": {
2636
+ "patterns": [
2637
+ {
2638
+ "begin": "(\\\")(text|translate)(\\\") *(\\:) *(?=[^\\s\\,\\}])",
2639
+ "end": "(?=\\n)|(?= *[\\,\\}])",
2640
+ "patterns": [
2641
+ {
2642
+ "include": "#text_component.atomic"
2643
+ },
2644
+ {
2645
+ "include": "#error.compound_value"
2646
+ }
2647
+ ],
2648
+ "beginCaptures": {
2649
+ "1": {
2650
+ "name": "string._.string.mcfunction"
2651
+ },
2652
+ "2": {
2653
+ "name": "string._.property.text_component.mcfunction"
2654
+ },
2655
+ "3": {
2656
+ "name": "string._.string.mcfunction"
2657
+ },
2658
+ "4": {
2659
+ "name": "storage._.compound_colon.nbt.mcfunction"
2660
+ }
2661
+ }
2662
+ }
2663
+ ]
2664
+ },
2665
+ "text_component.string": {
2666
+ "patterns": [
2667
+ {
2668
+ "include": "#common.double_quoted_string"
2669
+ }
2670
+ ]
2671
+ },
2672
+ "text_component.string.click_event": {
2673
+ "patterns": [
2674
+ {
2675
+ "begin": "(\\\")",
2676
+ "end": "(?=\\n)|(\\\")",
2677
+ "patterns": [
2678
+ {
2679
+ "name": "string._.event.property.text_component.mcfunction",
2680
+ "match": "(open_url|open_file|run_command|suggest_command|change_page)"
2681
+ },
2682
+ {
2683
+ "include": "#error.double_quoted_string.content"
2684
+ }
2685
+ ],
2686
+ "beginCaptures": {
2687
+ "1": {
2688
+ "name": "string._.string.mcfunction"
2689
+ }
2690
+ },
2691
+ "endCaptures": {
2692
+ "1": {
2693
+ "name": "string._.string.mcfunction"
2694
+ }
2695
+ }
2696
+ }
2697
+ ]
2698
+ },
2699
+ "text_component.string.color": {
2700
+ "patterns": [
2701
+ {
2702
+ "begin": "(\\\")",
2703
+ "end": "(?=\\n)|(\\\")",
2704
+ "patterns": [
2705
+ {
2706
+ "name": "string._.color.property.text_component.mcfunction",
2707
+ "match": "(black|dark_blue|dark_green|dark_aqua|dark_red|dark_purple|gold|gray|dark_gray|blue|green|aqua|red|light_purple|yellow|white)"
2708
+ },
2709
+ {
2710
+ "include": "#error.double_quoted_string.content"
2711
+ }
2712
+ ],
2713
+ "beginCaptures": {
2714
+ "1": {
2715
+ "name": "string._.string.mcfunction"
2716
+ }
2717
+ },
2718
+ "endCaptures": {
2719
+ "1": {
2720
+ "name": "string._.string.mcfunction"
2721
+ }
2722
+ }
2723
+ }
2724
+ ]
2725
+ },
2726
+ "text_component.string.hover_event": {
2727
+ "patterns": [
2728
+ {
2729
+ "begin": "(\\\")",
2730
+ "end": "(?=\\n)|(\\\")",
2731
+ "patterns": [
2732
+ {
2733
+ "name": "string._.event.property.text_component.mcfunction",
2734
+ "match": "(show_text|show_item|show_entity)"
2735
+ },
2736
+ {
2737
+ "include": "#error.double_quoted_string.content"
2738
+ }
2739
+ ],
2740
+ "beginCaptures": {
2741
+ "1": {
2742
+ "name": "string._.string.mcfunction"
2743
+ }
2744
+ },
2745
+ "endCaptures": {
2746
+ "1": {
2747
+ "name": "string._.string.mcfunction"
2748
+ }
2749
+ }
2750
+ }
2751
+ ]
2752
+ },
2753
+ "text_component.string.keybind": {
2754
+ "patterns": [
2755
+ {
2756
+ "begin": "(\\\")",
2757
+ "end": "(?=\\n)|(\\\")",
2758
+ "patterns": [
2759
+ {
2760
+ "name": "string._.keybind.property.text_component.mcfunction",
2761
+ "match": "(key\\.forward|key\\.left|key\\.back|key\\.right|key\\.jump|key\\.sneak|key\\.sprint|key\\.inventory|key\\.swapHands|key\\.drop|key\\.use|key\\.attack|key\\.pickItem|key\\.chat|key\\.playerlist|key\\.command|key\\.screenshot|key\\.togglePerspective|key\\.smoothCamera|key\\.fullscreen|key\\.spectatorOutlines|key\\.hotbar\\.1|key\\.hotbar\\.2|key\\.hotbar\\.3|key\\.hotbar\\.4|key\\.hotbar\\.5|key\\.hotbar\\.6|key\\.hotbar\\.7|key\\.hotbar\\.8|key\\.hotbar\\.9|key\\.saveToolbarActivator|key\\.loadToolbarActivator)"
2762
+ },
2763
+ {
2764
+ "include": "#error.double_quoted_string.content"
2765
+ }
2766
+ ],
2767
+ "beginCaptures": {
2768
+ "1": {
2769
+ "name": "string._.string.mcfunction"
2770
+ }
2771
+ },
2772
+ "endCaptures": {
2773
+ "1": {
2774
+ "name": "string._.string.mcfunction"
2775
+ }
2776
+ }
2777
+ }
2778
+ ]
2779
+ },
2780
+ "text_component.string.nbt": {
2781
+ "patterns": [
2782
+ {
2783
+ "begin": "(\\\")",
2784
+ "end": "(?=\\n)|(\\\")",
2785
+ "patterns": [
2786
+ {
2787
+ "include": "#text_component.string.nbt.content"
2788
+ },
2789
+ {
2790
+ "include": "#error.double_quoted_string.content"
2791
+ }
2792
+ ],
2793
+ "beginCaptures": {
2794
+ "1": {
2795
+ "name": "string._.string.mcfunction"
2796
+ }
2797
+ },
2798
+ "endCaptures": {
2799
+ "1": {
2800
+ "name": "string._.string.mcfunction"
2801
+ }
2802
+ }
2803
+ }
2804
+ ]
2805
+ },
2806
+ "text_component.string.nbt.content": {
2807
+ "patterns": [
2808
+ {
2809
+ "include": "#nbt_path"
2810
+ }
2811
+ ]
2812
+ },
2813
+ "text_component.string.objective": {
2814
+ "patterns": [
2815
+ {
2816
+ "begin": "(\\\")",
2817
+ "end": "(?=\\n)|(\\\")",
2818
+ "patterns": [
2819
+ {
2820
+ "include": "#text_component.string.objective.content"
2821
+ },
2822
+ {
2823
+ "include": "#error.double_quoted_string.content"
2824
+ }
2825
+ ],
2826
+ "beginCaptures": {
2827
+ "1": {
2828
+ "name": "string._.string.mcfunction"
2829
+ }
2830
+ },
2831
+ "endCaptures": {
2832
+ "1": {
2833
+ "name": "string._.string.mcfunction"
2834
+ }
2835
+ }
2836
+ }
2837
+ ]
2838
+ },
2839
+ "text_component.string.objective.content": {
2840
+ "patterns": [
2841
+ {
2842
+ "name": "entity.other.attribute-name._.scoreboard_objective.mcfunction",
2843
+ "match": "(?\u003c=\\\")([\\w\\.\\-\\+]+)(?=\\\")"
2844
+ }
2845
+ ]
2846
+ },
2847
+ "text_component.string.position": {
2848
+ "patterns": [
2849
+ {
2850
+ "begin": "(\\\")",
2851
+ "end": "(?=\\n)|(\\\")",
2852
+ "patterns": [
2853
+ {
2854
+ "include": "#text_component.string.position.content"
2855
+ },
2856
+ {
2857
+ "include": "#error.double_quoted_string.content"
2858
+ }
2859
+ ],
2860
+ "beginCaptures": {
2861
+ "1": {
2862
+ "name": "string._.string.mcfunction"
2863
+ }
2864
+ },
2865
+ "endCaptures": {
2866
+ "1": {
2867
+ "name": "string._.string.mcfunction"
2868
+ }
2869
+ }
2870
+ }
2871
+ ]
2872
+ },
2873
+ "text_component.string.position.content": {
2874
+ "patterns": [
2875
+ {
2876
+ "match": "(?\u003c=\\\")(?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+)) (?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+)) (?:(\\~)(\\-?\\d*\\.?\\d+)?|(\\-?\\d*\\.?\\d+))(?=\\\")",
2877
+ "captures": {
2878
+ "1": {
2879
+ "name": "keyword.control._.operator.relative.position.mcfunction"
2880
+ },
2881
+ "2": {
2882
+ "name": "constant.numeric._.number.relative.position.mcfunction"
2883
+ },
2884
+ "3": {
2885
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
2886
+ },
2887
+ "4": {
2888
+ "name": "keyword.control._.operator.relative.position.mcfunction"
2889
+ },
2890
+ "5": {
2891
+ "name": "constant.numeric._.number.relative.position.mcfunction"
2892
+ },
2893
+ "6": {
2894
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
2895
+ },
2896
+ "7": {
2897
+ "name": "keyword.control._.operator.relative.position.mcfunction"
2898
+ },
2899
+ "8": {
2900
+ "name": "constant.numeric._.number.relative.position.mcfunction"
2901
+ },
2902
+ "9": {
2903
+ "name": "constant.numeric._.number.absolute.position.mcfunction"
2904
+ }
2905
+ }
2906
+ },
2907
+ {
2908
+ "match": "(?\u003c=\\\")(\\^)(\\-?\\d*\\.?\\d+)? (\\^)(\\-?\\d*\\.?\\d+)? (\\^)(\\-?\\d*\\.?\\d+)?(?=\\\")",
2909
+ "captures": {
2910
+ "1": {
2911
+ "name": "keyword.control._.operator.local.position.mcfunction"
2912
+ },
2913
+ "2": {
2914
+ "name": "constant.numeric._.number.local.position.mcfunction"
2915
+ },
2916
+ "3": {
2917
+ "name": "keyword.control._.operator.local.position.mcfunction"
2918
+ },
2919
+ "4": {
2920
+ "name": "constant.numeric._.number.local.position.mcfunction"
2921
+ },
2922
+ "5": {
2923
+ "name": "keyword.control._.operator.local.position.mcfunction"
2924
+ },
2925
+ "6": {
2926
+ "name": "constant.numeric._.number.local.position.mcfunction"
2927
+ }
2928
+ }
2929
+ }
2930
+ ]
2931
+ },
2932
+ "text_component.string.score_holder": {
2933
+ "patterns": [
2934
+ {
2935
+ "begin": "(\\\")",
2936
+ "end": "(?=\\n)|(\\\")",
2937
+ "patterns": [
2938
+ {
2939
+ "include": "#text_component.string.score_holder.content"
2940
+ },
2941
+ {
2942
+ "include": "#error.double_quoted_string.content"
2943
+ }
2944
+ ],
2945
+ "beginCaptures": {
2946
+ "1": {
2947
+ "name": "string._.string.mcfunction"
2948
+ }
2949
+ },
2950
+ "endCaptures": {
2951
+ "1": {
2952
+ "name": "string._.string.mcfunction"
2953
+ }
2954
+ }
2955
+ }
2956
+ ]
2957
+ },
2958
+ "text_component.string.score_holder.content": {
2959
+ "patterns": [
2960
+ {
2961
+ "name": "support.class._.all.score_holder.mcfunction",
2962
+ "match": "(?\u003c=\\\")(\\*)(?=\\\")"
2963
+ },
2964
+ {
2965
+ "name": "support.class._.fakeplayer.score_holder.mcfunction",
2966
+ "match": "(?\u003c=\\\")([\\w\\.\\-\\#\\$\\%]+)(?=\\\")"
2967
+ },
2968
+ {
2969
+ "include": "#text_component.string.target.content"
2970
+ }
2971
+ ]
2972
+ },
2973
+ "text_component.string.target": {
2974
+ "patterns": [
2975
+ {
2976
+ "begin": "(\\\")",
2977
+ "end": "(?=\\n)|(\\\")",
2978
+ "patterns": [
2979
+ {
2980
+ "include": "#text_component.string.target.content"
2981
+ },
2982
+ {
2983
+ "include": "#error.double_quoted_string.content"
2984
+ }
2985
+ ],
2986
+ "beginCaptures": {
2987
+ "1": {
2988
+ "name": "string._.string.mcfunction"
2989
+ }
2990
+ },
2991
+ "endCaptures": {
2992
+ "1": {
2993
+ "name": "string._.string.mcfunction"
2994
+ }
2995
+ }
2996
+ }
2997
+ ]
2998
+ },
2999
+ "text_component.string.target.content": {
3000
+ "patterns": [
3001
+ {
3002
+ "name": "support.class._.base.target_selector.mcfunction",
3003
+ "match": "(?\u003c=\\\")(\\@[parse])(?=\\\")"
3004
+ },
3005
+ {
3006
+ "name": "support.class._.uuid.target.mcfunction",
3007
+ "match": "(?\u003c=\\\")([0-9a-fA-F]+(?:(-)[0-9a-fA-F]+){4})(?=\\\")"
3008
+ },
3009
+ {
3010
+ "name": "support.class._.player_name.target.mcfunction",
3011
+ "match": "(?\u003c=\\\")(\\w+)(?=\\\")"
3012
+ },
3013
+ {
3014
+ "begin": "(?\u003c=\\\")(\\@[parse])(\\[)(?= *[\\w\\]])",
3015
+ "end": "(?=\\n)|(?=\\\")|(\\])(?=\\\")",
3016
+ "patterns": [
3017
+ {
3018
+ "include": "#target_selector.content"
3019
+ },
3020
+ {
3021
+ "include": "#error.double_quoted_string.content"
3022
+ }
3023
+ ],
3024
+ "beginCaptures": {
3025
+ "1": {
3026
+ "name": "support.class._.base.target_selector.mcfunction"
3027
+ },
3028
+ "2": {
3029
+ "name": "support.class._.bracket.target_selector.mcfunction"
3030
+ }
3031
+ },
3032
+ "endCaptures": {
3033
+ "1": {
3034
+ "name": "support.class._.bracket.target_selector.mcfunction"
3035
+ }
3036
+ }
3037
+ }
3038
+ ]
3039
+ },
3040
+ "unknown": {
3041
+ "name": "meta._.unknown.mcfunction",
3042
+ "match": "^((.*))$",
3043
+ "captures": {
3044
+ "1": {
3045
+ "name": "invalid.illegal._.invalid.mcfunction"
3046
+ },
3047
+ "2": {
3048
+ "name": "markup.underline._.underline.mcfunction"
3049
+ }
3050
+ }
3051
+ }
3052
+ }
3053
+ }