github-linguist 7.9.0 → 7.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/etc.json +260 -1
  3. data/grammars/hidden.manref.json +1 -1
  4. data/grammars/hidden.regexp.injection-shell.json +28 -0
  5. data/grammars/source.4dm.json +57 -1
  6. data/grammars/source.abap.json +1 -1
  7. data/grammars/source.abl.json +685 -83
  8. data/grammars/source.agda.json +7 -7
  9. data/grammars/source.ballerina.json +1 -1
  10. data/grammars/source.c++.json +4 -4
  11. data/grammars/source.c.platform.json +584 -33
  12. data/grammars/source.chapel.json +5 -2
  13. data/grammars/source.css.json +1 -1
  14. data/grammars/source.curlrc.json +4 -4
  15. data/grammars/source.d.json +2 -2
  16. data/grammars/source.futhark.json +146 -0
  17. data/grammars/source.gcode.json +2 -2
  18. data/grammars/source.gedcom.json +196 -0
  19. data/grammars/source.generic-db.json +41 -0
  20. data/grammars/source.gfm.blade.json +15 -0
  21. data/grammars/source.gfm.json +1697 -1439
  22. data/grammars/source.httpspec.json +1 -1
  23. data/grammars/source.hx.json +5 -5
  24. data/grammars/source.hxml.json +2 -2
  25. data/grammars/source.idris.json +1 -1
  26. data/grammars/source.inputrc.json +1 -1
  27. data/grammars/source.isabelle.root.json +1 -1
  28. data/grammars/source.jison.json +3 -0
  29. data/grammars/source.jisonlex.json +3 -0
  30. data/grammars/source.julia.json +1 -1
  31. data/grammars/source.kotlin.json +17 -51
  32. data/grammars/source.lcov.json +398 -0
  33. data/grammars/source.lean.json +1 -1
  34. data/grammars/source.m2.json +125 -0
  35. data/grammars/source.man-conf.json +2 -2
  36. data/grammars/source.modula-3.json +10 -0
  37. data/grammars/{source.mrc.json → source.msl.json} +114 -99
  38. data/grammars/source.neon.json +381 -0
  39. data/grammars/source.objc.platform.json +493 -35
  40. data/grammars/source.openbsd-pkg.contents.json +128 -0
  41. data/grammars/source.p4.json +5 -21
  42. data/grammars/source.perl6fe.json +1 -1
  43. data/grammars/source.postscript.json +358 -103
  44. data/grammars/source.prisma.json +1 -1
  45. data/grammars/source.purescript.json +29 -2
  46. data/grammars/source.python.json +50 -0
  47. data/grammars/source.q.json +150 -63
  48. data/grammars/source.r.json +4 -4
  49. data/grammars/source.sieve.json +383 -0
  50. data/grammars/source.solidity.json +1 -1
  51. data/grammars/source.tags.json +266 -0
  52. data/grammars/source.ts.json +104 -36
  53. data/grammars/source.tsx.json +104 -36
  54. data/grammars/source.v.json +55 -24
  55. data/grammars/source.viml.json +3 -3
  56. data/grammars/source.webidl.json +8 -0
  57. data/grammars/source.wsd.json +25 -19
  58. data/grammars/source.x86.json +7 -3
  59. data/grammars/source.zig.json +84 -78
  60. data/grammars/text.dfy.dafny.json +188 -0
  61. data/grammars/text.html.php.blade.json +535 -528
  62. data/grammars/text.openbsd-pkg.desc.json +78 -0
  63. data/grammars/text.roff.json +49 -1
  64. data/grammars/text.sfd.json +21 -0
  65. data/grammars/text.xml.svg.json +8 -2
  66. data/grammars/version +1 -1
  67. data/lib/linguist/VERSION +1 -1
  68. data/lib/linguist/generated.rb +23 -6
  69. data/lib/linguist/languages.json +1 -1
  70. data/lib/linguist/languages.yml +74 -6
  71. data/lib/linguist/samples.json +4614 -150
  72. data/lib/linguist/vendor.yml +64 -62
  73. metadata +22 -10
  74. data/grammars/text.html.abl.json +0 -70
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "Generic Database",
3
+ "scopeName": "source.generic-db",
4
+ "patterns": [
5
+ {
6
+ "include": "#main"
7
+ }
8
+ ],
9
+ "repository": {
10
+ "field": {
11
+ "name": "constant.other.field.generic-db",
12
+ "match": "[^#:\\s][^:\\t]*"
13
+ },
14
+ "main": {
15
+ "patterns": [
16
+ {
17
+ "include": "etc#comment"
18
+ },
19
+ {
20
+ "include": "#record"
21
+ }
22
+ ]
23
+ },
24
+ "record": {
25
+ "name": "meta.record.generic-db",
26
+ "begin": "^(?=\\s*[^#:\\s])",
27
+ "end": "$",
28
+ "patterns": [
29
+ {
30
+ "include": "etc#colon"
31
+ },
32
+ {
33
+ "include": "etc#tab"
34
+ },
35
+ {
36
+ "include": "#field"
37
+ }
38
+ ]
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "Blade (Markdown)",
3
+ "scopeName": "source.gfm.blade",
4
+ "patterns": [
5
+ {
6
+ "include": "text.html.php.blade#blade"
7
+ },
8
+ {
9
+ "include": "text.html.basic"
10
+ },
11
+ {
12
+ "include": "source.gfm"
13
+ }
14
+ ]
15
+ }
@@ -3,1653 +3,1911 @@
3
3
  "scopeName": "source.gfm",
4
4
  "patterns": [
5
5
  {
6
- "name": "constant.character.escape.gfm",
7
- "match": "\\\\."
6
+ "include": "#blocks"
8
7
  },
9
8
  {
10
- "name": "markup.bold.italic.gfm",
11
- "begin": "(?\u003c=^|[^\\w\\d\\*])\\*\\*\\*(?!$|\\*|\\s)",
12
- "end": "(?\u003c!^|\\s)\\*\\*\\**\\*(?=$|[^\\w|\\d])",
9
+ "include": "#inlines"
10
+ },
11
+ {
12
+ "include": "#flavors"
13
+ }
14
+ ],
15
+ "repository": {
16
+ "blocks": {
13
17
  "patterns": [
14
18
  {
15
- "name": "constant.character.entity.gfm",
16
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
19
+ "include": "#headings"
20
+ },
21
+ {
22
+ "include": "#fenced-code-blocks"
23
+ },
24
+ {
25
+ "include": "#fenced-code"
26
+ },
27
+ {
28
+ "include": "#comments"
29
+ },
30
+ {
31
+ "include": "#front-matter"
32
+ },
33
+ {
34
+ "include": "#hr"
35
+ },
36
+ {
37
+ "include": "#lists"
38
+ },
39
+ {
40
+ "include": "#quotes"
41
+ },
42
+ {
43
+ "include": "#github-blocks"
44
+ }
45
+ ]
46
+ },
47
+ "code": {
48
+ "patterns": [
49
+ {
50
+ "name": "markup.raw.gfm",
51
+ "begin": "(`+)(?!$)",
52
+ "end": "\\1"
53
+ }
54
+ ]
55
+ },
56
+ "comments": {
57
+ "patterns": [
58
+ {
59
+ "name": "comment.block.gfm",
60
+ "begin": "\u003c!--",
61
+ "end": "--\\s*\u003e",
17
62
  "captures": {
18
- "1": {
19
- "name": "punctuation.definition.entity.gfm"
63
+ "0": {
64
+ "name": "punctuation.definition.comment.gfm"
65
+ }
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ "criticmark": {
71
+ "patterns": [
72
+ {
73
+ "name": "markup.inserted.critic.gfm.addition",
74
+ "begin": "{\\+\\+",
75
+ "end": "\\+\\+}",
76
+ "patterns": [
77
+ {
78
+ "include": "#emphasis"
79
+ }
80
+ ],
81
+ "captures": {
82
+ "0": {
83
+ "name": "punctuation.definition.inserted.critic.gfm.addition.marker"
84
+ }
85
+ }
86
+ },
87
+ {
88
+ "name": "markup.deleted.critic.gfm.deletion",
89
+ "begin": "{--",
90
+ "end": "--}",
91
+ "patterns": [
92
+ {
93
+ "include": "#emphasis"
94
+ }
95
+ ],
96
+ "captures": {
97
+ "0": {
98
+ "name": "punctuation.definition.deleted.critic.gfm.deletion.marker"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "critic.gfm.highlight",
104
+ "begin": "{==",
105
+ "end": "==}",
106
+ "patterns": [
107
+ {
108
+ "include": "#emphasis"
109
+ }
110
+ ],
111
+ "captures": {
112
+ "0": {
113
+ "name": "critic.gfm.highlight.marker"
114
+ }
115
+ }
116
+ },
117
+ {
118
+ "name": "critic.gfm.comment",
119
+ "begin": "{\u003e\u003e",
120
+ "end": "\u003c\u003c}",
121
+ "captures": {
122
+ "0": {
123
+ "name": "critic.gfm.comment.marker"
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "name": "markup.changed.critic.gfm.substitution",
129
+ "begin": "{~~",
130
+ "end": "~~}",
131
+ "patterns": [
132
+ {
133
+ "name": "punctuation.definition.changed.critic.gfm.substitution.operator",
134
+ "match": "~\u003e"
20
135
  },
21
- "3": {
22
- "name": "punctuation.definition.entity.gfm"
136
+ {
137
+ "include": "#emphasis"
138
+ }
139
+ ],
140
+ "captures": {
141
+ "0": {
142
+ "name": "punctuation.definition.changed.critic.gfm.substitution.marker"
23
143
  }
24
144
  }
25
145
  }
26
146
  ]
27
147
  },
28
- {
29
- "name": "markup.bold.italic.gfm",
30
- "begin": "(?\u003c=^|[^\\w\\d_])___(?!$|_|\\s)",
31
- "end": "(?\u003c!^|\\s)___*_(?=$|[^\\w|\\d])",
148
+ "emphasis": {
32
149
  "patterns": [
33
150
  {
34
- "name": "constant.character.entity.gfm",
35
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
151
+ "name": "markup.bold.italic.gfm",
152
+ "begin": "(?\u003c=^|[^\\w\\d\\*])\\*\\*\\*(?!$|\\*|\\s)",
153
+ "end": "(?\u003c!^|\\s)\\*\\*\\**\\*(?=$|[^\\w|\\d])",
154
+ "patterns": [
155
+ {
156
+ "name": "constant.character.entity.gfm",
157
+ "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
158
+ "captures": {
159
+ "1": {
160
+ "name": "punctuation.definition.entity.gfm"
161
+ },
162
+ "2": {
163
+ "name": "punctuation.definition.entity.gfm"
164
+ }
165
+ }
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "name": "markup.bold.italic.gfm",
171
+ "begin": "(?\u003c=^|[^\\w\\d_])___(?!$|_|\\s)",
172
+ "end": "(?\u003c!^|\\s)___*_(?=$|[^\\w|\\d])",
173
+ "patterns": [
174
+ {
175
+ "name": "constant.character.entity.gfm",
176
+ "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
177
+ "captures": {
178
+ "1": {
179
+ "name": "punctuation.definition.entity.gfm"
180
+ },
181
+ "2": {
182
+ "name": "punctuation.definition.entity.gfm"
183
+ }
184
+ }
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "markup.bold.gfm",
190
+ "match": "(?\u003c![\\w|\\\\])([_]{2})(?!\\s)(?m:(.+?))(?\u003c![\\s|\\\\])(\\1)(?!\\w)",
36
191
  "captures": {
37
192
  "1": {
38
193
  "name": "punctuation.definition.entity.gfm"
39
194
  },
195
+ "2": {
196
+ "patterns": [
197
+ {
198
+ "include": "#inlines-in-inlines"
199
+ }
200
+ ]
201
+ },
40
202
  "3": {
41
203
  "name": "punctuation.definition.entity.gfm"
42
204
  }
43
205
  }
44
- }
45
- ]
46
- },
47
- {
48
- "name": "markup.bold.gfm",
49
- "begin": "(?\u003c=^|[^\\w\\d\\*])\\*\\*(?!$|\\*|\\s)",
50
- "end": "(?\u003c!^|\\s)\\*\\**\\*(?=$|[^\\w|\\d])",
51
- "patterns": [
206
+ },
52
207
  {
53
- "name": "constant.character.entity.gfm",
54
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
208
+ "name": "markup.bold.gfm",
209
+ "match": "(?\u003c![\\w|\\\\])([\\*]{2})(?!\\s)(?m:(.+?))(?\u003c![\\s|\\\\])(\\1)(?!\\w)",
55
210
  "captures": {
56
211
  "1": {
57
212
  "name": "punctuation.definition.entity.gfm"
58
213
  },
214
+ "2": {
215
+ "patterns": [
216
+ {
217
+ "include": "#inlines-in-inlines"
218
+ }
219
+ ]
220
+ },
59
221
  "3": {
60
222
  "name": "punctuation.definition.entity.gfm"
61
223
  }
62
224
  }
63
- }
64
- ]
65
- },
66
- {
67
- "name": "markup.bold.gfm",
68
- "begin": "(?\u003c=^|[^\\w\\d_])__(?!$|_|\\s)",
69
- "end": "(?\u003c!^|\\s)__*_(?=$|[^\\w|\\d])",
70
- "patterns": [
225
+ },
71
226
  {
72
- "name": "constant.character.entity.gfm",
73
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
227
+ "name": "markup.bold.gfm",
228
+ "match": "(?\u003c=\\w)([\\*]{2})(?:.+?)(?\u003c!\\W)(\\1)",
229
+ "captures": {
230
+ "1": {
231
+ "name": "punctuation.definition.entity.gfm"
232
+ },
233
+ "2": {
234
+ "name": "punctuation.definition.entity.gfm"
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "name": "markup.bold.gfm",
240
+ "match": "(?\u003c=\\s|^)([\\*]{2})(?=\\w)(?:.+?)(\\1)(?=\\w)",
241
+ "captures": {
242
+ "1": {
243
+ "name": "punctuation.definition.entity.gfm"
244
+ },
245
+ "2": {
246
+ "name": "punctuation.definition.entity.gfm"
247
+ }
248
+ }
249
+ },
250
+ {
251
+ "name": "markup.italic.gfm",
252
+ "match": "(?\u003c![\\w|_|\\\\])([_])(?!\\s|\\1)(?m:(.+?))(?\u003c![\\s|\\\\])(\\1)(?!\\w)",
74
253
  "captures": {
75
254
  "1": {
76
255
  "name": "punctuation.definition.entity.gfm"
77
256
  },
257
+ "2": {
258
+ "patterns": [
259
+ {
260
+ "include": "#inlines-in-inlines"
261
+ }
262
+ ]
263
+ },
78
264
  "3": {
79
265
  "name": "punctuation.definition.entity.gfm"
80
266
  }
81
267
  }
82
- }
83
- ]
84
- },
85
- {
86
- "name": "markup.italic.gfm",
87
- "begin": "(?\u003c=^|[^\\w\\d\\*])\\*(?!$|\\*|\\s)",
88
- "end": "(?\u003c!^|\\s)\\**\\*(?=$|[^\\w|\\d])",
89
- "patterns": [
268
+ },
90
269
  {
91
- "name": "constant.character.entity.gfm",
92
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
270
+ "name": "markup.italic.gfm",
271
+ "match": "(?\u003c![\\w|\\*|\\\\])([\\*])(?!\\s|\\1)(?m:(.+?))(?\u003c![\\s|\\\\])(\\1)(?!\\w)",
93
272
  "captures": {
94
273
  "1": {
95
274
  "name": "punctuation.definition.entity.gfm"
96
275
  },
276
+ "2": {
277
+ "patterns": [
278
+ {
279
+ "include": "#inlines-in-inlines"
280
+ }
281
+ ]
282
+ },
97
283
  "3": {
98
284
  "name": "punctuation.definition.entity.gfm"
99
285
  }
100
286
  }
287
+ },
288
+ {
289
+ "name": "markup.italic.gfm",
290
+ "match": "(?\u003c=\\w)([\\*])(?:.+?)(?\u003c!\\W)(\\1)",
291
+ "captures": {
292
+ "1": {
293
+ "name": "punctuation.definition.entity.gfm"
294
+ },
295
+ "2": {
296
+ "name": "punctuation.definition.entity.gfm"
297
+ }
298
+ }
299
+ },
300
+ {
301
+ "name": "markup.italic.gfm",
302
+ "match": "(?\u003c=\\s|^)([\\*])(?=\\w)(?:.+?)(\\1)(?=\\w)",
303
+ "captures": {
304
+ "1": {
305
+ "name": "punctuation.definition.entity.gfm"
306
+ },
307
+ "2": {
308
+ "name": "punctuation.definition.entity.gfm"
309
+ }
310
+ }
101
311
  }
102
312
  ]
103
313
  },
104
- {
105
- "name": "markup.italic.gfm",
106
- "begin": "(?\u003c=^|[^\\w\\d_\\{\\}])_(?!$|_|\\s)",
107
- "end": "(?\u003c!^|\\s)_*_(?=$|[^\\w|\\d])",
314
+ "entities": {
108
315
  "patterns": [
109
316
  {
110
317
  "name": "constant.character.entity.gfm",
111
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
318
+ "match": "(\u0026)[a-zA-Z0-9]+(;)",
112
319
  "captures": {
113
320
  "1": {
114
321
  "name": "punctuation.definition.entity.gfm"
115
322
  },
116
- "3": {
323
+ "2": {
117
324
  "name": "punctuation.definition.entity.gfm"
118
325
  }
119
326
  }
120
- }
121
- ]
122
- },
123
- {
124
- "name": "markup.strike.gfm",
125
- "begin": "(?\u003c=^|[^\\w\\d~])~~(?!$|~|\\s)",
126
- "end": "(?\u003c!^|\\s)~~*~(?=$|[^\\w|\\d])",
127
- "patterns": [
327
+ },
128
328
  {
129
329
  "name": "constant.character.entity.gfm",
130
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
330
+ "match": "(\u0026)#[0-9]+(;)",
131
331
  "captures": {
132
332
  "1": {
133
333
  "name": "punctuation.definition.entity.gfm"
134
334
  },
135
- "3": {
335
+ "2": {
336
+ "name": "punctuation.definition.entity.gfm"
337
+ }
338
+ }
339
+ },
340
+ {
341
+ "name": "constant.character.entity.gfm",
342
+ "match": "(\u0026)#x[0-9a-fA-F]+(;)",
343
+ "captures": {
344
+ "1": {
345
+ "name": "punctuation.definition.entity.gfm"
346
+ },
347
+ "2": {
136
348
  "name": "punctuation.definition.entity.gfm"
137
349
  }
138
350
  }
139
351
  }
140
352
  ]
141
353
  },
142
- {
143
- "name": "markup.heading.heading-6.gfm",
144
- "begin": "^(#{6})(\\s*)",
145
- "end": "$",
354
+ "escapes": {
146
355
  "patterns": [
147
356
  {
148
- "include": "$self"
149
- }
150
- ],
151
- "captures": {
152
- "1": {
153
- "name": "markup.heading.marker.gfm"
154
- },
155
- "2": {
156
- "name": "markup.heading.space.gfm"
357
+ "name": "constant.character.escape.gfm",
358
+ "match": "\\\\."
157
359
  }
158
- }
360
+ ]
159
361
  },
160
- {
161
- "name": "markup.heading.heading-5.gfm",
162
- "begin": "^(#{5})(\\s*)",
163
- "end": "$",
362
+ "fenced-code": {
164
363
  "patterns": [
165
364
  {
166
- "include": "$self"
167
- }
168
- ],
169
- "captures": {
170
- "1": {
171
- "name": "markup.heading.marker.gfm"
365
+ "name": "markup.code.other.gfm",
366
+ "contentName": "source.embedded.${2:/downcase}",
367
+ "begin": "^\\s*(`{3,}|~{3,})\\s*([-\\w]+)\\s*$",
368
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
369
+ "beginCaptures": {
370
+ "0": {
371
+ "name": "support.gfm"
372
+ }
373
+ },
374
+ "endCaptures": {
375
+ "0": {
376
+ "name": "support.gfm"
377
+ }
378
+ }
172
379
  },
173
- "2": {
174
- "name": "markup.heading.space.gfm"
380
+ {
381
+ "name": "markup.raw.gfm",
382
+ "begin": "^\\s*(`{3,}|~{3,}).*$",
383
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
384
+ "beginCaptures": {
385
+ "0": {
386
+ "name": "support.gfm"
387
+ }
388
+ },
389
+ "endCaptures": {
390
+ "0": {
391
+ "name": "support.gfm"
392
+ }
393
+ }
175
394
  }
176
- }
395
+ ]
177
396
  },
178
- {
179
- "name": "markup.heading.heading-4.gfm",
180
- "begin": "^(#{4})(\\s*)",
181
- "end": "$",
397
+ "fenced-code-blocks": {
182
398
  "patterns": [
183
399
  {
184
- "include": "$self"
185
- }
186
- ],
187
- "captures": {
188
- "1": {
189
- "name": "markup.heading.marker.gfm"
400
+ "name": "markup.code.gfm",
401
+ "contentName": "text.embedded.html.markdown.source.gfm.apib",
402
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(apib|apiblueprint))\\s*$",
403
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
404
+ "patterns": [
405
+ {
406
+ "include": "text.html.markdown.source.gfm.apib"
407
+ }
408
+ ],
409
+ "beginCaptures": {
410
+ "0": {
411
+ "name": "support.gfm"
412
+ }
413
+ },
414
+ "endCaptures": {
415
+ "0": {
416
+ "name": "support.gfm"
417
+ }
418
+ }
190
419
  },
191
- "2": {
192
- "name": "markup.heading.space.gfm"
193
- }
194
- }
195
- },
196
- {
197
- "name": "markup.heading.heading-3.gfm",
198
- "begin": "^(#{3})(\\s*)",
199
- "end": "$",
200
- "patterns": [
201
420
  {
202
- "include": "$self"
203
- }
204
- ],
205
- "captures": {
206
- "1": {
207
- "name": "markup.heading.marker.gfm"
421
+ "name": "markup.code.gfm",
422
+ "contentName": "text.embedded.html.markdown.source.gfm.mson",
423
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(mson))\\s*$",
424
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
425
+ "patterns": [
426
+ {
427
+ "include": "text.html.markdown.source.gfm.mson"
428
+ }
429
+ ],
430
+ "beginCaptures": {
431
+ "0": {
432
+ "name": "support.gfm"
433
+ }
434
+ },
435
+ "endCaptures": {
436
+ "0": {
437
+ "name": "support.gfm"
438
+ }
439
+ }
208
440
  },
209
- "2": {
210
- "name": "markup.heading.space.gfm"
211
- }
212
- }
213
- },
214
- {
215
- "name": "markup.heading.heading-2.gfm",
216
- "begin": "^(#{2})(\\s*)",
217
- "end": "$",
218
- "patterns": [
219
441
  {
220
- "include": "$self"
221
- }
222
- ],
223
- "captures": {
224
- "1": {
225
- "name": "markup.heading.marker.gfm"
442
+ "name": "markup.code.sql.gfm",
443
+ "contentName": "source.embedded.sql",
444
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sql))\\s*$",
445
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
446
+ "patterns": [
447
+ {
448
+ "include": "source.sql"
449
+ }
450
+ ],
451
+ "beginCaptures": {
452
+ "0": {
453
+ "name": "support.gfm"
454
+ }
455
+ },
456
+ "endCaptures": {
457
+ "0": {
458
+ "name": "support.gfm"
459
+ }
460
+ }
226
461
  },
227
- "2": {
228
- "name": "markup.heading.space.gfm"
229
- }
230
- }
231
- },
232
- {
233
- "name": "markup.heading.heading-1.gfm",
234
- "begin": "^(#{1})(\\s*)",
235
- "end": "$",
236
- "patterns": [
237
462
  {
238
- "include": "$self"
239
- }
240
- ],
241
- "captures": {
242
- "1": {
243
- "name": "markup.heading.marker.gfm"
463
+ "name": "markup.code.graphql.gfm",
464
+ "contentName": "source.embedded.graphql",
465
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(graphql))\\s*$",
466
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
467
+ "patterns": [
468
+ {
469
+ "include": "source.graphql"
470
+ }
471
+ ],
472
+ "beginCaptures": {
473
+ "0": {
474
+ "name": "support.gfm"
475
+ }
476
+ },
477
+ "endCaptures": {
478
+ "0": {
479
+ "name": "support.gfm"
480
+ }
481
+ }
244
482
  },
245
- "2": {
246
- "name": "markup.heading.space.gfm"
247
- }
248
- }
249
- },
250
- {
251
- "name": "string.emoji.gfm",
252
- "match": "(:)(\\+1|\\-1|100|1234|8ball|a|ab|abc|abcd|accept|aerial_tramway|airplane|alarm_clock|alien|ambulance|anchor|angel|anger|angry|anguished|ant|apple|aquarius|aries|arrow_backward|arrow_double_down|arrow_double_up|arrow_down|arrow_down_small|arrow_forward|arrow_heading_down|arrow_heading_up|arrow_left|arrow_lower_left|arrow_lower_right|arrow_right|arrow_right_hook|arrow_up|arrow_up_down|arrow_up_small|arrow_upper_left|arrow_upper_right|arrows_clockwise|arrows_counterclockwise|art|articulated_lorry|astonished|atm|b|baby|baby_bottle|baby_chick|baby_symbol|back|baggage_claim|balloon|ballot_box_with_check|bamboo|banana|bangbang|bank|bar_chart|barber|baseball|basketball|bath|bathtub|battery|bear|bee|beer|beers|beetle|beginner|bell|bento|bicyclist|bike|bikini|bird|birthday|black_circle|black_joker|black_medium_small_square|black_medium_square|black_nib|black_small_square|black_square|black_square_button|blossom|blowfish|blue_book|blue_car|blue_heart|blush|boar|boat|bomb|book|bookmark|bookmark_tabs|books|boom|boot|bouquet|bow|bowling|bowtie|boy|bread|bride_with_veil|bridge_at_night|briefcase|broken_heart|bug|bulb|bullettrain_front|bullettrain_side|bus|busstop|bust_in_silhouette|busts_in_silhouette|cactus|cake|calendar|calling|camel|camera|cancer|candy|capital_abcd|capricorn|car|card_index|carousel_horse|cat|cat2|cd|chart|chart_with_downwards_trend|chart_with_upwards_trend|checkered_flag|cherries|cherry_blossom|chestnut|chicken|children_crossing|chocolate_bar|christmas_tree|church|cinema|circus_tent|city_sunrise|city_sunset|cl|clap|clapper|clipboard|clock1|clock10|clock1030|clock11|clock1130|clock12|clock1230|clock130|clock2|clock230|clock3|clock330|clock4|clock430|clock5|clock530|clock6|clock630|clock7|clock730|clock8|clock830|clock9|clock930|closed_book|closed_lock_with_key|closed_umbrella|cloud|clubs|cn|cocktail|coffee|cold_sweat|collision|computer|confetti_ball|confounded|confused|congratulations|construction|construction_worker|convenience_store|cookie|cool|cop|copyright|corn|couple|couple_with_heart|couplekiss|cow|cow2|credit_card|crocodile|crossed_flags|crown|cry|crying_cat_face|crystal_ball|cupid|curly_loop|currency_exchange|curry|custard|customs|cyclone|dancer|dancers|dango|dart|dash|date|de|deciduous_tree|department_store|diamond_shape_with_a_dot_inside|diamonds|disappointed|disappointed_relieved|dizzy|dizzy_face|do_not_litter|dog|dog2|dollar|dolls|dolphin|donut|door|doughnut|dragon|dragon_face|dress|dromedary_camel|droplet|dvd|e\\-mail|ear|ear_of_rice|earth_africa|earth_americas|earth_asia|egg|eggplant|eight|eight_pointed_black_star|eight_spoked_asterisk|electric_plug|elephant|email|end|envelope|es|euro|european_castle|european_post_office|evergreen_tree|exclamation|expressionless|eyeglasses|eyes|facepunch|factory|fallen_leaf|family|fast_forward|fax|fearful|feelsgood|feet|ferris_wheel|file_folder|finnadie|fire|fire_engine|fireworks|first_quarter_moon|first_quarter_moon_with_face|fish|fish_cake|fishing_pole_and_fish|fist|five|flags|flashlight|floppy_disk|flower_playing_cards|flushed|foggy|football|fork_and_knife|fountain|four|four_leaf_clover|fr|free|fried_shrimp|fries|frog|frowning|fu|fuelpump|full_moon|full_moon_with_face|game_die|gb|gem|gemini|ghost|gift|gift_heart|girl|globe_with_meridians|goat|goberserk|godmode|golf|grapes|green_apple|green_book|green_heart|grey_exclamation|grey_question|grimacing|grin|grinning|guardsman|guitar|gun|haircut|hamburger|hammer|hamster|hand|handbag|hankey|hash|hatched_chick|hatching_chick|headphones|hear_no_evil|heart|heart_decoration|heart_eyes|heart_eyes_cat|heartbeat|heartpulse|hearts|heavy_check_mark|heavy_division_sign|heavy_dollar_sign|heavy_exclamation_mark|heavy_minus_sign|heavy_multiplication_x|heavy_plus_sign|helicopter|herb|hibiscus|high_brightness|high_heel|hocho|honey_pot|honeybee|horse|horse_racing|hospital|hotel|hotsprings|hourglass|hourglass_flowing_sand|house|house_with_garden|hurtrealbad|hushed|ice_cream|icecream|id|ideograph_advantage|imp|inbox_tray|incoming_envelope|information_desk_person|information_source|innocent|interrobang|iphone|it|izakaya_lantern|jack_o_lantern|japan|japanese_castle|japanese_goblin|japanese_ogre|jeans|joy|joy_cat|jp|key|keycap_ten|kimono|kiss|kissing|kissing_cat|kissing_closed_eyes|kissing_face|kissing_heart|kissing_smiling_eyes|koala|koko|kr|large_blue_circle|large_blue_diamond|large_orange_diamond|last_quarter_moon|last_quarter_moon_with_face|laughing|leaves|ledger|left_luggage|left_right_arrow|leftwards_arrow_with_hook|lemon|leo|leopard|libra|light_rail|link|lips|lipstick|lock|lock_with_ink_pen|lollipop|loop|loudspeaker|love_hotel|love_letter|low_brightness|m|mag|mag_right|mahjong|mailbox|mailbox_closed|mailbox_with_mail|mailbox_with_no_mail|man|man_with_gua_pi_mao|man_with_turban|mans_shoe|maple_leaf|mask|massage|meat_on_bone|mega|melon|memo|mens|metal|metro|microphone|microscope|milky_way|minibus|minidisc|mobile_phone_off|money_with_wings|moneybag|monkey|monkey_face|monorail|moon|mortar_board|mount_fuji|mountain_bicyclist|mountain_cableway|mountain_railway|mouse|mouse2|movie_camera|moyai|muscle|mushroom|musical_keyboard|musical_note|musical_score|mute|nail_care|name_badge|neckbeard|necktie|negative_squared_cross_mark|neutral_face|new|new_moon|new_moon_with_face|newspaper|ng|nine|no_bell|no_bicycles|no_entry|no_entry_sign|no_good|no_mobile_phones|no_mouth|no_pedestrians|no_smoking|non\\-potable_water|nose|notebook|notebook_with_decorative_cover|notes|nut_and_bolt|o|o2|ocean|octocat|octopus|oden|office|ok|ok_hand|ok_woman|older_man|older_woman|on|oncoming_automobile|oncoming_bus|oncoming_police_car|oncoming_taxi|one|open_file_folder|open_hands|open_mouth|ophiuchus|orange_book|outbox_tray|ox|package|page_facing_up|page_with_curl|pager|palm_tree|panda_face|paperclip|parking|part_alternation_mark|partly_sunny|passport_control|paw_prints|peach|pear|pencil|pencil2|penguin|pensive|performing_arts|persevere|person_frowning|person_with_blond_hair|person_with_pouting_face|phone|pig|pig2|pig_nose|pill|pineapple|pisces|pizza|plus1|point_down|point_left|point_right|point_up|point_up_2|police_car|poodle|poop|post_office|postal_horn|postbox|potable_water|pouch|poultry_leg|pound|pouting_cat|pray|princess|punch|purple_heart|purse|pushpin|put_litter_in_its_place|question|rabbit|rabbit2|racehorse|radio|radio_button|rage|rage1|rage2|rage3|rage4|railway_car|rainbow|raised_hand|raised_hands|raising_hand|ram|ramen|rat|recycle|red_car|red_circle|registered|relaxed|relieved|repeat|repeat_one|restroom|revolving_hearts|rewind|ribbon|rice|rice_ball|rice_cracker|rice_scene|ring|rocket|roller_coaster|rooster|rose|rotating_light|round_pushpin|rowboat|ru|rugby_football|runner|running|running_shirt_with_sash|sa|sagittarius|sailboat|sake|sandal|santa|satellite|satisfied|saxophone|school|school_satchel|scissors|scorpius|scream|scream_cat|scroll|seat|secret|see_no_evil|seedling|seven|shaved_ice|sheep|shell|ship|shipit|shirt|shit|shoe|shower|signal_strength|six|six_pointed_star|ski|skull|sleeping|sleepy|slot_machine|small_blue_diamond|small_orange_diamond|small_red_triangle|small_red_triangle_down|smile|smile_cat|smiley|smiley_cat|smiling_imp|smirk|smirk_cat|smoking|snail|snake|snowboarder|snowflake|snowman|sob|soccer|soon|sos|sound|space_invader|spades|spaghetti|sparkle|sparkler|sparkles|sparkling_heart|speak_no_evil|speaker|speech_balloon|speedboat|squirrel|star|star2|stars|station|statue_of_liberty|steam_locomotive|stew|straight_ruler|strawberry|stuck_out_tongue|stuck_out_tongue_closed_eyes|stuck_out_tongue_winking_eye|sun_with_face|sunflower|sunglasses|sunny|sunrise|sunrise_over_mountains|surfer|sushi|suspect|suspension_railway|sweat|sweat_drops|sweat_smile|sweet_potato|swimmer|symbols|syringe|tada|tanabata_tree|tangerine|taurus|taxi|tea|telephone|telephone_receiver|telescope|tennis|tent|thought_balloon|three|thumbsdown|thumbsup|ticket|tiger|tiger2|tired_face|tm|toilet|tokyo_tower|tomato|tongue|top|tophat|tractor|traffic_light|train|train2|tram|triangular_flag_on_post|triangular_ruler|trident|triumph|trolleybus|trollface|trophy|tropical_drink|tropical_fish|truck|trumpet|tshirt|tulip|turtle|tv|twisted_rightwards_arrows|two|two_hearts|two_men_holding_hands|two_women_holding_hands|u5272|u5408|u55b6|u6307|u6708|u6709|u6e80|u7121|u7533|u7981|u7a7a|uk|umbrella|unamused|underage|unlock|up|us|v|vertical_traffic_light|vhs|vibration_mode|video_camera|video_game|violin|virgo|volcano|vs|walking|waning_crescent_moon|waning_gibbous_moon|warning|watch|water_buffalo|watermelon|wave|wavy_dash|waxing_crescent_moon|waxing_gibbous_moon|wc|weary|wedding|whale|whale2|wheelchair|white_check_mark|white_circle|white_flower|white_large_square|white_medium_small_square|white_medium_square|white_small_square|white_square_button|wind_chime|wine_glass|wink|wolf|woman|womans_clothes|womans_hat|womens|worried|wrench|x|yellow_heart|yen|yum|zap|zero|zzz)(:)",
253
- "captures": {
254
- "1": {
255
- "name": "string.emoji.start.gfm"
483
+ {
484
+ "name": "markup.code.clojure.gfm",
485
+ "contentName": "source.embedded.clojure",
486
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(clj|clojure))\\s*$",
487
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
488
+ "patterns": [
489
+ {
490
+ "include": "source.clojure"
491
+ }
492
+ ],
493
+ "beginCaptures": {
494
+ "0": {
495
+ "name": "support.gfm"
496
+ }
497
+ },
498
+ "endCaptures": {
499
+ "0": {
500
+ "name": "support.gfm"
501
+ }
502
+ }
256
503
  },
257
- "2": {
258
- "name": "string.emoji.word.gfm"
504
+ {
505
+ "name": "markup.code.coffee.gfm",
506
+ "contentName": "source.embedded.coffee",
507
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(coffee-?(script)?|cson))\\s*$",
508
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
509
+ "patterns": [
510
+ {
511
+ "include": "source.coffee"
512
+ }
513
+ ],
514
+ "beginCaptures": {
515
+ "0": {
516
+ "name": "support.gfm"
517
+ }
518
+ },
519
+ "endCaptures": {
520
+ "0": {
521
+ "name": "support.gfm"
522
+ }
523
+ }
259
524
  },
260
- "3": {
261
- "name": "string.emoji.end.gfm"
262
- }
263
- }
264
- },
265
- {
266
- "name": "constant.character.entity.gfm",
267
- "match": "(\u0026)[a-zA-Z0-9]+(;)",
268
- "captures": {
269
- "1": {
270
- "name": "punctuation.definition.entity.gfm"
271
- },
272
- "2": {
273
- "name": "punctuation.definition.entity.gfm"
274
- }
275
- }
276
- },
277
- {
278
- "name": "constant.character.entity.gfm",
279
- "match": "(\u0026)#[0-9]+(;)",
280
- "captures": {
281
- "1": {
282
- "name": "punctuation.definition.entity.gfm"
283
- },
284
- "2": {
285
- "name": "punctuation.definition.entity.gfm"
286
- }
287
- }
288
- },
289
- {
290
- "name": "constant.character.entity.gfm",
291
- "match": "(\u0026)#x[0-9a-fA-F]+(;)",
292
- "captures": {
293
- "1": {
294
- "name": "punctuation.definition.entity.gfm"
295
- },
296
- "2": {
297
- "name": "punctuation.definition.entity.gfm"
298
- }
299
- }
300
- },
301
- {
302
- "name": "front-matter.yaml.gfm",
303
- "begin": "\\A---$",
304
- "end": "^(---|\\.\\.\\.)$",
305
- "patterns": [
306
525
  {
307
- "include": "source.yaml"
308
- }
309
- ],
310
- "captures": {
311
- "0": {
312
- "name": "comment.hr.gfm"
313
- }
314
- }
315
- },
316
- {
317
- "name": "comment.hr.gfm",
318
- "match": "^\\s*[*]{3,}\\s*$"
319
- },
320
- {
321
- "name": "comment.hr.gfm",
322
- "match": "^\\s*[-]{3,}\\s*$"
323
- },
324
- {
325
- "name": "comment.hr.gfm",
326
- "match": "^\\s*[_]{3,}\\s*$"
327
- },
328
- {
329
- "name": "markup.code.coffee.gfm",
330
- "contentName": "source.embedded.coffee",
331
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(coffee-?(script)?|cson))\\s*$",
332
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
333
- "patterns": [
526
+ "name": "markup.code.js.gfm",
527
+ "contentName": "source.embedded.js",
528
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(javascript|js))\\s*$",
529
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
530
+ "patterns": [
531
+ {
532
+ "include": "source.js"
533
+ }
534
+ ],
535
+ "beginCaptures": {
536
+ "0": {
537
+ "name": "support.gfm"
538
+ }
539
+ },
540
+ "endCaptures": {
541
+ "0": {
542
+ "name": "support.gfm"
543
+ }
544
+ }
545
+ },
334
546
  {
335
- "include": "source.coffee"
336
- }
337
- ],
338
- "beginCaptures": {
339
- "0": {
340
- "name": "support.gfm"
341
- }
342
- },
343
- "endCaptures": {
344
- "0": {
345
- "name": "support.gfm"
346
- }
347
- }
348
- },
349
- {
350
- "name": "markup.code.js.gfm",
351
- "contentName": "source.embedded.js",
352
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(javascript|js))\\s*$",
353
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
354
- "patterns": [
355
- {
356
- "include": "source.js"
357
- }
358
- ],
359
- "beginCaptures": {
360
- "0": {
361
- "name": "support.gfm"
362
- }
363
- },
364
- "endCaptures": {
365
- "0": {
366
- "name": "support.gfm"
367
- }
368
- }
369
- },
370
- {
371
- "name": "markup.code.ts.gfm",
372
- "contentName": "source.embedded.ts",
373
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(typescript|ts))\\s*$",
374
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
375
- "patterns": [
376
- {
377
- "include": "source.ts"
378
- }
379
- ],
380
- "beginCaptures": {
381
- "0": {
382
- "name": "support.gfm"
383
- }
384
- },
385
- "endCaptures": {
386
- "0": {
387
- "name": "support.gfm"
388
- }
389
- }
390
- },
391
- {
392
- "name": "markup.code.gfm",
393
- "contentName": "text.embedded.md",
394
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(markdown|md|mdo?wn|mkdn?|mkdown))\\s*$",
395
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
396
- "patterns": [
547
+ "name": "markup.code.ts.gfm",
548
+ "contentName": "source.embedded.ts",
549
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(typescript|ts))\\s*$",
550
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
551
+ "patterns": [
552
+ {
553
+ "include": "source.ts"
554
+ }
555
+ ],
556
+ "beginCaptures": {
557
+ "0": {
558
+ "name": "support.gfm"
559
+ }
560
+ },
561
+ "endCaptures": {
562
+ "0": {
563
+ "name": "support.gfm"
564
+ }
565
+ }
566
+ },
397
567
  {
398
- "include": "$self"
399
- }
400
- ],
401
- "beginCaptures": {
402
- "0": {
403
- "name": "support.gfm"
404
- }
405
- },
406
- "endCaptures": {
407
- "0": {
408
- "name": "support.gfm"
409
- }
410
- }
411
- },
412
- {
413
- "name": "markup.code.json.gfm",
414
- "contentName": "source.embedded.json",
415
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(json))\\s*$",
416
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
417
- "patterns": [
568
+ "name": "markup.code.gfm",
569
+ "contentName": "text.embedded.md",
570
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(markdown|md|mdo?wn|mkdn?|mkdown))\\s*$",
571
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
572
+ "patterns": [
573
+ {
574
+ "include": "$self"
575
+ }
576
+ ],
577
+ "beginCaptures": {
578
+ "0": {
579
+ "name": "support.gfm"
580
+ }
581
+ },
582
+ "endCaptures": {
583
+ "0": {
584
+ "name": "support.gfm"
585
+ }
586
+ }
587
+ },
418
588
  {
419
- "include": "source.json"
420
- }
421
- ],
422
- "beginCaptures": {
423
- "0": {
424
- "name": "support.gfm"
425
- }
426
- },
427
- "endCaptures": {
428
- "0": {
429
- "name": "support.gfm"
430
- }
431
- }
432
- },
433
- {
434
- "name": "markup.code.css.gfm",
435
- "contentName": "source.embedded.css",
436
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(css))\\s*$",
437
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
438
- "patterns": [
589
+ "name": "markup.code.json.gfm",
590
+ "contentName": "source.embedded.json",
591
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(json))\\s*$",
592
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
593
+ "patterns": [
594
+ {
595
+ "include": "source.json"
596
+ }
597
+ ],
598
+ "beginCaptures": {
599
+ "0": {
600
+ "name": "support.gfm"
601
+ }
602
+ },
603
+ "endCaptures": {
604
+ "0": {
605
+ "name": "support.gfm"
606
+ }
607
+ }
608
+ },
439
609
  {
440
- "include": "source.css"
441
- }
442
- ],
443
- "beginCaptures": {
444
- "0": {
445
- "name": "support.gfm"
446
- }
447
- },
448
- "endCaptures": {
449
- "0": {
450
- "name": "support.gfm"
451
- }
452
- }
453
- },
454
- {
455
- "name": "markup.code.less.gfm",
456
- "contentName": "source.embedded.css.less",
457
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(less))\\s*$",
458
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
459
- "patterns": [
610
+ "name": "markup.code.css.gfm",
611
+ "contentName": "source.embedded.css",
612
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(css))\\s*$",
613
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
614
+ "patterns": [
615
+ {
616
+ "include": "source.css"
617
+ }
618
+ ],
619
+ "beginCaptures": {
620
+ "0": {
621
+ "name": "support.gfm"
622
+ }
623
+ },
624
+ "endCaptures": {
625
+ "0": {
626
+ "name": "support.gfm"
627
+ }
628
+ }
629
+ },
460
630
  {
461
- "include": "source.css.less"
462
- }
463
- ],
464
- "beginCaptures": {
465
- "0": {
466
- "name": "support.gfm"
467
- }
468
- },
469
- "endCaptures": {
470
- "0": {
471
- "name": "support.gfm"
472
- }
473
- }
474
- },
475
- {
476
- "name": "markup.code.xml.gfm",
477
- "contentName": "text.embedded.xml",
478
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(xml))\\s*$",
479
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
480
- "patterns": [
631
+ "name": "markup.code.less.gfm",
632
+ "contentName": "source.embedded.css.less",
633
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(less))\\s*$",
634
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
635
+ "patterns": [
636
+ {
637
+ "include": "source.css.less"
638
+ }
639
+ ],
640
+ "beginCaptures": {
641
+ "0": {
642
+ "name": "support.gfm"
643
+ }
644
+ },
645
+ "endCaptures": {
646
+ "0": {
647
+ "name": "support.gfm"
648
+ }
649
+ }
650
+ },
481
651
  {
482
- "include": "text.xml"
483
- }
484
- ],
485
- "beginCaptures": {
486
- "0": {
487
- "name": "support.gfm"
488
- }
489
- },
490
- "endCaptures": {
491
- "0": {
492
- "name": "support.gfm"
493
- }
494
- }
495
- },
496
- {
497
- "name": "markup.code.ruby.gfm",
498
- "contentName": "source.embedded.ruby",
499
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ruby|rb))\\s*$",
500
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
501
- "patterns": [
652
+ "name": "markup.code.xml.gfm",
653
+ "contentName": "text.embedded.xml",
654
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(xml))\\s*$",
655
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
656
+ "patterns": [
657
+ {
658
+ "include": "text.xml"
659
+ }
660
+ ],
661
+ "beginCaptures": {
662
+ "0": {
663
+ "name": "support.gfm"
664
+ }
665
+ },
666
+ "endCaptures": {
667
+ "0": {
668
+ "name": "support.gfm"
669
+ }
670
+ }
671
+ },
502
672
  {
503
- "include": "source.ruby"
504
- }
505
- ],
506
- "beginCaptures": {
507
- "0": {
508
- "name": "support.gfm"
509
- }
510
- },
511
- "endCaptures": {
512
- "0": {
513
- "name": "support.gfm"
514
- }
515
- }
516
- },
517
- {
518
- "name": "markup.code.rust.gfm",
519
- "contentName": "source.embedded.rust",
520
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(rust|rs))\\s*$",
521
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
522
- "patterns": [
673
+ "name": "markup.code.ruby.gfm",
674
+ "contentName": "source.embedded.ruby",
675
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ruby|rb))\\s*$",
676
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
677
+ "patterns": [
678
+ {
679
+ "include": "source.ruby"
680
+ }
681
+ ],
682
+ "beginCaptures": {
683
+ "0": {
684
+ "name": "support.gfm"
685
+ }
686
+ },
687
+ "endCaptures": {
688
+ "0": {
689
+ "name": "support.gfm"
690
+ }
691
+ }
692
+ },
523
693
  {
524
- "include": "source.rust"
525
- }
526
- ],
527
- "beginCaptures": {
528
- "0": {
529
- "name": "support.gfm"
530
- }
531
- },
532
- "endCaptures": {
533
- "0": {
534
- "name": "support.gfm"
535
- }
536
- }
537
- },
538
- {
539
- "name": "markup.code.java.gfm",
540
- "contentName": "source.embedded.java",
541
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(java))\\s*$",
542
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
543
- "patterns": [
694
+ "name": "markup.code.rust.gfm",
695
+ "contentName": "source.embedded.rust",
696
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(rust|rs))\\s*$",
697
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
698
+ "patterns": [
699
+ {
700
+ "include": "source.rust"
701
+ }
702
+ ],
703
+ "beginCaptures": {
704
+ "0": {
705
+ "name": "support.gfm"
706
+ }
707
+ },
708
+ "endCaptures": {
709
+ "0": {
710
+ "name": "support.gfm"
711
+ }
712
+ }
713
+ },
544
714
  {
545
- "include": "source.java"
546
- }
547
- ],
548
- "beginCaptures": {
549
- "0": {
550
- "name": "support.gfm"
551
- }
552
- },
553
- "endCaptures": {
554
- "0": {
555
- "name": "support.gfm"
556
- }
557
- }
558
- },
559
- {
560
- "name": "markup.code.kotlin.gfm",
561
- "contentName": "source.embedded.kotlin",
562
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(kotlin))\\s*$",
563
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
564
- "patterns": [
715
+ "name": "markup.code.java.gfm",
716
+ "contentName": "source.embedded.java",
717
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(java))\\s*$",
718
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
719
+ "patterns": [
720
+ {
721
+ "include": "source.java"
722
+ }
723
+ ],
724
+ "beginCaptures": {
725
+ "0": {
726
+ "name": "support.gfm"
727
+ }
728
+ },
729
+ "endCaptures": {
730
+ "0": {
731
+ "name": "support.gfm"
732
+ }
733
+ }
734
+ },
565
735
  {
566
- "include": "source.kotlin"
567
- }
568
- ],
569
- "beginCaptures": {
570
- "0": {
571
- "name": "support.gfm"
572
- }
573
- },
574
- "endCaptures": {
575
- "0": {
576
- "name": "support.gfm"
577
- }
578
- }
579
- },
580
- {
581
- "name": "markup.code.scala.gfm",
582
- "contentName": "source.embedded.scala",
583
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(scala|sbt))\\s*$",
584
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
585
- "patterns": [
736
+ "name": "markup.code.kotlin.gfm",
737
+ "contentName": "source.embedded.kotlin",
738
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(kotlin))\\s*$",
739
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
740
+ "patterns": [
741
+ {
742
+ "include": "source.kotlin"
743
+ }
744
+ ],
745
+ "beginCaptures": {
746
+ "0": {
747
+ "name": "support.gfm"
748
+ }
749
+ },
750
+ "endCaptures": {
751
+ "0": {
752
+ "name": "support.gfm"
753
+ }
754
+ }
755
+ },
586
756
  {
587
- "include": "source.scala"
588
- }
589
- ],
590
- "beginCaptures": {
591
- "0": {
592
- "name": "support.gfm"
593
- }
594
- },
595
- "endCaptures": {
596
- "0": {
597
- "name": "support.gfm"
598
- }
599
- }
600
- },
601
- {
602
- "name": "markup.code.erlang.gfm",
603
- "contentName": "source.embedded.erlang",
604
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(erlang))\\s*$",
605
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
606
- "patterns": [
757
+ "name": "markup.code.scala.gfm",
758
+ "contentName": "source.embedded.scala",
759
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(scala|sbt))\\s*$",
760
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
761
+ "patterns": [
762
+ {
763
+ "include": "source.scala"
764
+ }
765
+ ],
766
+ "beginCaptures": {
767
+ "0": {
768
+ "name": "support.gfm"
769
+ }
770
+ },
771
+ "endCaptures": {
772
+ "0": {
773
+ "name": "support.gfm"
774
+ }
775
+ }
776
+ },
607
777
  {
608
- "include": "source.erlang"
609
- }
610
- ],
611
- "beginCaptures": {
612
- "0": {
613
- "name": "support.gfm"
614
- }
615
- },
616
- "endCaptures": {
617
- "0": {
618
- "name": "support.gfm"
619
- }
620
- }
621
- },
622
- {
623
- "name": "markup.code.go.gfm",
624
- "contentName": "source.embedded.go",
625
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(go(lang)?))\\s*$",
626
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
627
- "patterns": [
778
+ "name": "markup.code.erlang.gfm",
779
+ "contentName": "source.embedded.erlang",
780
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(erlang))\\s*$",
781
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
782
+ "patterns": [
783
+ {
784
+ "include": "source.erlang"
785
+ }
786
+ ],
787
+ "beginCaptures": {
788
+ "0": {
789
+ "name": "support.gfm"
790
+ }
791
+ },
792
+ "endCaptures": {
793
+ "0": {
794
+ "name": "support.gfm"
795
+ }
796
+ }
797
+ },
628
798
  {
629
- "include": "source.go"
630
- }
631
- ],
632
- "beginCaptures": {
633
- "0": {
634
- "name": "support.gfm"
635
- }
636
- },
637
- "endCaptures": {
638
- "0": {
639
- "name": "support.gfm"
640
- }
641
- }
642
- },
643
- {
644
- "name": "markup.code.cs.gfm",
645
- "contentName": "source.embedded.cs",
646
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(cs(harp)?))\\s*$",
647
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
648
- "patterns": [
799
+ "name": "markup.code.go.gfm",
800
+ "contentName": "source.embedded.go",
801
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(go(lang)?))\\s*$",
802
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
803
+ "patterns": [
804
+ {
805
+ "include": "source.go"
806
+ }
807
+ ],
808
+ "beginCaptures": {
809
+ "0": {
810
+ "name": "support.gfm"
811
+ }
812
+ },
813
+ "endCaptures": {
814
+ "0": {
815
+ "name": "support.gfm"
816
+ }
817
+ }
818
+ },
649
819
  {
650
- "include": "source.cs"
651
- }
652
- ],
653
- "beginCaptures": {
654
- "0": {
655
- "name": "support.gfm"
656
- }
657
- },
658
- "endCaptures": {
659
- "0": {
660
- "name": "support.gfm"
661
- }
662
- }
663
- },
664
- {
665
- "name": "markup.code.php.gfm",
666
- "contentName": "source.embedded.php",
667
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(php))\\s*$",
668
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
669
- "patterns": [
820
+ "name": "markup.code.cs.gfm",
821
+ "contentName": "source.embedded.cs",
822
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(cs(harp)?))\\s*$",
823
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
824
+ "patterns": [
825
+ {
826
+ "include": "source.cs"
827
+ }
828
+ ],
829
+ "beginCaptures": {
830
+ "0": {
831
+ "name": "support.gfm"
832
+ }
833
+ },
834
+ "endCaptures": {
835
+ "0": {
836
+ "name": "support.gfm"
837
+ }
838
+ }
839
+ },
670
840
  {
671
- "include": "text.html.php"
672
- }
673
- ],
674
- "beginCaptures": {
675
- "0": {
676
- "name": "support.gfm"
677
- }
678
- },
679
- "endCaptures": {
680
- "0": {
681
- "name": "support.gfm"
682
- }
683
- }
684
- },
685
- {
686
- "name": "markup.code.shell.gfm",
687
- "contentName": "source.embedded.shell",
688
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sh|bash|shell))\\s*$",
689
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
690
- "patterns": [
841
+ "name": "markup.code.php.gfm",
842
+ "contentName": "source.embedded.php",
843
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(php))\\s*$",
844
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
845
+ "patterns": [
846
+ {
847
+ "include": "text.html.php"
848
+ }
849
+ ],
850
+ "beginCaptures": {
851
+ "0": {
852
+ "name": "support.gfm"
853
+ }
854
+ },
855
+ "endCaptures": {
856
+ "0": {
857
+ "name": "support.gfm"
858
+ }
859
+ }
860
+ },
691
861
  {
692
- "include": "source.shell"
693
- }
694
- ],
695
- "beginCaptures": {
696
- "0": {
697
- "name": "support.gfm"
698
- }
699
- },
700
- "endCaptures": {
701
- "0": {
702
- "name": "support.gfm"
703
- }
704
- }
705
- },
706
- {
707
- "name": "markup.code.git-config.gfm",
708
- "contentName": "source.embedded.git-config",
709
- "begin": "^\\s*([`~]{3,})\\s*(?i:(properties))\\s*$",
710
- "end": "^\\s*\\1\\s*$",
711
- "patterns": [
862
+ "name": "markup.code.shell.gfm",
863
+ "contentName": "source.embedded.shell",
864
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sh|bash|shell))\\s*$",
865
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
866
+ "patterns": [
867
+ {
868
+ "include": "source.shell"
869
+ }
870
+ ],
871
+ "beginCaptures": {
872
+ "0": {
873
+ "name": "support.gfm"
874
+ }
875
+ },
876
+ "endCaptures": {
877
+ "0": {
878
+ "name": "support.gfm"
879
+ }
880
+ }
881
+ },
712
882
  {
713
- "include": "source.gitconfig"
714
- }
715
- ],
716
- "beginCaptures": {
717
- "0": {
718
- "name": "support.gfm"
719
- }
720
- },
721
- "endCaptures": {
722
- "0": {
723
- "name": "support.gfm"
724
- }
725
- }
726
- },
727
- {
728
- "name": "markup.code.shell-session.gfm",
729
- "contentName": "text.embedded.shell-session",
730
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(shellsession|console))\\s*$",
731
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
732
- "patterns": [
883
+ "name": "markup.code.git-config.gfm",
884
+ "contentName": "source.embedded.git-config",
885
+ "begin": "^\\s*([`~]{3,})\\s*(?i:(properties))\\s*$",
886
+ "end": "^\\s*\\1\\s*$",
887
+ "patterns": [
888
+ {
889
+ "include": "source.gitconfig"
890
+ }
891
+ ],
892
+ "beginCaptures": {
893
+ "0": {
894
+ "name": "support.gfm"
895
+ }
896
+ },
897
+ "endCaptures": {
898
+ "0": {
899
+ "name": "support.gfm"
900
+ }
901
+ }
902
+ },
733
903
  {
734
- "include": "text.shell-session"
735
- }
736
- ],
737
- "beginCaptures": {
738
- "0": {
739
- "name": "support.gfm"
740
- }
741
- },
742
- "endCaptures": {
743
- "0": {
744
- "name": "support.gfm"
745
- }
746
- }
747
- },
748
- {
749
- "name": "markup.code.python.gfm",
750
- "contentName": "source.embedded.python",
751
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(py(thon)?))\\s*$",
752
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
753
- "patterns": [
904
+ "name": "markup.code.shell-session.gfm",
905
+ "contentName": "text.embedded.shell-session",
906
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(shellsession|console))\\s*$",
907
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
908
+ "patterns": [
909
+ {
910
+ "include": "text.shell-session"
911
+ }
912
+ ],
913
+ "beginCaptures": {
914
+ "0": {
915
+ "name": "support.gfm"
916
+ }
917
+ },
918
+ "endCaptures": {
919
+ "0": {
920
+ "name": "support.gfm"
921
+ }
922
+ }
923
+ },
754
924
  {
755
- "include": "source.python"
756
- }
757
- ],
758
- "beginCaptures": {
759
- "0": {
760
- "name": "support.gfm"
761
- }
762
- },
763
- "endCaptures": {
764
- "0": {
765
- "name": "support.gfm"
766
- }
767
- }
768
- },
769
- {
770
- "name": "markup.code.python.console.gfm",
771
- "contentName": "source.embedded.python.console",
772
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(pycon))\\s*$",
773
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
774
- "patterns": [
925
+ "name": "markup.code.python.gfm",
926
+ "contentName": "source.embedded.python",
927
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(py(thon)?))\\s*$",
928
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
929
+ "patterns": [
930
+ {
931
+ "include": "source.python"
932
+ }
933
+ ],
934
+ "beginCaptures": {
935
+ "0": {
936
+ "name": "support.gfm"
937
+ }
938
+ },
939
+ "endCaptures": {
940
+ "0": {
941
+ "name": "support.gfm"
942
+ }
943
+ }
944
+ },
775
945
  {
776
- "include": "text.python.console"
777
- }
778
- ],
779
- "beginCaptures": {
780
- "0": {
781
- "name": "support.gfm"
782
- }
783
- },
784
- "endCaptures": {
785
- "0": {
786
- "name": "support.gfm"
787
- }
788
- }
789
- },
790
- {
791
- "name": "markup.code.c.gfm",
792
- "contentName": "source.embedded.c",
793
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c))\\s*$",
794
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
795
- "patterns": [
946
+ "name": "markup.code.python.console.gfm",
947
+ "contentName": "source.embedded.python.console",
948
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(pycon))\\s*$",
949
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
950
+ "patterns": [
951
+ {
952
+ "include": "text.python.console"
953
+ }
954
+ ],
955
+ "beginCaptures": {
956
+ "0": {
957
+ "name": "support.gfm"
958
+ }
959
+ },
960
+ "endCaptures": {
961
+ "0": {
962
+ "name": "support.gfm"
963
+ }
964
+ }
965
+ },
796
966
  {
797
- "include": "source.c"
798
- }
799
- ],
800
- "beginCaptures": {
801
- "0": {
802
- "name": "support.gfm"
803
- }
804
- },
805
- "endCaptures": {
806
- "0": {
807
- "name": "support.gfm"
808
- }
809
- }
810
- },
811
- {
812
- "name": "markup.code.cpp.gfm",
813
- "contentName": "source.embedded.cpp",
814
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c(pp|\\+\\+)))\\s*$",
815
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
816
- "patterns": [
967
+ "name": "markup.code.c.gfm",
968
+ "contentName": "source.embedded.c",
969
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c))\\s*$",
970
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
971
+ "patterns": [
972
+ {
973
+ "include": "source.c"
974
+ }
975
+ ],
976
+ "beginCaptures": {
977
+ "0": {
978
+ "name": "support.gfm"
979
+ }
980
+ },
981
+ "endCaptures": {
982
+ "0": {
983
+ "name": "support.gfm"
984
+ }
985
+ }
986
+ },
817
987
  {
818
- "include": "source.c++"
819
- }
820
- ],
821
- "beginCaptures": {
822
- "0": {
823
- "name": "support.gfm"
824
- }
825
- },
826
- "endCaptures": {
827
- "0": {
828
- "name": "support.gfm"
829
- }
830
- }
831
- },
832
- {
833
- "name": "markup.code.objc.gfm",
834
- "contentName": "source.embedded.objc",
835
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(objc|objective-c))\\s*$",
836
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
837
- "patterns": [
988
+ "name": "markup.code.cpp.gfm",
989
+ "contentName": "source.embedded.cpp",
990
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(c(pp|\\+\\+)))\\s*$",
991
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
992
+ "patterns": [
993
+ {
994
+ "include": "source.c++"
995
+ }
996
+ ],
997
+ "beginCaptures": {
998
+ "0": {
999
+ "name": "support.gfm"
1000
+ }
1001
+ },
1002
+ "endCaptures": {
1003
+ "0": {
1004
+ "name": "support.gfm"
1005
+ }
1006
+ }
1007
+ },
838
1008
  {
839
- "include": "source.objc"
840
- }
841
- ],
842
- "beginCaptures": {
843
- "0": {
844
- "name": "support.gfm"
845
- }
846
- },
847
- "endCaptures": {
848
- "0": {
849
- "name": "support.gfm"
850
- }
851
- }
852
- },
853
- {
854
- "name": "markup.code.asciidoc.gfm",
855
- "contentName": "source.embedded.asciidoc",
856
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(adoc|asciidoc|asciidoctor|asc))\\s*$",
857
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
858
- "patterns": [
1009
+ "name": "markup.code.objc.gfm",
1010
+ "contentName": "source.embedded.objc",
1011
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(objc|objective-c))\\s*$",
1012
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1013
+ "patterns": [
1014
+ {
1015
+ "include": "source.objc"
1016
+ }
1017
+ ],
1018
+ "beginCaptures": {
1019
+ "0": {
1020
+ "name": "support.gfm"
1021
+ }
1022
+ },
1023
+ "endCaptures": {
1024
+ "0": {
1025
+ "name": "support.gfm"
1026
+ }
1027
+ }
1028
+ },
859
1029
  {
860
- "include": "text.html.asciidoc"
861
- }
862
- ],
863
- "beginCaptures": {
864
- "0": {
865
- "name": "support.gfm"
866
- }
867
- },
868
- "endCaptures": {
869
- "0": {
870
- "name": "support.gfm"
871
- }
872
- }
873
- },
874
- {
875
- "name": "markup.code.swift.gfm",
876
- "contentName": "source.embedded.swift",
877
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(swift))\\s*$",
878
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
879
- "patterns": [
1030
+ "name": "markup.code.asciidoc.gfm",
1031
+ "contentName": "source.embedded.asciidoc",
1032
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(adoc|asciidoc|asciidoctor|asc))\\s*$",
1033
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1034
+ "patterns": [
1035
+ {
1036
+ "include": "text.html.asciidoc"
1037
+ }
1038
+ ],
1039
+ "beginCaptures": {
1040
+ "0": {
1041
+ "name": "support.gfm"
1042
+ }
1043
+ },
1044
+ "endCaptures": {
1045
+ "0": {
1046
+ "name": "support.gfm"
1047
+ }
1048
+ }
1049
+ },
880
1050
  {
881
- "include": "source.swift"
882
- }
883
- ],
884
- "beginCaptures": {
885
- "0": {
886
- "name": "support.gfm"
887
- }
888
- },
889
- "endCaptures": {
890
- "0": {
891
- "name": "support.gfm"
892
- }
893
- }
894
- },
895
- {
896
- "name": "markup.code.dockerfile.gfm",
897
- "contentName": "source.embedded.dockerfile",
898
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(dockerfile|docker))\\s*$",
899
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
900
- "patterns": [
1051
+ "name": "markup.code.swift.gfm",
1052
+ "contentName": "source.embedded.swift",
1053
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(swift))\\s*$",
1054
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1055
+ "patterns": [
1056
+ {
1057
+ "include": "source.swift"
1058
+ }
1059
+ ],
1060
+ "beginCaptures": {
1061
+ "0": {
1062
+ "name": "support.gfm"
1063
+ }
1064
+ },
1065
+ "endCaptures": {
1066
+ "0": {
1067
+ "name": "support.gfm"
1068
+ }
1069
+ }
1070
+ },
901
1071
  {
902
- "include": "source.dockerfile"
903
- }
904
- ],
905
- "beginCaptures": {
906
- "0": {
907
- "name": "support.gfm"
908
- }
909
- },
910
- "endCaptures": {
911
- "0": {
912
- "name": "support.gfm"
913
- }
914
- }
915
- },
916
- {
917
- "name": "markup.code.makefile.gfm",
918
- "contentName": "source.embedded.makefile",
919
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(makefile|make))\\s*$",
920
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
921
- "patterns": [
1072
+ "name": "markup.code.dockerfile.gfm",
1073
+ "contentName": "source.embedded.dockerfile",
1074
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(dockerfile|docker))\\s*$",
1075
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1076
+ "patterns": [
1077
+ {
1078
+ "include": "source.dockerfile"
1079
+ }
1080
+ ],
1081
+ "beginCaptures": {
1082
+ "0": {
1083
+ "name": "support.gfm"
1084
+ }
1085
+ },
1086
+ "endCaptures": {
1087
+ "0": {
1088
+ "name": "support.gfm"
1089
+ }
1090
+ }
1091
+ },
922
1092
  {
923
- "include": "source.makefile"
924
- }
925
- ],
926
- "beginCaptures": {
927
- "0": {
928
- "name": "support.gfm"
929
- }
930
- },
931
- "endCaptures": {
932
- "0": {
933
- "name": "support.gfm"
934
- }
935
- }
936
- },
937
- {
938
- "name": "markup.code.perl.gfm",
939
- "contentName": "source.embedded.perl",
940
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl))\\s*$",
941
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
942
- "patterns": [
1093
+ "name": "markup.code.makefile.gfm",
1094
+ "contentName": "source.embedded.makefile",
1095
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(makefile|make))\\s*$",
1096
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1097
+ "patterns": [
1098
+ {
1099
+ "include": "source.makefile"
1100
+ }
1101
+ ],
1102
+ "beginCaptures": {
1103
+ "0": {
1104
+ "name": "support.gfm"
1105
+ }
1106
+ },
1107
+ "endCaptures": {
1108
+ "0": {
1109
+ "name": "support.gfm"
1110
+ }
1111
+ }
1112
+ },
943
1113
  {
944
- "include": "source.perl"
945
- }
946
- ],
947
- "beginCaptures": {
948
- "0": {
949
- "name": "support.gfm"
950
- }
951
- },
952
- "endCaptures": {
953
- "0": {
954
- "name": "support.gfm"
955
- }
956
- }
957
- },
958
- {
959
- "name": "markup.code.perl6.gfm",
960
- "contentName": "source.embedded.perl6",
961
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl6))\\s*$",
962
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
963
- "patterns": [
1114
+ "name": "markup.code.perl.gfm",
1115
+ "contentName": "source.embedded.perl",
1116
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl))\\s*$",
1117
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1118
+ "patterns": [
1119
+ {
1120
+ "include": "source.perl"
1121
+ }
1122
+ ],
1123
+ "beginCaptures": {
1124
+ "0": {
1125
+ "name": "support.gfm"
1126
+ }
1127
+ },
1128
+ "endCaptures": {
1129
+ "0": {
1130
+ "name": "support.gfm"
1131
+ }
1132
+ }
1133
+ },
964
1134
  {
965
- "include": "source.perl6fe"
966
- }
967
- ],
968
- "beginCaptures": {
969
- "0": {
970
- "name": "support.gfm"
971
- }
972
- },
973
- "endCaptures": {
974
- "0": {
975
- "name": "support.gfm"
976
- }
977
- }
978
- },
979
- {
980
- "name": "markup.code.toml.gfm",
981
- "contentName": "source.embedded.toml",
982
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(toml))\\s*$",
983
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
984
- "patterns": [
1135
+ "name": "markup.code.perl6.gfm",
1136
+ "contentName": "source.embedded.perl6",
1137
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(perl6))\\s*$",
1138
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1139
+ "patterns": [
1140
+ {
1141
+ "include": "source.perl6fe"
1142
+ }
1143
+ ],
1144
+ "beginCaptures": {
1145
+ "0": {
1146
+ "name": "support.gfm"
1147
+ }
1148
+ },
1149
+ "endCaptures": {
1150
+ "0": {
1151
+ "name": "support.gfm"
1152
+ }
1153
+ }
1154
+ },
985
1155
  {
986
- "include": "source.toml"
987
- }
988
- ],
989
- "beginCaptures": {
990
- "0": {
991
- "name": "support.gfm"
992
- }
993
- },
994
- "endCaptures": {
995
- "0": {
996
- "name": "support.gfm"
997
- }
998
- }
999
- },
1000
- {
1001
- "name": "markup.code.html.gfm",
1002
- "contentName": "text.embedded.html.basic",
1003
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(html))\\s*$",
1004
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1005
- "patterns": [
1156
+ "name": "markup.code.toml.gfm",
1157
+ "contentName": "source.embedded.toml",
1158
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(toml))\\s*$",
1159
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1160
+ "patterns": [
1161
+ {
1162
+ "include": "source.toml"
1163
+ }
1164
+ ],
1165
+ "beginCaptures": {
1166
+ "0": {
1167
+ "name": "support.gfm"
1168
+ }
1169
+ },
1170
+ "endCaptures": {
1171
+ "0": {
1172
+ "name": "support.gfm"
1173
+ }
1174
+ }
1175
+ },
1006
1176
  {
1007
- "include": "text.html.basic"
1008
- }
1009
- ],
1010
- "beginCaptures": {
1011
- "0": {
1012
- "name": "support.gfm"
1013
- }
1014
- },
1015
- "endCaptures": {
1016
- "0": {
1017
- "name": "support.gfm"
1018
- }
1019
- }
1020
- },
1021
- {
1022
- "name": "markup.code.yaml.gfm",
1023
- "contentName": "source.embedded.yaml",
1024
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ya?ml))\\s*$",
1025
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1026
- "patterns": [
1177
+ "name": "markup.code.html.gfm",
1178
+ "contentName": "text.embedded.html.basic",
1179
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(html))\\s*$",
1180
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1181
+ "patterns": [
1182
+ {
1183
+ "include": "text.html.basic"
1184
+ }
1185
+ ],
1186
+ "beginCaptures": {
1187
+ "0": {
1188
+ "name": "support.gfm"
1189
+ }
1190
+ },
1191
+ "endCaptures": {
1192
+ "0": {
1193
+ "name": "support.gfm"
1194
+ }
1195
+ }
1196
+ },
1027
1197
  {
1028
- "include": "source.yaml"
1029
- }
1030
- ],
1031
- "beginCaptures": {
1032
- "0": {
1033
- "name": "support.gfm"
1034
- }
1035
- },
1036
- "endCaptures": {
1037
- "0": {
1038
- "name": "support.gfm"
1039
- }
1040
- }
1041
- },
1042
- {
1043
- "name": "markup.code.elixir.gfm",
1044
- "contentName": "source.embedded.elixir",
1045
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elixir))\\s*$",
1046
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1047
- "patterns": [
1198
+ "name": "markup.code.yaml.gfm",
1199
+ "contentName": "source.embedded.yaml",
1200
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(ya?ml))\\s*$",
1201
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1202
+ "patterns": [
1203
+ {
1204
+ "include": "source.yaml"
1205
+ }
1206
+ ],
1207
+ "beginCaptures": {
1208
+ "0": {
1209
+ "name": "support.gfm"
1210
+ }
1211
+ },
1212
+ "endCaptures": {
1213
+ "0": {
1214
+ "name": "support.gfm"
1215
+ }
1216
+ }
1217
+ },
1048
1218
  {
1049
- "include": "source.elixir"
1050
- }
1051
- ],
1052
- "beginCaptures": {
1053
- "0": {
1054
- "name": "support.gfm"
1055
- }
1056
- },
1057
- "endCaptures": {
1058
- "0": {
1059
- "name": "support.gfm"
1060
- }
1061
- }
1062
- },
1063
- {
1064
- "name": "markup.code.diff.gfm",
1065
- "contentName": "source.embedded.diff",
1066
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(diff|patch|rej))\\s*$",
1067
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1068
- "patterns": [
1219
+ "name": "markup.code.elixir.gfm",
1220
+ "contentName": "source.embedded.elixir",
1221
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elixir))\\s*$",
1222
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1223
+ "patterns": [
1224
+ {
1225
+ "include": "source.elixir"
1226
+ }
1227
+ ],
1228
+ "beginCaptures": {
1229
+ "0": {
1230
+ "name": "support.gfm"
1231
+ }
1232
+ },
1233
+ "endCaptures": {
1234
+ "0": {
1235
+ "name": "support.gfm"
1236
+ }
1237
+ }
1238
+ },
1069
1239
  {
1070
- "include": "source.diff"
1071
- }
1072
- ],
1073
- "beginCaptures": {
1074
- "0": {
1075
- "name": "support.gfm"
1076
- }
1077
- },
1078
- "endCaptures": {
1079
- "0": {
1080
- "name": "support.gfm"
1081
- }
1082
- }
1083
- },
1084
- {
1085
- "name": "markup.code.julia.gfm",
1086
- "contentName": "source.embedded.julia",
1087
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(julia|jl))\\s*$",
1088
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1089
- "patterns": [
1240
+ "name": "markup.code.diff.gfm",
1241
+ "contentName": "source.embedded.diff",
1242
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(diff|patch|rej))\\s*$",
1243
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1244
+ "patterns": [
1245
+ {
1246
+ "include": "source.diff"
1247
+ }
1248
+ ],
1249
+ "beginCaptures": {
1250
+ "0": {
1251
+ "name": "support.gfm"
1252
+ }
1253
+ },
1254
+ "endCaptures": {
1255
+ "0": {
1256
+ "name": "support.gfm"
1257
+ }
1258
+ }
1259
+ },
1090
1260
  {
1091
- "include": "source.julia"
1092
- }
1093
- ],
1094
- "beginCaptures": {
1095
- "0": {
1096
- "name": "support.gfm"
1097
- }
1098
- },
1099
- "endCaptures": {
1100
- "0": {
1101
- "name": "support.gfm"
1102
- }
1103
- }
1104
- },
1105
- {
1106
- "name": "markup.code.r.gfm",
1107
- "contentName": "source.embedded.r",
1108
- "begin": "^\\s*(`{3,}|~{3,})\\s*([\\{]{0,1})(?i:(r))([^\\}]*)([\\}]{0,1})\\s*$",
1109
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1110
- "patterns": [
1261
+ "name": "markup.code.julia.gfm",
1262
+ "contentName": "source.embedded.julia",
1263
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(julia|jl))\\s*$",
1264
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1265
+ "patterns": [
1266
+ {
1267
+ "include": "source.julia"
1268
+ }
1269
+ ],
1270
+ "beginCaptures": {
1271
+ "0": {
1272
+ "name": "support.gfm"
1273
+ }
1274
+ },
1275
+ "endCaptures": {
1276
+ "0": {
1277
+ "name": "support.gfm"
1278
+ }
1279
+ }
1280
+ },
1111
1281
  {
1112
- "include": "source.r"
1113
- }
1114
- ],
1115
- "beginCaptures": {
1116
- "0": {
1117
- "name": "support.gfm"
1118
- }
1119
- },
1120
- "endCaptures": {
1121
- "0": {
1122
- "name": "support.gfm"
1123
- }
1124
- }
1125
- },
1126
- {
1127
- "name": "markup.code.haskell.gfm",
1128
- "contentName": "source.embedded.haskell",
1129
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(haskell))\\s*$",
1130
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1131
- "patterns": [
1282
+ "name": "markup.code.r.gfm",
1283
+ "contentName": "source.embedded.r",
1284
+ "begin": "^\\s*(`{3,}|~{3,})\\s*([\\{]{0,1})(?i:(r))([^\\}]*)([\\}]{0,1})\\s*$",
1285
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1286
+ "patterns": [
1287
+ {
1288
+ "include": "source.r"
1289
+ }
1290
+ ],
1291
+ "beginCaptures": {
1292
+ "0": {
1293
+ "name": "support.gfm"
1294
+ }
1295
+ },
1296
+ "endCaptures": {
1297
+ "0": {
1298
+ "name": "support.gfm"
1299
+ }
1300
+ }
1301
+ },
1132
1302
  {
1133
- "include": "source.haskell"
1134
- }
1135
- ],
1136
- "beginCaptures": {
1137
- "0": {
1138
- "name": "support.gfm"
1139
- }
1140
- },
1141
- "endCaptures": {
1142
- "0": {
1143
- "name": "support.gfm"
1144
- }
1145
- }
1146
- },
1147
- {
1148
- "name": "markup.code.elm.gfm",
1149
- "contentName": "source.embedded.elm",
1150
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elm))\\s*$",
1151
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1152
- "patterns": [
1303
+ "name": "markup.code.haskell.gfm",
1304
+ "contentName": "source.embedded.haskell",
1305
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(haskell))\\s*$",
1306
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1307
+ "patterns": [
1308
+ {
1309
+ "include": "source.haskell"
1310
+ }
1311
+ ],
1312
+ "beginCaptures": {
1313
+ "0": {
1314
+ "name": "support.gfm"
1315
+ }
1316
+ },
1317
+ "endCaptures": {
1318
+ "0": {
1319
+ "name": "support.gfm"
1320
+ }
1321
+ }
1322
+ },
1153
1323
  {
1154
- "include": "source.elm"
1155
- }
1156
- ],
1157
- "beginCaptures": {
1158
- "0": {
1159
- "name": "support.gfm"
1160
- }
1161
- },
1162
- "endCaptures": {
1163
- "0": {
1164
- "name": "support.gfm"
1324
+ "name": "markup.code.elm.gfm",
1325
+ "contentName": "source.embedded.elm",
1326
+ "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(elm))\\s*$",
1327
+ "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1328
+ "patterns": [
1329
+ {
1330
+ "include": "source.elm"
1331
+ }
1332
+ ],
1333
+ "beginCaptures": {
1334
+ "0": {
1335
+ "name": "support.gfm"
1336
+ }
1337
+ },
1338
+ "endCaptures": {
1339
+ "0": {
1340
+ "name": "support.gfm"
1341
+ }
1342
+ }
1165
1343
  }
1166
- }
1344
+ ]
1167
1345
  },
1168
- {
1169
- "name": "markup.code.gfm",
1170
- "contentName": "text.embedded.html.markdown.source.gfm.apib",
1171
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(apib|apiblueprint))\\s*$",
1172
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1346
+ "flavors": {
1173
1347
  "patterns": [
1174
1348
  {
1175
- "include": "text.html.markdown.source.gfm.apib"
1176
- }
1177
- ],
1178
- "beginCaptures": {
1179
- "0": {
1180
- "name": "support.gfm"
1181
- }
1182
- },
1183
- "endCaptures": {
1184
- "0": {
1185
- "name": "support.gfm"
1186
- }
1187
- }
1188
- },
1189
- {
1190
- "name": "markup.code.gfm",
1191
- "contentName": "text.embedded.html.markdown.source.gfm.mson",
1192
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(mson))\\s*$",
1193
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1194
- "patterns": [
1349
+ "include": "#criticmark"
1350
+ },
1195
1351
  {
1196
- "include": "text.html.markdown.source.gfm.mson"
1352
+ "include": "#github-inlines"
1197
1353
  }
1198
- ],
1199
- "beginCaptures": {
1200
- "0": {
1201
- "name": "support.gfm"
1202
- }
1203
- },
1204
- "endCaptures": {
1205
- "0": {
1206
- "name": "support.gfm"
1207
- }
1208
- }
1354
+ ]
1209
1355
  },
1210
- {
1211
- "name": "markup.code.sql.gfm",
1212
- "contentName": "source.embedded.sql",
1213
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(sql))\\s*$",
1214
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1356
+ "front-matter": {
1215
1357
  "patterns": [
1216
1358
  {
1217
- "include": "source.sql"
1218
- }
1219
- ],
1220
- "beginCaptures": {
1221
- "0": {
1222
- "name": "support.gfm"
1223
- }
1224
- },
1225
- "endCaptures": {
1226
- "0": {
1227
- "name": "support.gfm"
1359
+ "name": "front-matter.yaml.gfm",
1360
+ "begin": "\\A---$",
1361
+ "end": "^(---|\\.\\.\\.)$",
1362
+ "patterns": [
1363
+ {
1364
+ "include": "source.yaml"
1365
+ }
1366
+ ],
1367
+ "captures": {
1368
+ "0": {
1369
+ "name": "comment.hr.gfm"
1370
+ }
1371
+ }
1228
1372
  }
1229
- }
1373
+ ]
1230
1374
  },
1231
- {
1232
- "name": "markup.code.graphql.gfm",
1233
- "contentName": "source.embedded.graphql",
1234
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(graphql))\\s*$",
1235
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1375
+ "github-blocks": {
1236
1376
  "patterns": [
1237
1377
  {
1238
- "include": "source.graphql"
1239
- }
1240
- ],
1241
- "beginCaptures": {
1242
- "0": {
1243
- "name": "support.gfm"
1244
- }
1245
- },
1246
- "endCaptures": {
1247
- "0": {
1248
- "name": "support.gfm"
1378
+ "name": "table.gfm",
1379
+ "begin": "^\\|",
1380
+ "end": "(\\|)?\\s*$",
1381
+ "patterns": [
1382
+ {
1383
+ "match": "(:?)(-+)(:?)",
1384
+ "captures": {
1385
+ "1": {
1386
+ "name": "border.alignment"
1387
+ },
1388
+ "2": {
1389
+ "name": "border.header"
1390
+ },
1391
+ "3": {
1392
+ "name": "border.alignment"
1393
+ }
1394
+ }
1395
+ },
1396
+ {
1397
+ "name": "border.pipe.inner",
1398
+ "match": "\\|"
1399
+ }
1400
+ ],
1401
+ "beginCaptures": {
1402
+ "0": {
1403
+ "name": "border.pipe.outer"
1404
+ }
1405
+ },
1406
+ "endCaptures": {
1407
+ "1": {
1408
+ "name": "border.pipe.outer"
1409
+ }
1410
+ }
1249
1411
  }
1250
- }
1412
+ ]
1251
1413
  },
1252
- {
1253
- "name": "markup.code.clojure.gfm",
1254
- "contentName": "source.embedded.clojure",
1255
- "begin": "^\\s*(`{3,}|~{3,})\\s*(?i:(clj|clojure))\\s*$",
1256
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1414
+ "github-inlines": {
1257
1415
  "patterns": [
1258
1416
  {
1259
- "include": "source.clojure"
1260
- }
1261
- ],
1262
- "beginCaptures": {
1263
- "0": {
1264
- "name": "support.gfm"
1265
- }
1266
- },
1267
- "endCaptures": {
1268
- "0": {
1269
- "name": "support.gfm"
1270
- }
1271
- }
1272
- },
1273
- {
1274
- "name": "markup.code.other.gfm",
1275
- "contentName": "source.embedded.${2:/downcase}",
1276
- "begin": "^\\s*(`{3,}|~{3,})\\s*([-\\w]+)\\s*$",
1277
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1278
- "beginCaptures": {
1279
- "0": {
1280
- "name": "support.gfm"
1281
- }
1282
- },
1283
- "endCaptures": {
1284
- "0": {
1285
- "name": "support.gfm"
1286
- }
1287
- }
1288
- },
1289
- {
1290
- "name": "markup.raw.gfm",
1291
- "begin": "^\\s*(`{3,}|~{3,}).*$",
1292
- "end": "^\\s*\\1((?\u003c=`)`+|(?\u003c=~)~+)?\\s*$",
1293
- "beginCaptures": {
1294
- "0": {
1295
- "name": "support.gfm"
1296
- }
1297
- },
1298
- "endCaptures": {
1299
- "0": {
1300
- "name": "support.gfm"
1301
- }
1302
- }
1303
- },
1304
- {
1305
- "name": "markup.raw.gfm",
1306
- "begin": "(`+)(?!$)",
1307
- "end": "\\1"
1308
- },
1309
- {
1310
- "name": "link",
1311
- "match": "(\\[!)(\\[)([^\\]]*)(\\])(\\()([^\\)]+)(\\))(\\])((\\()([^\\)]+)(\\))|(\\[)([^\\]]+)(\\]))",
1312
- "captures": {
1313
- "1": {
1314
- "name": "punctuation.definition.begin.gfm"
1315
- },
1316
- "10": {
1317
- "name": "punctuation.definition.begin.gfm"
1318
- },
1319
- "11": {
1320
- "name": "markup.underline.link.gfm"
1321
- },
1322
- "12": {
1323
- "name": "punctuation.definition.end.gfm"
1324
- },
1325
- "13": {
1326
- "name": "punctuation.definition.begin.gfm"
1327
- },
1328
- "14": {
1329
- "name": "markup.underline.link.gfm"
1330
- },
1331
- "15": {
1332
- "name": "punctuation.definition.end.gfm"
1333
- },
1334
- "2": {
1335
- "name": "punctuation.definition.begin.gfm"
1336
- },
1337
- "3": {
1338
- "name": "entity.gfm"
1339
- },
1340
- "4": {
1341
- "name": "punctuation.definition.end.gfm"
1342
- },
1343
- "5": {
1344
- "name": "punctuation.definition.begin.gfm"
1417
+ "name": "string.emoji.gfm",
1418
+ "match": "(:)(\\+1|\\-1|100|1234|8ball|a|ab|abc|abcd|accept|aerial_tramway|airplane|alarm_clock|alien|ambulance|anchor|angel|anger|angry|anguished|ant|apple|aquarius|aries|arrow_backward|arrow_double_down|arrow_double_up|arrow_down|arrow_down_small|arrow_forward|arrow_heading_down|arrow_heading_up|arrow_left|arrow_lower_left|arrow_lower_right|arrow_right|arrow_right_hook|arrow_up|arrow_up_down|arrow_up_small|arrow_upper_left|arrow_upper_right|arrows_clockwise|arrows_counterclockwise|art|articulated_lorry|astonished|atm|b|baby|baby_bottle|baby_chick|baby_symbol|back|baggage_claim|balloon|ballot_box_with_check|bamboo|banana|bangbang|bank|bar_chart|barber|baseball|basketball|bath|bathtub|battery|bear|bee|beer|beers|beetle|beginner|bell|bento|bicyclist|bike|bikini|bird|birthday|black_circle|black_joker|black_medium_small_square|black_medium_square|black_nib|black_small_square|black_square|black_square_button|blossom|blowfish|blue_book|blue_car|blue_heart|blush|boar|boat|bomb|book|bookmark|bookmark_tabs|books|boom|boot|bouquet|bow|bowling|bowtie|boy|bread|bride_with_veil|bridge_at_night|briefcase|broken_heart|bug|bulb|bullettrain_front|bullettrain_side|bus|busstop|bust_in_silhouette|busts_in_silhouette|cactus|cake|calendar|calling|camel|camera|cancer|candy|capital_abcd|capricorn|car|card_index|carousel_horse|cat|cat2|cd|chart|chart_with_downwards_trend|chart_with_upwards_trend|checkered_flag|cherries|cherry_blossom|chestnut|chicken|children_crossing|chocolate_bar|christmas_tree|church|cinema|circus_tent|city_sunrise|city_sunset|cl|clap|clapper|clipboard|clock1|clock10|clock1030|clock11|clock1130|clock12|clock1230|clock130|clock2|clock230|clock3|clock330|clock4|clock430|clock5|clock530|clock6|clock630|clock7|clock730|clock8|clock830|clock9|clock930|closed_book|closed_lock_with_key|closed_umbrella|cloud|clubs|cn|cocktail|coffee|cold_sweat|collision|computer|confetti_ball|confounded|confused|congratulations|construction|construction_worker|convenience_store|cookie|cool|cop|copyright|corn|couple|couple_with_heart|couplekiss|cow|cow2|credit_card|crocodile|crossed_flags|crown|cry|crying_cat_face|crystal_ball|cupid|curly_loop|currency_exchange|curry|custard|customs|cyclone|dancer|dancers|dango|dart|dash|date|de|deciduous_tree|department_store|diamond_shape_with_a_dot_inside|diamonds|disappointed|disappointed_relieved|dizzy|dizzy_face|do_not_litter|dog|dog2|dollar|dolls|dolphin|donut|door|doughnut|dragon|dragon_face|dress|dromedary_camel|droplet|dvd|e\\-mail|ear|ear_of_rice|earth_africa|earth_americas|earth_asia|egg|eggplant|eight|eight_pointed_black_star|eight_spoked_asterisk|electric_plug|elephant|email|end|envelope|es|euro|european_castle|european_post_office|evergreen_tree|exclamation|expressionless|eyeglasses|eyes|facepunch|factory|fallen_leaf|family|fast_forward|fax|fearful|feelsgood|feet|ferris_wheel|file_folder|finnadie|fire|fire_engine|fireworks|first_quarter_moon|first_quarter_moon_with_face|fish|fish_cake|fishing_pole_and_fish|fist|five|flags|flashlight|floppy_disk|flower_playing_cards|flushed|foggy|football|fork_and_knife|fountain|four|four_leaf_clover|fr|free|fried_shrimp|fries|frog|frowning|fu|fuelpump|full_moon|full_moon_with_face|game_die|gb|gem|gemini|ghost|gift|gift_heart|girl|globe_with_meridians|goat|goberserk|godmode|golf|grapes|green_apple|green_book|green_heart|grey_exclamation|grey_question|grimacing|grin|grinning|guardsman|guitar|gun|haircut|hamburger|hammer|hamster|hand|handbag|hankey|hash|hatched_chick|hatching_chick|headphones|hear_no_evil|heart|heart_decoration|heart_eyes|heart_eyes_cat|heartbeat|heartpulse|hearts|heavy_check_mark|heavy_division_sign|heavy_dollar_sign|heavy_exclamation_mark|heavy_minus_sign|heavy_multiplication_x|heavy_plus_sign|helicopter|herb|hibiscus|high_brightness|high_heel|hocho|honey_pot|honeybee|horse|horse_racing|hospital|hotel|hotsprings|hourglass|hourglass_flowing_sand|house|house_with_garden|hurtrealbad|hushed|ice_cream|icecream|id|ideograph_advantage|imp|inbox_tray|incoming_envelope|information_desk_person|information_source|innocent|interrobang|iphone|it|izakaya_lantern|jack_o_lantern|japan|japanese_castle|japanese_goblin|japanese_ogre|jeans|joy|joy_cat|jp|key|keycap_ten|kimono|kiss|kissing|kissing_cat|kissing_closed_eyes|kissing_face|kissing_heart|kissing_smiling_eyes|koala|koko|kr|large_blue_circle|large_blue_diamond|large_orange_diamond|last_quarter_moon|last_quarter_moon_with_face|laughing|leaves|ledger|left_luggage|left_right_arrow|leftwards_arrow_with_hook|lemon|leo|leopard|libra|light_rail|link|lips|lipstick|lock|lock_with_ink_pen|lollipop|loop|loudspeaker|love_hotel|love_letter|low_brightness|m|mag|mag_right|mahjong|mailbox|mailbox_closed|mailbox_with_mail|mailbox_with_no_mail|man|man_with_gua_pi_mao|man_with_turban|mans_shoe|maple_leaf|mask|massage|meat_on_bone|mega|melon|memo|mens|metal|metro|microphone|microscope|milky_way|minibus|minidisc|mobile_phone_off|money_with_wings|moneybag|monkey|monkey_face|monorail|moon|mortar_board|mount_fuji|mountain_bicyclist|mountain_cableway|mountain_railway|mouse|mouse2|movie_camera|moyai|muscle|mushroom|musical_keyboard|musical_note|musical_score|mute|nail_care|name_badge|neckbeard|necktie|negative_squared_cross_mark|neutral_face|new|new_moon|new_moon_with_face|newspaper|ng|nine|no_bell|no_bicycles|no_entry|no_entry_sign|no_good|no_mobile_phones|no_mouth|no_pedestrians|no_smoking|non\\-potable_water|nose|notebook|notebook_with_decorative_cover|notes|nut_and_bolt|o|o2|ocean|octocat|octopus|oden|office|ok|ok_hand|ok_woman|older_man|older_woman|on|oncoming_automobile|oncoming_bus|oncoming_police_car|oncoming_taxi|one|open_file_folder|open_hands|open_mouth|ophiuchus|orange_book|outbox_tray|ox|package|page_facing_up|page_with_curl|pager|palm_tree|panda_face|paperclip|parking|part_alternation_mark|partly_sunny|passport_control|paw_prints|peach|pear|pencil|pencil2|penguin|pensive|performing_arts|persevere|person_frowning|person_with_blond_hair|person_with_pouting_face|phone|pig|pig2|pig_nose|pill|pineapple|pisces|pizza|plus1|point_down|point_left|point_right|point_up|point_up_2|police_car|poodle|poop|post_office|postal_horn|postbox|potable_water|pouch|poultry_leg|pound|pouting_cat|pray|princess|punch|purple_heart|purse|pushpin|put_litter_in_its_place|question|rabbit|rabbit2|racehorse|radio|radio_button|rage|rage1|rage2|rage3|rage4|railway_car|rainbow|raised_hand|raised_hands|raising_hand|ram|ramen|rat|recycle|red_car|red_circle|registered|relaxed|relieved|repeat|repeat_one|restroom|revolving_hearts|rewind|ribbon|rice|rice_ball|rice_cracker|rice_scene|ring|rocket|roller_coaster|rooster|rose|rotating_light|round_pushpin|rowboat|ru|rugby_football|runner|running|running_shirt_with_sash|sa|sagittarius|sailboat|sake|sandal|santa|satellite|satisfied|saxophone|school|school_satchel|scissors|scorpius|scream|scream_cat|scroll|seat|secret|see_no_evil|seedling|seven|shaved_ice|sheep|shell|ship|shipit|shirt|shit|shoe|shower|signal_strength|six|six_pointed_star|ski|skull|sleeping|sleepy|slot_machine|small_blue_diamond|small_orange_diamond|small_red_triangle|small_red_triangle_down|smile|smile_cat|smiley|smiley_cat|smiling_imp|smirk|smirk_cat|smoking|snail|snake|snowboarder|snowflake|snowman|sob|soccer|soon|sos|sound|space_invader|spades|spaghetti|sparkle|sparkler|sparkles|sparkling_heart|speak_no_evil|speaker|speech_balloon|speedboat|squirrel|star|star2|stars|station|statue_of_liberty|steam_locomotive|stew|straight_ruler|strawberry|stuck_out_tongue|stuck_out_tongue_closed_eyes|stuck_out_tongue_winking_eye|sun_with_face|sunflower|sunglasses|sunny|sunrise|sunrise_over_mountains|surfer|sushi|suspect|suspension_railway|sweat|sweat_drops|sweat_smile|sweet_potato|swimmer|symbols|syringe|tada|tanabata_tree|tangerine|taurus|taxi|tea|telephone|telephone_receiver|telescope|tennis|tent|thought_balloon|three|thumbsdown|thumbsup|ticket|tiger|tiger2|tired_face|tm|toilet|tokyo_tower|tomato|tongue|top|tophat|tractor|traffic_light|train|train2|tram|triangular_flag_on_post|triangular_ruler|trident|triumph|trolleybus|trollface|trophy|tropical_drink|tropical_fish|truck|trumpet|tshirt|tulip|turtle|tv|twisted_rightwards_arrows|two|two_hearts|two_men_holding_hands|two_women_holding_hands|u5272|u5408|u55b6|u6307|u6708|u6709|u6e80|u7121|u7533|u7981|u7a7a|uk|umbrella|unamused|underage|unlock|up|us|v|vertical_traffic_light|vhs|vibration_mode|video_camera|video_game|violin|virgo|volcano|vs|walking|waning_crescent_moon|waning_gibbous_moon|warning|watch|water_buffalo|watermelon|wave|wavy_dash|waxing_crescent_moon|waxing_gibbous_moon|wc|weary|wedding|whale|whale2|wheelchair|white_check_mark|white_circle|white_flower|white_large_square|white_medium_small_square|white_medium_square|white_small_square|white_square_button|wind_chime|wine_glass|wink|wolf|woman|womans_clothes|womans_hat|womens|worried|wrench|x|yellow_heart|yen|yum|zap|zero|zzz)(:)",
1419
+ "captures": {
1420
+ "1": {
1421
+ "name": "string.emoji.start.gfm"
1422
+ },
1423
+ "2": {
1424
+ "name": "string.emoji.word.gfm"
1425
+ },
1426
+ "3": {
1427
+ "name": "string.emoji.end.gfm"
1428
+ }
1429
+ }
1345
1430
  },
1346
- "6": {
1347
- "name": "markup.underline.link.gfm"
1431
+ {
1432
+ "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(#)(\\d+)(?=[\\s\"'\\.,;\\)\\]])",
1433
+ "captures": {
1434
+ "1": {
1435
+ "name": "variable.issue.tag.gfm"
1436
+ },
1437
+ "2": {
1438
+ "name": "string.issue.number.gfm"
1439
+ }
1440
+ }
1348
1441
  },
1349
- "7": {
1350
- "name": "punctuation.definition.end.gfm"
1442
+ {
1443
+ "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(@)(\\w[-\\w:]*)(?=[\\s\"'.,;\\)\\]])",
1444
+ "captures": {
1445
+ "1": {
1446
+ "name": "variable.mention.gfm"
1447
+ },
1448
+ "2": {
1449
+ "name": "string.username.gfm"
1450
+ }
1451
+ }
1351
1452
  },
1352
- "8": {
1353
- "name": "punctuation.definition.end.gfm"
1453
+ {
1454
+ "name": "markup.strike.gfm",
1455
+ "begin": "(?\u003c=^|[^\\w\\d~])~~(?!$|~|\\s)",
1456
+ "end": "(?\u003c!^|\\s)~~*~(?=$|[^\\w|\\d])",
1457
+ "patterns": [
1458
+ {
1459
+ "name": "constant.character.entity.gfm",
1460
+ "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
1461
+ "captures": {
1462
+ "1": {
1463
+ "name": "punctuation.definition.entity.gfm"
1464
+ },
1465
+ "3": {
1466
+ "name": "punctuation.definition.entity.gfm"
1467
+ }
1468
+ }
1469
+ }
1470
+ ]
1354
1471
  }
1355
- }
1472
+ ]
1356
1473
  },
1357
- {
1358
- "name": "link",
1359
- "match": "(\\[!)(\\[)([^\\]]*)(\\])(\\[)([^\\)]+)(\\])(\\])((\\()([^\\)]+)(\\))|(\\[)([^\\]]+)(\\]))",
1360
- "captures": {
1361
- "1": {
1362
- "name": "punctuation.definition.begin.gfm"
1363
- },
1364
- "10": {
1365
- "name": "punctuation.definition.begin.gfm"
1366
- },
1367
- "11": {
1368
- "name": "markup.underline.link.gfm"
1369
- },
1370
- "12": {
1371
- "name": "punctuation.definition.end.gfm"
1372
- },
1373
- "13": {
1374
- "name": "punctuation.definition.begin.gfm"
1375
- },
1376
- "14": {
1377
- "name": "markup.underline.link.gfm"
1378
- },
1379
- "15": {
1380
- "name": "punctuation.definition.end.gfm"
1474
+ "headings": {
1475
+ "patterns": [
1476
+ {
1477
+ "name": "markup.heading.heading-6.gfm",
1478
+ "begin": "^(#{6})(\\s*)",
1479
+ "end": "$",
1480
+ "patterns": [
1481
+ {
1482
+ "include": "$self"
1483
+ }
1484
+ ],
1485
+ "captures": {
1486
+ "1": {
1487
+ "name": "markup.heading.marker.gfm"
1488
+ },
1489
+ "2": {
1490
+ "name": "markup.heading.space.gfm"
1491
+ }
1492
+ }
1381
1493
  },
1382
- "2": {
1383
- "name": "punctuation.definition.begin.gfm"
1494
+ {
1495
+ "name": "markup.heading.heading-5.gfm",
1496
+ "begin": "^(#{5})(\\s*)",
1497
+ "end": "$",
1498
+ "patterns": [
1499
+ {
1500
+ "include": "$self"
1501
+ }
1502
+ ],
1503
+ "captures": {
1504
+ "1": {
1505
+ "name": "markup.heading.marker.gfm"
1506
+ },
1507
+ "2": {
1508
+ "name": "markup.heading.space.gfm"
1509
+ }
1510
+ }
1384
1511
  },
1385
- "3": {
1386
- "name": "entity.gfm"
1512
+ {
1513
+ "name": "markup.heading.heading-4.gfm",
1514
+ "begin": "^(#{4})(\\s*)",
1515
+ "end": "$",
1516
+ "patterns": [
1517
+ {
1518
+ "include": "$self"
1519
+ }
1520
+ ],
1521
+ "captures": {
1522
+ "1": {
1523
+ "name": "markup.heading.marker.gfm"
1524
+ },
1525
+ "2": {
1526
+ "name": "markup.heading.space.gfm"
1527
+ }
1528
+ }
1387
1529
  },
1388
- "4": {
1389
- "name": "punctuation.definition.end.gfm"
1530
+ {
1531
+ "name": "markup.heading.heading-3.gfm",
1532
+ "begin": "^(#{3})(\\s*)",
1533
+ "end": "$",
1534
+ "patterns": [
1535
+ {
1536
+ "include": "$self"
1537
+ }
1538
+ ],
1539
+ "captures": {
1540
+ "1": {
1541
+ "name": "markup.heading.marker.gfm"
1542
+ },
1543
+ "2": {
1544
+ "name": "markup.heading.space.gfm"
1545
+ }
1546
+ }
1390
1547
  },
1391
- "5": {
1392
- "name": "punctuation.definition.begin.gfm"
1548
+ {
1549
+ "name": "markup.heading.heading-2.gfm",
1550
+ "begin": "^(#{2})(\\s*)",
1551
+ "end": "$",
1552
+ "patterns": [
1553
+ {
1554
+ "include": "$self"
1555
+ }
1556
+ ],
1557
+ "captures": {
1558
+ "1": {
1559
+ "name": "markup.heading.marker.gfm"
1560
+ },
1561
+ "2": {
1562
+ "name": "markup.heading.space.gfm"
1563
+ }
1564
+ }
1393
1565
  },
1394
- "6": {
1395
- "name": "markup.underline.link.gfm"
1566
+ {
1567
+ "name": "markup.heading.heading-1.gfm",
1568
+ "begin": "^(#{1})(\\s*)",
1569
+ "end": "$",
1570
+ "patterns": [
1571
+ {
1572
+ "include": "$self"
1573
+ }
1574
+ ],
1575
+ "captures": {
1576
+ "1": {
1577
+ "name": "markup.heading.marker.gfm"
1578
+ },
1579
+ "2": {
1580
+ "name": "markup.heading.space.gfm"
1581
+ }
1582
+ }
1583
+ }
1584
+ ]
1585
+ },
1586
+ "hr": {
1587
+ "patterns": [
1588
+ {
1589
+ "name": "comment.hr.gfm",
1590
+ "match": "^\\s*[*]{3,}\\s*$"
1396
1591
  },
1397
- "7": {
1398
- "name": "punctuation.definition.end.gfm"
1592
+ {
1593
+ "name": "comment.hr.gfm",
1594
+ "match": "^\\s*[-]{3,}\\s*$"
1399
1595
  },
1400
- "8": {
1401
- "name": "punctuation.definition.end.gfm"
1596
+ {
1597
+ "name": "comment.hr.gfm",
1598
+ "match": "^\\s*[_]{3,}\\s*$"
1402
1599
  }
1403
- }
1600
+ ]
1404
1601
  },
1405
- {
1406
- "name": "link",
1407
- "match": "!?(\\[)([^\\]]*)(\\])(\\()([^\\)]+)(\\))",
1408
- "captures": {
1409
- "1": {
1410
- "name": "punctuation.definition.begin.gfm"
1602
+ "inlines": {
1603
+ "patterns": [
1604
+ {
1605
+ "include": "#escapes"
1606
+ },
1607
+ {
1608
+ "include": "#code"
1411
1609
  },
1412
- "2": {
1413
- "name": "entity.gfm"
1610
+ {
1611
+ "include": "#links"
1414
1612
  },
1415
- "3": {
1416
- "name": "punctuation.definition.end.gfm"
1613
+ {
1614
+ "include": "#emphasis"
1417
1615
  },
1418
- "4": {
1419
- "name": "punctuation.definition.begin.gfm"
1616
+ {
1617
+ "include": "#line-breaks"
1420
1618
  },
1421
- "5": {
1422
- "name": "markup.underline.link.gfm"
1619
+ {
1620
+ "include": "#entities"
1423
1621
  },
1424
- "6": {
1425
- "name": "punctuation.definition.end.gfm"
1622
+ {
1623
+ "include": "#github-inlines"
1426
1624
  }
1427
- }
1625
+ ]
1428
1626
  },
1429
- {
1430
- "name": "link",
1431
- "match": "!?(\\[)([^\\]]*)(\\])(\\[)([^\\]]*)(\\])",
1432
- "captures": {
1433
- "1": {
1434
- "name": "punctuation.definition.begin.gfm"
1627
+ "inlines-in-blocks": {
1628
+ "patterns": [
1629
+ {
1630
+ "include": "#escapes"
1435
1631
  },
1436
- "2": {
1437
- "name": "entity.gfm"
1632
+ {
1633
+ "include": "#code"
1438
1634
  },
1439
- "3": {
1440
- "name": "punctuation.definition.end.gfm"
1635
+ {
1636
+ "include": "#entities"
1441
1637
  },
1442
- "4": {
1443
- "name": "punctuation.definition.begin.gfm"
1638
+ {
1639
+ "include": "#links"
1444
1640
  },
1445
- "5": {
1446
- "name": "markup.underline.link.gfm"
1641
+ {
1642
+ "include": "#emphasis"
1447
1643
  },
1448
- "6": {
1449
- "name": "punctuation.definition.end.gfm"
1644
+ {
1645
+ "include": "#flavors"
1450
1646
  }
1451
- }
1647
+ ]
1452
1648
  },
1453
- {
1454
- "name": "link",
1455
- "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*:\\s*\u003c([^\u003e]+)\u003e",
1456
- "captures": {
1457
- "1": {
1458
- "name": "punctuation.definition.begin.gfm"
1459
- },
1460
- "2": {
1461
- "name": "entity.gfm"
1649
+ "inlines-in-inlines": {
1650
+ "patterns": [
1651
+ {
1652
+ "include": "#escapes"
1462
1653
  },
1463
- "3": {
1464
- "name": "punctuation.definition.end.gfm"
1654
+ {
1655
+ "include": "#code"
1465
1656
  },
1466
- "4": {
1467
- "name": "markup.underline.link.gfm"
1468
- }
1469
- }
1470
- },
1471
- {
1472
- "name": "link",
1473
- "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*(:)\\s*(\\S+)",
1474
- "captures": {
1475
- "1": {
1476
- "name": "punctuation.definition.begin.gfm"
1657
+ {
1658
+ "include": "#entities"
1477
1659
  },
1478
- "2": {
1479
- "name": "entity.gfm"
1660
+ {
1661
+ "include": "#links"
1480
1662
  },
1481
- "3": {
1482
- "name": "punctuation.definition.end.gfm"
1663
+ {
1664
+ "include": "#emphasis"
1483
1665
  },
1484
- "4": {
1485
- "name": "punctuation.separator.key-value.gfm"
1666
+ {
1667
+ "include": "#github-inlines"
1486
1668
  },
1487
- "5": {
1488
- "name": "markup.underline.link.gfm"
1489
- }
1490
- }
1491
- },
1492
- {
1493
- "match": "^\\s*([*+-])[ \\t]+",
1494
- "captures": {
1495
- "1": {
1496
- "name": "variable.unordered.list.gfm"
1497
- }
1498
- }
1499
- },
1500
- {
1501
- "match": "^\\s*(\\d+\\.)[ \\t]+",
1502
- "captures": {
1503
- "1": {
1504
- "name": "variable.ordered.list.gfm"
1669
+ {
1670
+ "include": "#criticmark"
1505
1671
  }
1506
- }
1672
+ ]
1507
1673
  },
1508
- {
1509
- "name": "comment.quote.gfm",
1510
- "begin": "^\\s*(\u003e)",
1511
- "end": "^\\s*?$",
1674
+ "line-breaks": {
1512
1675
  "patterns": [
1513
1676
  {
1514
- "include": "$self"
1515
- }
1516
- ],
1517
- "beginCaptures": {
1518
- "1": {
1519
- "name": "support.quote.gfm"
1677
+ "match": "( )$",
1678
+ "captures": {
1679
+ "1": {
1680
+ "name": "linebreak.gfm"
1681
+ }
1682
+ }
1520
1683
  }
1521
- }
1684
+ ]
1522
1685
  },
1523
- {
1524
- "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(@)(\\w[-\\w:]*)(?=[\\s\"'.,;\\)\\]])",
1525
- "captures": {
1526
- "1": {
1527
- "name": "variable.mention.gfm"
1686
+ "links": {
1687
+ "patterns": [
1688
+ {
1689
+ "name": "link",
1690
+ "match": "(\\[!)(\\[)([^\\]]*)(\\])(\\()([^\\)]+)(\\))(\\])((\\()([^\\)]+)(\\))|(\\[)([^\\]]+)(\\]))",
1691
+ "captures": {
1692
+ "1": {
1693
+ "name": "punctuation.definition.begin.gfm"
1694
+ },
1695
+ "10": {
1696
+ "name": "punctuation.definition.begin.gfm"
1697
+ },
1698
+ "11": {
1699
+ "name": "markup.underline.link.gfm"
1700
+ },
1701
+ "12": {
1702
+ "name": "punctuation.definition.end.gfm"
1703
+ },
1704
+ "13": {
1705
+ "name": "punctuation.definition.begin.gfm"
1706
+ },
1707
+ "14": {
1708
+ "name": "markup.underline.link.gfm"
1709
+ },
1710
+ "15": {
1711
+ "name": "punctuation.definition.end.gfm"
1712
+ },
1713
+ "2": {
1714
+ "name": "punctuation.definition.begin.gfm"
1715
+ },
1716
+ "3": {
1717
+ "name": "entity.gfm"
1718
+ },
1719
+ "4": {
1720
+ "name": "punctuation.definition.end.gfm"
1721
+ },
1722
+ "5": {
1723
+ "name": "punctuation.definition.begin.gfm"
1724
+ },
1725
+ "6": {
1726
+ "name": "markup.underline.link.gfm"
1727
+ },
1728
+ "7": {
1729
+ "name": "punctuation.definition.end.gfm"
1730
+ },
1731
+ "8": {
1732
+ "name": "punctuation.definition.end.gfm"
1733
+ }
1734
+ }
1528
1735
  },
1529
- "2": {
1530
- "name": "string.username.gfm"
1531
- }
1532
- }
1533
- },
1534
- {
1535
- "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(#)(\\d+)(?=[\\s\"'\\.,;\\)\\]])",
1536
- "captures": {
1537
- "1": {
1538
- "name": "variable.issue.tag.gfm"
1736
+ {
1737
+ "name": "link",
1738
+ "match": "(\\[!)(\\[)([^\\]]*)(\\])(\\[)([^\\)]+)(\\])(\\])((\\()([^\\)]+)(\\))|(\\[)([^\\]]+)(\\]))",
1739
+ "captures": {
1740
+ "1": {
1741
+ "name": "punctuation.definition.begin.gfm"
1742
+ },
1743
+ "10": {
1744
+ "name": "punctuation.definition.begin.gfm"
1745
+ },
1746
+ "11": {
1747
+ "name": "markup.underline.link.gfm"
1748
+ },
1749
+ "12": {
1750
+ "name": "punctuation.definition.end.gfm"
1751
+ },
1752
+ "13": {
1753
+ "name": "punctuation.definition.begin.gfm"
1754
+ },
1755
+ "14": {
1756
+ "name": "markup.underline.link.gfm"
1757
+ },
1758
+ "15": {
1759
+ "name": "punctuation.definition.end.gfm"
1760
+ },
1761
+ "2": {
1762
+ "name": "punctuation.definition.begin.gfm"
1763
+ },
1764
+ "3": {
1765
+ "name": "entity.gfm"
1766
+ },
1767
+ "4": {
1768
+ "name": "punctuation.definition.end.gfm"
1769
+ },
1770
+ "5": {
1771
+ "name": "punctuation.definition.begin.gfm"
1772
+ },
1773
+ "6": {
1774
+ "name": "markup.underline.link.gfm"
1775
+ },
1776
+ "7": {
1777
+ "name": "punctuation.definition.end.gfm"
1778
+ },
1779
+ "8": {
1780
+ "name": "punctuation.definition.end.gfm"
1781
+ }
1782
+ }
1539
1783
  },
1540
- "2": {
1541
- "name": "string.issue.number.gfm"
1542
- }
1543
- }
1544
- },
1545
- {
1546
- "match": "( )$",
1547
- "captures": {
1548
- "1": {
1549
- "name": "linebreak.gfm"
1550
- }
1551
- }
1552
- },
1553
- {
1554
- "name": "comment.block.gfm",
1555
- "begin": "\u003c!--",
1556
- "end": "--\\s*\u003e",
1557
- "captures": {
1558
- "0": {
1559
- "name": "punctuation.definition.comment.gfm"
1560
- }
1561
- }
1562
- },
1563
- {
1564
- "name": "table.gfm",
1565
- "begin": "^\\|",
1566
- "end": "(\\|)?\\s*$",
1567
- "patterns": [
1568
1784
  {
1569
- "match": "(:?)(-+)(:?)",
1785
+ "name": "link",
1786
+ "match": "!?(\\[)([^\\]]*)(\\])(\\()([^\\)]+)(\\))",
1570
1787
  "captures": {
1571
1788
  "1": {
1572
- "name": "border.alignment"
1789
+ "name": "punctuation.definition.begin.gfm"
1573
1790
  },
1574
1791
  "2": {
1575
- "name": "border.header"
1792
+ "name": "entity.gfm"
1576
1793
  },
1577
1794
  "3": {
1578
- "name": "border.alignment"
1795
+ "name": "punctuation.definition.end.gfm"
1796
+ },
1797
+ "4": {
1798
+ "name": "punctuation.definition.begin.gfm"
1799
+ },
1800
+ "5": {
1801
+ "name": "markup.underline.link.gfm"
1802
+ },
1803
+ "6": {
1804
+ "name": "punctuation.definition.end.gfm"
1579
1805
  }
1580
1806
  }
1581
1807
  },
1582
1808
  {
1583
- "name": "border.pipe.inner",
1584
- "match": "\\|"
1585
- }
1586
- ],
1587
- "beginCaptures": {
1588
- "0": {
1589
- "name": "border.pipe.outer"
1590
- }
1591
- },
1592
- "endCaptures": {
1593
- "1": {
1594
- "name": "border.pipe.outer"
1595
- }
1596
- }
1597
- },
1598
- {
1599
- "name": "markup.inserted.critic.gfm.addition",
1600
- "begin": "{\\+\\+",
1601
- "end": "\\+\\+}",
1602
- "captures": {
1603
- "0": {
1604
- "name": "punctuation.definition.inserted.critic.gfm.addition.marker"
1605
- }
1606
- }
1607
- },
1608
- {
1609
- "name": "markup.deleted.critic.gfm.deletion",
1610
- "begin": "{--",
1611
- "end": "--}",
1612
- "captures": {
1613
- "0": {
1614
- "name": "punctuation.definition.deleted.critic.gfm.deletion.marker"
1615
- }
1616
- }
1617
- },
1618
- {
1619
- "name": "critic.gfm.highlight",
1620
- "begin": "{==",
1621
- "end": "==}",
1622
- "captures": {
1623
- "0": {
1624
- "name": "critic.gfm.highlight.marker"
1809
+ "name": "link",
1810
+ "match": "!?(\\[)([^\\]]*)(\\])(\\[)([^\\]]*)(\\])",
1811
+ "captures": {
1812
+ "1": {
1813
+ "name": "punctuation.definition.begin.gfm"
1814
+ },
1815
+ "2": {
1816
+ "name": "entity.gfm"
1817
+ },
1818
+ "3": {
1819
+ "name": "punctuation.definition.end.gfm"
1820
+ },
1821
+ "4": {
1822
+ "name": "punctuation.definition.begin.gfm"
1823
+ },
1824
+ "5": {
1825
+ "name": "markup.underline.link.gfm"
1826
+ },
1827
+ "6": {
1828
+ "name": "punctuation.definition.end.gfm"
1829
+ }
1830
+ }
1831
+ },
1832
+ {
1833
+ "name": "link",
1834
+ "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*:\\s*\u003c([^\u003e]+)\u003e",
1835
+ "captures": {
1836
+ "1": {
1837
+ "name": "punctuation.definition.begin.gfm"
1838
+ },
1839
+ "2": {
1840
+ "name": "entity.gfm"
1841
+ },
1842
+ "3": {
1843
+ "name": "punctuation.definition.end.gfm"
1844
+ },
1845
+ "4": {
1846
+ "name": "markup.underline.link.gfm"
1847
+ }
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "link",
1852
+ "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*(:)\\s*(\\S+)",
1853
+ "captures": {
1854
+ "1": {
1855
+ "name": "punctuation.definition.begin.gfm"
1856
+ },
1857
+ "2": {
1858
+ "name": "entity.gfm"
1859
+ },
1860
+ "3": {
1861
+ "name": "punctuation.definition.end.gfm"
1862
+ },
1863
+ "4": {
1864
+ "name": "punctuation.separator.key-value.gfm"
1865
+ },
1866
+ "5": {
1867
+ "name": "markup.underline.link.gfm"
1868
+ }
1869
+ }
1625
1870
  }
1626
- }
1871
+ ]
1627
1872
  },
1628
- {
1629
- "name": "critic.gfm.comment",
1630
- "begin": "{\u003e\u003e",
1631
- "end": "\u003c\u003c}",
1632
- "captures": {
1633
- "0": {
1634
- "name": "critic.gfm.comment.marker"
1873
+ "lists": {
1874
+ "patterns": [
1875
+ {
1876
+ "match": "^\\s*([*+-])[ \\t]+",
1877
+ "captures": {
1878
+ "1": {
1879
+ "name": "variable.unordered.list.gfm"
1880
+ }
1881
+ }
1882
+ },
1883
+ {
1884
+ "match": "^\\s*(\\d+\\.)[ \\t]+",
1885
+ "captures": {
1886
+ "1": {
1887
+ "name": "variable.ordered.list.gfm"
1888
+ }
1889
+ }
1635
1890
  }
1636
- }
1891
+ ]
1637
1892
  },
1638
- {
1639
- "name": "markup.changed.critic.gfm.substitution",
1640
- "begin": "{~~",
1641
- "end": "~~}",
1893
+ "quotes": {
1642
1894
  "patterns": [
1643
1895
  {
1644
- "name": "punctuation.definition.changed.critic.gfm.substitution.operator",
1645
- "match": "~\u003e"
1646
- }
1647
- ],
1648
- "captures": {
1649
- "0": {
1650
- "name": "punctuation.definition.changed.critic.gfm.substitution.marker"
1896
+ "name": "comment.quote.gfm",
1897
+ "begin": "^\\s*(\u003e)",
1898
+ "end": "^\\s*?$",
1899
+ "patterns": [
1900
+ {
1901
+ "include": "#blocks"
1902
+ }
1903
+ ],
1904
+ "beginCaptures": {
1905
+ "1": {
1906
+ "name": "support.quote.gfm"
1907
+ }
1908
+ }
1651
1909
  }
1652
- }
1910
+ ]
1653
1911
  }
1654
- ]
1912
+ }
1655
1913
  }