github-linguist 7.6.0 → 7.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/github-linguist +17 -4
- data/grammars/annotation.liquidhaskell.haskell.json +58 -11
- data/grammars/etc.json +472 -4
- data/grammars/hidden.manref.json +29 -0
- data/grammars/hidden.regexp.injection-shell.json +28 -0
- data/grammars/hint.haskell.json +58 -11
- data/grammars/hint.message.haskell.json +58 -11
- data/grammars/hint.type.haskell.json +58 -11
- data/grammars/injections.etc.json +601 -1
- data/grammars/markdown.plantuml.codeblock.json +26 -0
- data/grammars/source.4dm.json +1156 -0
- data/grammars/source.abap.json +7 -7
- data/grammars/source.abl.json +685 -83
- data/grammars/source.abnf.json +23 -1
- data/grammars/source.agda.json +33 -203
- data/grammars/source.ahk.json +9 -5
- data/grammars/source.angelscript.json +1 -1
- data/grammars/source.ballerina.json +55 -19
- data/grammars/source.c++.json +4 -4
- data/grammars/source.c.platform.json +584 -33
- data/grammars/source.chapel.json +7 -4
- data/grammars/source.csound.json +1 -1
- data/grammars/source.css.json +3 -3
- data/grammars/source.css.scss.json +164 -15
- data/grammars/source.curlrc.json +869 -65
- data/grammars/source.d.json +2 -2
- data/grammars/source.dart.json +58 -32
- data/grammars/source.dircolors.json +137 -0
- data/grammars/source.direct-x.json +135 -0
- data/grammars/source.ebnf.json +67 -39
- data/grammars/source.editorconfig.json +23 -5
- data/grammars/source.elixir.json +51 -0
- data/grammars/source.elm.json +1 -1
- data/grammars/source.emacs.lisp.json +10 -0
- data/grammars/source.faust.json +119 -0
- data/grammars/source.futhark.json +146 -0
- data/grammars/source.gcode.json +166 -8
- data/grammars/source.gedcom.json +196 -0
- data/grammars/source.generic-db.json +41 -0
- data/grammars/source.gfm.blade.json +15 -0
- data/grammars/source.gfm.json +1697 -1439
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.hack.json +200 -98
- data/grammars/source.haskell.json +58 -11
- data/grammars/source.hlsl.json +9 -5
- data/grammars/source.hosts.json +40 -0
- data/grammars/source.hsig.json +58 -11
- data/grammars/source.httpspec.json +1 -1
- data/grammars/source.hx.json +9 -5
- data/grammars/source.hxml.json +2 -2
- data/grammars/source.idris.json +1 -1
- data/grammars/source.igor.json +46 -2
- data/grammars/source.ini.npmrc.json +311 -0
- data/grammars/source.inno.json +133 -0
- data/grammars/source.inputrc.json +500 -0
- data/grammars/source.isabelle.root.json +1 -1
- data/grammars/source.jison.json +3 -0
- data/grammars/source.jisonlex.json +3 -0
- data/grammars/source.js.json +4 -4
- data/grammars/source.julia.json +70 -24
- data/grammars/source.kotlin.json +17 -51
- data/grammars/source.lcov.json +398 -0
- data/grammars/source.lean.json +20 -4
- data/grammars/source.lean.markdown.json +2598 -0
- data/grammars/source.lex.json +4 -4
- data/grammars/source.m2.json +125 -0
- data/grammars/source.m4.json +141 -99
- data/grammars/source.man-conf.json +47 -35
- data/grammars/source.matlab.json +437 -184
- data/grammars/source.mcfunction-snapshot.json +21388 -561
- data/grammars/source.mcfunction.json +55 -5
- data/grammars/source.meson.json +1 -1
- data/grammars/source.mlir.json +37 -317
- data/grammars/source.modula-3.json +10 -0
- data/grammars/source.msl.json +755 -0
- data/grammars/source.nasl.json +155 -0
- data/grammars/source.neon.json +381 -0
- data/grammars/source.nextflow.json +2 -2
- data/grammars/source.objc.platform.json +493 -35
- data/grammars/source.odin-ehr.json +806 -0
- data/grammars/source.odin.json +402 -0
- data/grammars/source.openbsd-pkg.contents.json +128 -0
- data/grammars/source.opts.json +12 -2
- data/grammars/source.perl6fe.json +1 -1
- data/grammars/source.postscript.json +358 -103
- data/grammars/source.prisma.json +435 -0
- data/grammars/source.purescript.json +29 -2
- data/grammars/source.python.json +52 -0
- data/grammars/source.q.json +150 -63
- data/grammars/source.qasm.json +66 -0
- data/grammars/source.ql.json +1408 -0
- data/grammars/source.r.json +4 -4
- data/grammars/source.reason.json +28 -16
- data/grammars/source.rego.json +124 -0
- data/grammars/source.sass.json +158 -3
- data/grammars/source.scala.json +53 -18
- data/grammars/source.sieve.json +383 -0
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.ssh-config.json +1 -14
- data/grammars/source.swift.json +162 -2
- data/grammars/source.sy.json +2088 -183
- data/grammars/source.tags.json +266 -0
- data/grammars/source.terraform.json +576 -132
- data/grammars/source.tnsaudit.json +256 -0
- data/grammars/source.ts.json +246 -70
- data/grammars/source.tsx.json +247 -71
- data/grammars/source.v.json +587 -761
- data/grammars/source.vim-snippet.json +645 -0
- data/grammars/source.viml.json +6 -6
- data/grammars/source.webassembly.json +10 -0
- data/grammars/source.webidl.json +8 -0
- data/grammars/source.wgetrc.json +1640 -0
- data/grammars/source.wsd.json +781 -0
- data/grammars/source.x86.json +7 -3
- data/grammars/source.zig.json +231 -360
- data/grammars/text.dfy.dafny.json +188 -0
- data/grammars/text.html.php.blade.json +535 -528
- data/grammars/text.html.riot.json +788 -0
- data/grammars/text.muse.json +1471 -0
- data/grammars/text.openbsd-pkg.desc.json +78 -0
- data/grammars/text.roff.json +49 -1
- data/grammars/text.sfd.json +21 -0
- data/grammars/text.tex.latex.haskell.json +58 -11
- data/grammars/text.vim-help.json +383 -0
- data/grammars/text.xml.svg.json +8 -2
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +4 -2
- data/lib/linguist/file_blob.rb +1 -1
- data/lib/linguist/generated.rb +96 -28
- data/lib/linguist/heuristics.yml +64 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +408 -49
- data/lib/linguist/lazy_blob.rb +10 -10
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +48129 -31562
- data/lib/linguist/shebang.rb +5 -3
- data/lib/linguist/vendor.yml +71 -60
- metadata +48 -17
- data/grammars/source.LS.json +0 -85
- data/grammars/source.MCPOST.json +0 -54
- data/grammars/source.MOD.json +0 -55
- data/grammars/source.apt.json +0 -18
- data/grammars/source.jlex.json +0 -322
- data/grammars/source.yaml-ext.json +0 -324
- data/grammars/text.html.abl.json +0 -70
@@ -0,0 +1,1471 @@
|
|
1
|
+
{
|
2
|
+
"name": "Muse",
|
3
|
+
"scopeName": "text.muse",
|
4
|
+
"patterns": [
|
5
|
+
{
|
6
|
+
"name": "meta.blank-lines.muse",
|
7
|
+
"begin": "\\A\\s*$",
|
8
|
+
"end": "(?=^\\s*\\S)"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"name": "meta.prologue.muse",
|
12
|
+
"begin": "^(?=#\\w+)",
|
13
|
+
"end": "^(?=\\s*$)",
|
14
|
+
"patterns": [
|
15
|
+
{
|
16
|
+
"include": "#directives"
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "meta.document.muse",
|
22
|
+
"begin": "^(?=[^\\s#]|\\s+\\S)",
|
23
|
+
"end": "(?=A)B",
|
24
|
+
"patterns": [
|
25
|
+
{
|
26
|
+
"include": "#main"
|
27
|
+
}
|
28
|
+
]
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"repository": {
|
32
|
+
"alignCentre": {
|
33
|
+
"name": "meta.paragraph.align.center.muse",
|
34
|
+
"begin": "^(\\s{6,19})(?=\\S)",
|
35
|
+
"end": "^(?!\\1|\\s*$)",
|
36
|
+
"patterns": [
|
37
|
+
{
|
38
|
+
"include": "#anchor"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"include": "#inline"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
"alignLeft": {
|
46
|
+
"name": "meta.paragraph.align.left.muse",
|
47
|
+
"begin": "^\\s?(?=\\S)",
|
48
|
+
"end": "(?=^\u003e\\s|^\\s*$|^\\s{2,}\\S|^\\s(?:-|(?:\\d+|[a-z]+|[A-Z]+)\\.\\s))",
|
49
|
+
"patterns": [
|
50
|
+
{
|
51
|
+
"include": "#anchor"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"include": "#inline"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
"alignRight": {
|
59
|
+
"name": "meta.paragraph.align.right.muse",
|
60
|
+
"begin": "^(\\s{20,})(?=\\S)",
|
61
|
+
"end": "^(?!\\1|\\s*$)",
|
62
|
+
"patterns": [
|
63
|
+
{
|
64
|
+
"include": "#anchor"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"include": "#inline"
|
68
|
+
}
|
69
|
+
]
|
70
|
+
},
|
71
|
+
"anchor": {
|
72
|
+
"match": "(?:\\G|^)\\s*((#)[a-zA-Z][-a-zA-Z0-9]*)",
|
73
|
+
"captures": {
|
74
|
+
"1": {
|
75
|
+
"name": "keyword.control.anchor.muse"
|
76
|
+
},
|
77
|
+
"2": {
|
78
|
+
"name": "punctuation.definition.anchor.muse"
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"anchorLine": {
|
83
|
+
"match": "^\\s*((#)[a-zA-Z][-a-zA-Z0-9]*)\\s*$",
|
84
|
+
"captures": {
|
85
|
+
"1": {
|
86
|
+
"name": "keyword.control.anchor.muse"
|
87
|
+
},
|
88
|
+
"2": {
|
89
|
+
"name": "punctuation.definition.anchor.muse"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
"comment": {
|
94
|
+
"name": "comment.line.semicolon.muse",
|
95
|
+
"begin": "^(;)\\s",
|
96
|
+
"end": "(?=$)",
|
97
|
+
"beginCaptures": {
|
98
|
+
"1": {
|
99
|
+
"name": "punctuation.definition.comment.begin.muse"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"directives": {
|
104
|
+
"name": "meta.directive.$3.muse",
|
105
|
+
"contentName": "entity.other.$3.muse",
|
106
|
+
"begin": "^((#)([a-zA-Z]+))",
|
107
|
+
"end": "(?!\\G)(?=^(?:#|\\s*$))",
|
108
|
+
"patterns": [
|
109
|
+
{
|
110
|
+
"match": "\\G(?\u003c=#pubdate|#date)\\s+(\\d{4}(?:-\\d{2}-\\d{2})?)(?=\\s|$)",
|
111
|
+
"captures": {
|
112
|
+
"1": {
|
113
|
+
"name": "constant.other.date.muse"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"include": "#link"
|
119
|
+
}
|
120
|
+
],
|
121
|
+
"beginCaptures": {
|
122
|
+
"1": {
|
123
|
+
"name": "variable.assignment.directive.muse"
|
124
|
+
},
|
125
|
+
"2": {
|
126
|
+
"name": "punctuation.definition.directive.muse"
|
127
|
+
}
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"divider": {
|
131
|
+
"match": "^\\s*(-{4,})\\s*$",
|
132
|
+
"captures": {
|
133
|
+
"1": {
|
134
|
+
"name": "constant.character.horizontal.line.muse"
|
135
|
+
}
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"emphasis": {
|
139
|
+
"patterns": [
|
140
|
+
{
|
141
|
+
"name": "markup.bold.italic.strong.emphasis.muse",
|
142
|
+
"begin": "(?\u003c=\\W|^)(\\*{3})(?=\\S)",
|
143
|
+
"end": "(?\u003c=\\S)\\1(?!\\*+\\w)(?=\\W|$)|(?=^[ \\t]*$)",
|
144
|
+
"patterns": [
|
145
|
+
{
|
146
|
+
"include": "#inlineInnards"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"beginCaptures": {
|
150
|
+
"1": {
|
151
|
+
"name": "punctuation.definition.emphasis.begin.muse"
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"endCaptures": {
|
155
|
+
"0": {
|
156
|
+
"name": "punctuation.definition.emphasis.end.muse"
|
157
|
+
}
|
158
|
+
}
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"name": "markup.bold.strong.emphasis.muse",
|
162
|
+
"begin": "(?\u003c=\\W|^)(\\*{2})(?=\\S)",
|
163
|
+
"end": "(?\u003c=\\S)\\1(?!\\*+\\w)(?=\\W|$)|(?=^[ \\t]*$)",
|
164
|
+
"patterns": [
|
165
|
+
{
|
166
|
+
"include": "#inlineInnards"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"beginCaptures": {
|
170
|
+
"1": {
|
171
|
+
"name": "punctuation.definition.emphasis.begin.muse"
|
172
|
+
}
|
173
|
+
},
|
174
|
+
"endCaptures": {
|
175
|
+
"0": {
|
176
|
+
"name": "punctuation.definition.emphasis.end.muse"
|
177
|
+
}
|
178
|
+
}
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"name": "markup.italic.emphasis.muse",
|
182
|
+
"begin": "(?\u003c=\\W|^)\\*(?=\\S)",
|
183
|
+
"end": "(?\u003c=\\S)\\*(?!\\*+\\w)(?=\\W|$)|(?=^[ \\t]*$)",
|
184
|
+
"patterns": [
|
185
|
+
{
|
186
|
+
"include": "#inlineInnards"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"beginCaptures": {
|
190
|
+
"0": {
|
191
|
+
"name": "punctuation.definition.emphasis.begin.muse"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"endCaptures": {
|
195
|
+
"0": {
|
196
|
+
"name": "punctuation.definition.emphasis.end.muse"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
]
|
201
|
+
},
|
202
|
+
"example": {
|
203
|
+
"name": "meta.example.muse",
|
204
|
+
"contentName": "markup.raw.code.muse",
|
205
|
+
"begin": "{{{",
|
206
|
+
"end": "}}}",
|
207
|
+
"beginCaptures": {
|
208
|
+
"0": {
|
209
|
+
"name": "keyword.operator.example.begin.muse"
|
210
|
+
}
|
211
|
+
},
|
212
|
+
"endCaptures": {
|
213
|
+
"0": {
|
214
|
+
"name": "keyword.operator.example.end.muse"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"footnote": {
|
219
|
+
"patterns": [
|
220
|
+
{
|
221
|
+
"name": "meta.footnote.muse",
|
222
|
+
"contentName": "markup.list.footnote.muse",
|
223
|
+
"begin": "^(\\[\\d\\]|\\{\\d\\})(\\s+)(?=\\S)",
|
224
|
+
"end": "^(?!\\s{3}\\2)(?:\\s*$|\\s*?(?=\\s\\S))",
|
225
|
+
"patterns": [
|
226
|
+
{
|
227
|
+
"include": "#inline"
|
228
|
+
}
|
229
|
+
],
|
230
|
+
"beginCaptures": {
|
231
|
+
"1": {
|
232
|
+
"patterns": [
|
233
|
+
{
|
234
|
+
"include": "#footnoteReference"
|
235
|
+
}
|
236
|
+
]
|
237
|
+
},
|
238
|
+
"2": {
|
239
|
+
"name": "punctuation.whitespace.separator.muse"
|
240
|
+
}
|
241
|
+
}
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"name": "meta.footnote.muse",
|
245
|
+
"contentName": "markup.list.footnote.muse",
|
246
|
+
"begin": "^(\\[\\d{2}\\]|\\{\\d{2}\\})(\\s+)(?=\\S)",
|
247
|
+
"end": "^(?!\\s{4}\\2)(?:\\s*$|\\s*?(?=\\s\\S))",
|
248
|
+
"patterns": [
|
249
|
+
{
|
250
|
+
"include": "#inline"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"beginCaptures": {
|
254
|
+
"1": {
|
255
|
+
"patterns": [
|
256
|
+
{
|
257
|
+
"include": "#footnoteReference"
|
258
|
+
}
|
259
|
+
]
|
260
|
+
},
|
261
|
+
"2": {
|
262
|
+
"name": "punctuation.whitespace.separator.muse"
|
263
|
+
}
|
264
|
+
}
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"name": "meta.footnote.muse",
|
268
|
+
"contentName": "markup.list.footnote.muse",
|
269
|
+
"begin": "^(\\[\\d{3}\\]|\\{\\d{3}\\})(\\s+)(?=\\S)",
|
270
|
+
"end": "^(?!\\s{5}\\2)(?:\\s*$|\\s*?(?=\\s\\S))",
|
271
|
+
"patterns": [
|
272
|
+
{
|
273
|
+
"include": "#inline"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"beginCaptures": {
|
277
|
+
"1": {
|
278
|
+
"patterns": [
|
279
|
+
{
|
280
|
+
"include": "#footnoteReference"
|
281
|
+
}
|
282
|
+
]
|
283
|
+
},
|
284
|
+
"2": {
|
285
|
+
"name": "punctuation.whitespace.separator.muse"
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
]
|
290
|
+
},
|
291
|
+
"footnoteReference": {
|
292
|
+
"patterns": [
|
293
|
+
{
|
294
|
+
"name": "entity.footnote.$2.primary.muse",
|
295
|
+
"match": "(\\[)(\\d+)(\\])",
|
296
|
+
"captures": {
|
297
|
+
"1": {
|
298
|
+
"name": "punctuation.definition.footnote.begin.muse"
|
299
|
+
},
|
300
|
+
"3": {
|
301
|
+
"name": "punctuation.definition.footnote.end.muse"
|
302
|
+
}
|
303
|
+
}
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"name": "entity.footnote.$2.secondary.muse",
|
307
|
+
"match": "(\\{)(\\d+)(\\})",
|
308
|
+
"captures": {
|
309
|
+
"1": {
|
310
|
+
"name": "punctuation.definition.footnote.begin.muse"
|
311
|
+
},
|
312
|
+
"3": {
|
313
|
+
"name": "punctuation.definition.footnote.end.muse"
|
314
|
+
}
|
315
|
+
}
|
316
|
+
}
|
317
|
+
]
|
318
|
+
},
|
319
|
+
"heading": {
|
320
|
+
"match": "^(\\*{1,5})( )(.*)",
|
321
|
+
"captures": {
|
322
|
+
"1": {
|
323
|
+
"name": "keyword.operator.heading.bullet.muse"
|
324
|
+
},
|
325
|
+
"2": {
|
326
|
+
"name": "punctuation.whitespace.separator.muse"
|
327
|
+
},
|
328
|
+
"3": {
|
329
|
+
"name": "markup.heading.muse"
|
330
|
+
}
|
331
|
+
}
|
332
|
+
},
|
333
|
+
"inline": {
|
334
|
+
"patterns": [
|
335
|
+
{
|
336
|
+
"include": "#tags"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"include": "#example"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"include": "#emphasis"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"include": "#literal"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"include": "#link"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"include": "#footnoteReference"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"include": "#nbsp"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"include": "#underline"
|
358
|
+
}
|
359
|
+
]
|
360
|
+
},
|
361
|
+
"inlineInnards": {
|
362
|
+
"patterns": [
|
363
|
+
{
|
364
|
+
"match": "(?:(?=\\G|^)|(?\u003c=[\\w*]))\\*+(?=\\w)"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"include": "#inline"
|
368
|
+
}
|
369
|
+
]
|
370
|
+
},
|
371
|
+
"link": {
|
372
|
+
"name": "meta.link.muse",
|
373
|
+
"begin": "(\\[)(?=\\[.*?\\]\\])",
|
374
|
+
"end": "\\]",
|
375
|
+
"patterns": [
|
376
|
+
{
|
377
|
+
"name": "meta.link.target.muse",
|
378
|
+
"begin": "\\G(\\[)",
|
379
|
+
"end": "\\]",
|
380
|
+
"patterns": [
|
381
|
+
{
|
382
|
+
"match": "\\G\\s*([^\\s\\]]+)",
|
383
|
+
"captures": {
|
384
|
+
"1": {
|
385
|
+
"name": "constant.other.reference.link.muse"
|
386
|
+
}
|
387
|
+
}
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"match": "(?\u003c=\\s)(?:([\\d.]+)([rlf])?|([rlf]))",
|
391
|
+
"captures": {
|
392
|
+
"1": {
|
393
|
+
"name": "constant.numeric.width.muse"
|
394
|
+
},
|
395
|
+
"2": {
|
396
|
+
"name": "storage.modifier.align.muse"
|
397
|
+
},
|
398
|
+
"3": {
|
399
|
+
"name": "storage.modifier.align.muse"
|
400
|
+
}
|
401
|
+
}
|
402
|
+
}
|
403
|
+
],
|
404
|
+
"beginCaptures": {
|
405
|
+
"1": {
|
406
|
+
"name": "punctuation.definition.link.target.begin.muse"
|
407
|
+
}
|
408
|
+
},
|
409
|
+
"endCaptures": {
|
410
|
+
"0": {
|
411
|
+
"name": "punctuation.definition.link.target.end.muse"
|
412
|
+
}
|
413
|
+
}
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"name": "meta.link.label.muse",
|
417
|
+
"contentName": "entity.name.link.label.muse",
|
418
|
+
"begin": "(?\u003c=\\])(\\[)",
|
419
|
+
"end": "\\]",
|
420
|
+
"patterns": [
|
421
|
+
{
|
422
|
+
"include": "#inline"
|
423
|
+
}
|
424
|
+
],
|
425
|
+
"beginCaptures": {
|
426
|
+
"1": {
|
427
|
+
"name": "punctuation.definition.link.label.begin.muse"
|
428
|
+
}
|
429
|
+
},
|
430
|
+
"endCaptures": {
|
431
|
+
"0": {
|
432
|
+
"name": "punctuation.definition.link.label.end.muse"
|
433
|
+
}
|
434
|
+
}
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"beginCaptures": {
|
438
|
+
"1": {
|
439
|
+
"name": "punctuation.definition.link.begin.muse"
|
440
|
+
}
|
441
|
+
},
|
442
|
+
"endCaptures": {
|
443
|
+
"0": {
|
444
|
+
"name": "punctuation.definition.link.end.muse"
|
445
|
+
}
|
446
|
+
}
|
447
|
+
},
|
448
|
+
"list": {
|
449
|
+
"name": "markup.list.muse",
|
450
|
+
"begin": "^(\\s+)(?=-|(?:\\d+|[a-z]+|[A-Z]+)\\.)",
|
451
|
+
"end": "(?=^(?!\\1)(?!\\s*$))|(?=^\\S)",
|
452
|
+
"patterns": [
|
453
|
+
{
|
454
|
+
"begin": "(?\u003c=\\S)\\s*$\\s*",
|
455
|
+
"end": "(?=^\\s*$|^(?=\\S))",
|
456
|
+
"patterns": [
|
457
|
+
{
|
458
|
+
"include": "#listInnards"
|
459
|
+
}
|
460
|
+
]
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"include": "#listInnards"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"beginCaptures": {
|
467
|
+
"1": {
|
468
|
+
"name": "punctuation.whitespace.leading.muse"
|
469
|
+
}
|
470
|
+
}
|
471
|
+
},
|
472
|
+
"listInnards": {
|
473
|
+
"patterns": [
|
474
|
+
{
|
475
|
+
"include": "#listMarker"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"include": "#term"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"include": "#inline"
|
482
|
+
}
|
483
|
+
]
|
484
|
+
},
|
485
|
+
"listMarker": {
|
486
|
+
"patterns": [
|
487
|
+
{
|
488
|
+
"match": "(?:\\G|^\\s+)(-)\\s",
|
489
|
+
"captures": {
|
490
|
+
"1": {
|
491
|
+
"name": "keyword.operator.list.unnumbered.marker.muse"
|
492
|
+
}
|
493
|
+
}
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"match": "(?:\\G|^\\s+)((?:\\d+|[a-z]+|[A-Z]+)\\.)\\s",
|
497
|
+
"captures": {
|
498
|
+
"1": {
|
499
|
+
"name": "keyword.operator.list.numbered.marker.muse"
|
500
|
+
}
|
501
|
+
}
|
502
|
+
}
|
503
|
+
]
|
504
|
+
},
|
505
|
+
"literal": {
|
506
|
+
"name": "markup.raw.literal.muse",
|
507
|
+
"begin": "(?\u003c=\\W|^)=(?=\\S)",
|
508
|
+
"end": "(?!\\G)(?\u003c=\\S)=(?=\\W|$)|(?=^[ \\t]*$)",
|
509
|
+
"beginCaptures": {
|
510
|
+
"0": {
|
511
|
+
"name": "punctuation.definition.literal.begin.muse"
|
512
|
+
}
|
513
|
+
},
|
514
|
+
"endCaptures": {
|
515
|
+
"0": {
|
516
|
+
"name": "punctuation.definition.literal.end.muse"
|
517
|
+
}
|
518
|
+
}
|
519
|
+
},
|
520
|
+
"main": {
|
521
|
+
"patterns": [
|
522
|
+
{
|
523
|
+
"include": "#comment"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"include": "#heading"
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"include": "#pageBreak"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"include": "#divider"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"include": "#anchorLine"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"include": "#term"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"include": "#list"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"include": "#verse"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"include": "#table"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"include": "#quote"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"include": "#footnote"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"include": "#inline"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"include": "#alignCentre"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"include": "#alignRight"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"include": "#alignLeft"
|
566
|
+
}
|
567
|
+
]
|
568
|
+
},
|
569
|
+
"nbsp": {
|
570
|
+
"name": "constant.character.non-breaking-space.muse",
|
571
|
+
"match": "~~"
|
572
|
+
},
|
573
|
+
"pageBreak": {
|
574
|
+
"match": "^(\\s{5})((?:\\s+\\*){5})",
|
575
|
+
"captures": {
|
576
|
+
"1": {
|
577
|
+
"name": "punctuation.whitespace.separator.muse"
|
578
|
+
},
|
579
|
+
"2": {
|
580
|
+
"name": "meta.separator.page-break.muse"
|
581
|
+
}
|
582
|
+
}
|
583
|
+
},
|
584
|
+
"quote": {
|
585
|
+
"name": "markup.quote.paragraph.muse",
|
586
|
+
"begin": "^(\\s{2,5})(?=\\S)",
|
587
|
+
"end": "^(?!\\1|\\s*$)",
|
588
|
+
"patterns": [
|
589
|
+
{
|
590
|
+
"include": "#anchor"
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"include": "#inline"
|
594
|
+
}
|
595
|
+
]
|
596
|
+
},
|
597
|
+
"table": {
|
598
|
+
"name": "markup.table.muse",
|
599
|
+
"begin": "^(?=\\s+(?:\\|\\+.*?\\+\\||\\S.*?\\s\\|{1,3}\\s+\\S))",
|
600
|
+
"end": "(?=\\s*$)",
|
601
|
+
"patterns": [
|
602
|
+
{
|
603
|
+
"name": "markup.table.caption.muse",
|
604
|
+
"match": "^\\s+(\\|\\+)(.*)(\\+\\|)",
|
605
|
+
"captures": {
|
606
|
+
"1": {
|
607
|
+
"name": "keyword.operator.caption.begin.muse"
|
608
|
+
},
|
609
|
+
"2": {
|
610
|
+
"name": "constant.other.caption.muse"
|
611
|
+
},
|
612
|
+
"3": {
|
613
|
+
"name": "keyword.operator.caption.end.muse"
|
614
|
+
}
|
615
|
+
}
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"name": "markup.table.footer.muse",
|
619
|
+
"match": "^\\s+(\\S.*?\\s\\|\\|\\|\\s.*)\\s*$",
|
620
|
+
"captures": {
|
621
|
+
"0": {
|
622
|
+
"patterns": [
|
623
|
+
{
|
624
|
+
"match": "\\s(\\|\\|\\|)\\s",
|
625
|
+
"captures": {
|
626
|
+
"1": {
|
627
|
+
"name": "keyword.operator.table.separator.muse"
|
628
|
+
}
|
629
|
+
}
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"name": "constant.other.table.footer.muse",
|
633
|
+
"match": "(?:[^|\\s]|\\s(?!\\|))+",
|
634
|
+
"captures": {
|
635
|
+
"0": {
|
636
|
+
"patterns": [
|
637
|
+
{
|
638
|
+
"include": "#inline"
|
639
|
+
}
|
640
|
+
]
|
641
|
+
}
|
642
|
+
}
|
643
|
+
}
|
644
|
+
]
|
645
|
+
}
|
646
|
+
}
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"name": "markup.table.header.muse",
|
650
|
+
"match": "^\\s+(\\S.*?\\s\\|\\|\\s.*)\\s*$",
|
651
|
+
"captures": {
|
652
|
+
"0": {
|
653
|
+
"patterns": [
|
654
|
+
{
|
655
|
+
"match": "\\s(\\|\\|)\\s",
|
656
|
+
"captures": {
|
657
|
+
"1": {
|
658
|
+
"name": "keyword.operator.table.separator.muse"
|
659
|
+
}
|
660
|
+
}
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"name": "markup.heading.table.muse",
|
664
|
+
"match": "(?:[^|\\s]|\\s(?!\\|))+",
|
665
|
+
"captures": {
|
666
|
+
"0": {
|
667
|
+
"patterns": [
|
668
|
+
{
|
669
|
+
"include": "#inline"
|
670
|
+
}
|
671
|
+
]
|
672
|
+
}
|
673
|
+
}
|
674
|
+
}
|
675
|
+
]
|
676
|
+
}
|
677
|
+
}
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"name": "markup.table.body.muse",
|
681
|
+
"match": "^\\s+(\\S.*?\\s\\|\\s.*)\\s*$",
|
682
|
+
"captures": {
|
683
|
+
"0": {
|
684
|
+
"patterns": [
|
685
|
+
{
|
686
|
+
"match": "\\s(\\|)\\s",
|
687
|
+
"captures": {
|
688
|
+
"1": {
|
689
|
+
"name": "keyword.operator.table.separator.muse"
|
690
|
+
}
|
691
|
+
}
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"name": "constant.other.table.cell.muse",
|
695
|
+
"match": "(?:[^|\\s]|\\s(?!\\|))+",
|
696
|
+
"captures": {
|
697
|
+
"0": {
|
698
|
+
"patterns": [
|
699
|
+
{
|
700
|
+
"include": "#inline"
|
701
|
+
}
|
702
|
+
]
|
703
|
+
}
|
704
|
+
}
|
705
|
+
}
|
706
|
+
]
|
707
|
+
}
|
708
|
+
}
|
709
|
+
}
|
710
|
+
]
|
711
|
+
},
|
712
|
+
"tags": {
|
713
|
+
"patterns": [
|
714
|
+
{
|
715
|
+
"name": "meta.tag.br.muse",
|
716
|
+
"match": "(\u003c)br(\u003e)",
|
717
|
+
"captures": {
|
718
|
+
"0": {
|
719
|
+
"name": "entity.name.tag.br.muse"
|
720
|
+
},
|
721
|
+
"1": {
|
722
|
+
"name": "punctuation.definition.tag.begin.muse"
|
723
|
+
},
|
724
|
+
"3": {
|
725
|
+
"name": "punctuation.definition.tag.end.muse"
|
726
|
+
}
|
727
|
+
}
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"name": "meta.tag.$2.muse",
|
731
|
+
"contentName": "meta.paragraph.align.$2.muse",
|
732
|
+
"begin": "(\u003c)(center|right)(\u003e)",
|
733
|
+
"end": "(\u003c/)\\2(\u003e)",
|
734
|
+
"patterns": [
|
735
|
+
{
|
736
|
+
"include": "#inline"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"beginCaptures": {
|
740
|
+
"0": {
|
741
|
+
"name": "entity.name.tag.$2.muse"
|
742
|
+
},
|
743
|
+
"1": {
|
744
|
+
"name": "punctuation.definition.tag.begin.muse"
|
745
|
+
},
|
746
|
+
"3": {
|
747
|
+
"name": "punctuation.definition.tag.end.muse"
|
748
|
+
}
|
749
|
+
},
|
750
|
+
"endCaptures": {
|
751
|
+
"0": {
|
752
|
+
"name": "entity.name.tag.$2.muse"
|
753
|
+
},
|
754
|
+
"1": {
|
755
|
+
"name": "punctuation.definition.tag.begin.muse"
|
756
|
+
},
|
757
|
+
"3": {
|
758
|
+
"name": "punctuation.definition.tag.end.muse"
|
759
|
+
}
|
760
|
+
}
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"name": "meta.tag.$2.muse",
|
764
|
+
"contentName": "markup.raw.code.muse",
|
765
|
+
"begin": "(\u003c)(code|example|verbatim)(\u003e)",
|
766
|
+
"end": "(\u003c/)\\2(\u003e)",
|
767
|
+
"beginCaptures": {
|
768
|
+
"0": {
|
769
|
+
"name": "entity.name.tag.$2.muse"
|
770
|
+
},
|
771
|
+
"1": {
|
772
|
+
"name": "punctuation.definition.tag.begin.muse"
|
773
|
+
},
|
774
|
+
"3": {
|
775
|
+
"name": "punctuation.definition.tag.end.muse"
|
776
|
+
}
|
777
|
+
},
|
778
|
+
"endCaptures": {
|
779
|
+
"0": {
|
780
|
+
"name": "entity.name.tag.$2.muse"
|
781
|
+
},
|
782
|
+
"1": {
|
783
|
+
"name": "punctuation.definition.tag.begin.muse"
|
784
|
+
},
|
785
|
+
"3": {
|
786
|
+
"name": "punctuation.definition.tag.end.muse"
|
787
|
+
}
|
788
|
+
}
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"name": "meta.tag.comment-block.muse",
|
792
|
+
"contentName": "comment.block.muse",
|
793
|
+
"begin": "(\u003c)comment(\u003e)",
|
794
|
+
"end": "(\u003c/)comment(\u003e)",
|
795
|
+
"beginCaptures": {
|
796
|
+
"0": {
|
797
|
+
"name": "entity.name.tag.comments.muse"
|
798
|
+
},
|
799
|
+
"1": {
|
800
|
+
"name": "punctuation.definition.tag.begin.muse"
|
801
|
+
},
|
802
|
+
"2": {
|
803
|
+
"name": "punctuation.definition.tag.end.muse"
|
804
|
+
}
|
805
|
+
},
|
806
|
+
"endCaptures": {
|
807
|
+
"0": {
|
808
|
+
"name": "entity.name.tag.comments.muse"
|
809
|
+
},
|
810
|
+
"1": {
|
811
|
+
"name": "punctuation.definition.tag.begin.muse"
|
812
|
+
},
|
813
|
+
"2": {
|
814
|
+
"name": "punctuation.definition.tag.end.muse"
|
815
|
+
}
|
816
|
+
}
|
817
|
+
},
|
818
|
+
{
|
819
|
+
"name": "meta.tag.em.muse",
|
820
|
+
"contentName": "markup.italic.emphasis.muse",
|
821
|
+
"begin": "(\u003c)em(\u003e)",
|
822
|
+
"end": "(\u003c/)em(\u003e)",
|
823
|
+
"patterns": [
|
824
|
+
{
|
825
|
+
"include": "#inline"
|
826
|
+
}
|
827
|
+
],
|
828
|
+
"beginCaptures": {
|
829
|
+
"0": {
|
830
|
+
"name": "entity.name.tag.em.muse"
|
831
|
+
},
|
832
|
+
"1": {
|
833
|
+
"name": "punctuation.definition.tag.begin.muse"
|
834
|
+
},
|
835
|
+
"2": {
|
836
|
+
"name": "punctuation.definition.tag.end.muse"
|
837
|
+
}
|
838
|
+
},
|
839
|
+
"endCaptures": {
|
840
|
+
"0": {
|
841
|
+
"name": "entity.name.tag.em.muse"
|
842
|
+
},
|
843
|
+
"1": {
|
844
|
+
"name": "punctuation.definition.tag.begin.muse"
|
845
|
+
},
|
846
|
+
"2": {
|
847
|
+
"name": "punctuation.definition.tag.end.muse"
|
848
|
+
}
|
849
|
+
}
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"name": "meta.tag.strong.muse",
|
853
|
+
"contentName": "markup.bold.strong.emphasis.muse",
|
854
|
+
"begin": "(\u003c)strong(\u003e)",
|
855
|
+
"end": "(\u003c/)strong(\u003e)",
|
856
|
+
"patterns": [
|
857
|
+
{
|
858
|
+
"include": "#inline"
|
859
|
+
}
|
860
|
+
],
|
861
|
+
"beginCaptures": {
|
862
|
+
"0": {
|
863
|
+
"name": "entity.name.tag.strong.muse"
|
864
|
+
},
|
865
|
+
"1": {
|
866
|
+
"name": "punctuation.definition.tag.begin.muse"
|
867
|
+
},
|
868
|
+
"2": {
|
869
|
+
"name": "punctuation.definition.tag.end.muse"
|
870
|
+
}
|
871
|
+
},
|
872
|
+
"endCaptures": {
|
873
|
+
"0": {
|
874
|
+
"name": "entity.name.tag.strong.muse"
|
875
|
+
},
|
876
|
+
"1": {
|
877
|
+
"name": "punctuation.definition.tag.begin.muse"
|
878
|
+
},
|
879
|
+
"2": {
|
880
|
+
"name": "punctuation.definition.tag.end.muse"
|
881
|
+
}
|
882
|
+
}
|
883
|
+
},
|
884
|
+
{
|
885
|
+
"name": "meta.tag.del.muse",
|
886
|
+
"contentName": "markup.deleted.muse",
|
887
|
+
"begin": "(\u003c)del(\u003e)",
|
888
|
+
"end": "(\u003c/)del(\u003e)",
|
889
|
+
"patterns": [
|
890
|
+
{
|
891
|
+
"include": "#inline"
|
892
|
+
}
|
893
|
+
],
|
894
|
+
"beginCaptures": {
|
895
|
+
"0": {
|
896
|
+
"name": "entity.name.tag.del.muse"
|
897
|
+
},
|
898
|
+
"1": {
|
899
|
+
"name": "punctuation.definition.tag.begin.muse"
|
900
|
+
},
|
901
|
+
"2": {
|
902
|
+
"name": "punctuation.definition.tag.end.muse"
|
903
|
+
}
|
904
|
+
},
|
905
|
+
"endCaptures": {
|
906
|
+
"0": {
|
907
|
+
"name": "entity.name.tag.del.muse"
|
908
|
+
},
|
909
|
+
"1": {
|
910
|
+
"name": "punctuation.definition.tag.begin.muse"
|
911
|
+
},
|
912
|
+
"2": {
|
913
|
+
"name": "punctuation.definition.tag.end.muse"
|
914
|
+
}
|
915
|
+
}
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"name": "meta.tag.sup.muse",
|
919
|
+
"contentName": "markup.superscript.muse",
|
920
|
+
"begin": "(\u003c)sup(\u003e)",
|
921
|
+
"end": "(\u003c/)sup(\u003e)",
|
922
|
+
"patterns": [
|
923
|
+
{
|
924
|
+
"include": "#inline"
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"beginCaptures": {
|
928
|
+
"0": {
|
929
|
+
"name": "entity.name.tag.sup.muse"
|
930
|
+
},
|
931
|
+
"1": {
|
932
|
+
"name": "punctuation.definition.tag.begin.muse"
|
933
|
+
},
|
934
|
+
"2": {
|
935
|
+
"name": "punctuation.definition.tag.end.muse"
|
936
|
+
}
|
937
|
+
},
|
938
|
+
"endCaptures": {
|
939
|
+
"0": {
|
940
|
+
"name": "entity.name.tag.sup.muse"
|
941
|
+
},
|
942
|
+
"1": {
|
943
|
+
"name": "punctuation.definition.tag.begin.muse"
|
944
|
+
},
|
945
|
+
"2": {
|
946
|
+
"name": "punctuation.definition.tag.end.muse"
|
947
|
+
}
|
948
|
+
}
|
949
|
+
},
|
950
|
+
{
|
951
|
+
"name": "meta.tag.sub.muse",
|
952
|
+
"contentName": "markup.subscript.muse",
|
953
|
+
"begin": "(\u003c)sub(\u003e)",
|
954
|
+
"end": "(\u003c/)sub(\u003e)",
|
955
|
+
"patterns": [
|
956
|
+
{
|
957
|
+
"include": "#inline"
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"beginCaptures": {
|
961
|
+
"0": {
|
962
|
+
"name": "entity.name.tag.sub.muse"
|
963
|
+
},
|
964
|
+
"1": {
|
965
|
+
"name": "punctuation.definition.tag.begin.muse"
|
966
|
+
},
|
967
|
+
"2": {
|
968
|
+
"name": "punctuation.definition.tag.end.muse"
|
969
|
+
}
|
970
|
+
},
|
971
|
+
"endCaptures": {
|
972
|
+
"0": {
|
973
|
+
"name": "entity.name.tag.sub.muse"
|
974
|
+
},
|
975
|
+
"1": {
|
976
|
+
"name": "punctuation.definition.tag.begin.muse"
|
977
|
+
},
|
978
|
+
"2": {
|
979
|
+
"name": "punctuation.definition.tag.end.muse"
|
980
|
+
}
|
981
|
+
}
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"name": "meta.tag.verse.muse",
|
985
|
+
"contentName": "markup.quote.verse.muse",
|
986
|
+
"begin": "^\\s*((\u003c)verse(\u003e))",
|
987
|
+
"end": "(\u003c/)verse(\u003e)",
|
988
|
+
"patterns": [
|
989
|
+
{
|
990
|
+
"include": "#inline"
|
991
|
+
}
|
992
|
+
],
|
993
|
+
"beginCaptures": {
|
994
|
+
"1": {
|
995
|
+
"name": "entity.name.tag.verse.muse"
|
996
|
+
},
|
997
|
+
"2": {
|
998
|
+
"name": "punctuation.definition.tag.begin.muse"
|
999
|
+
},
|
1000
|
+
"3": {
|
1001
|
+
"name": "punctuation.definition.tag.end.muse"
|
1002
|
+
}
|
1003
|
+
},
|
1004
|
+
"endCaptures": {
|
1005
|
+
"0": {
|
1006
|
+
"name": "entity.name.tag.verse.muse"
|
1007
|
+
},
|
1008
|
+
"1": {
|
1009
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1010
|
+
},
|
1011
|
+
"2": {
|
1012
|
+
"name": "punctuation.definition.tag.end.muse"
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
},
|
1016
|
+
{
|
1017
|
+
"name": "meta.tag.biblio.muse",
|
1018
|
+
"contentName": "meta.citation.muse",
|
1019
|
+
"begin": "^\\s*((\u003c)biblio(\u003e))",
|
1020
|
+
"end": "(\u003c/)biblio(\u003e)",
|
1021
|
+
"patterns": [
|
1022
|
+
{
|
1023
|
+
"include": "#inline"
|
1024
|
+
}
|
1025
|
+
],
|
1026
|
+
"beginCaptures": {
|
1027
|
+
"1": {
|
1028
|
+
"name": "entity.name.tag.biblio.muse"
|
1029
|
+
},
|
1030
|
+
"2": {
|
1031
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1032
|
+
},
|
1033
|
+
"3": {
|
1034
|
+
"name": "punctuation.definition.tag.end.muse"
|
1035
|
+
}
|
1036
|
+
},
|
1037
|
+
"endCaptures": {
|
1038
|
+
"0": {
|
1039
|
+
"name": "entity.name.tag.biblio.muse"
|
1040
|
+
},
|
1041
|
+
"1": {
|
1042
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1043
|
+
},
|
1044
|
+
"2": {
|
1045
|
+
"name": "punctuation.definition.tag.end.muse"
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
},
|
1049
|
+
{
|
1050
|
+
"name": "meta.tag.play.muse",
|
1051
|
+
"contentName": "meta.play.muse",
|
1052
|
+
"begin": "^\\s*((\u003c)play(\u003e))",
|
1053
|
+
"end": "(\u003c/)play(\u003e)",
|
1054
|
+
"patterns": [
|
1055
|
+
{
|
1056
|
+
"include": "#inline"
|
1057
|
+
}
|
1058
|
+
],
|
1059
|
+
"beginCaptures": {
|
1060
|
+
"1": {
|
1061
|
+
"name": "entity.name.tag.play.muse"
|
1062
|
+
},
|
1063
|
+
"2": {
|
1064
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1065
|
+
},
|
1066
|
+
"3": {
|
1067
|
+
"name": "punctuation.definition.tag.end.muse"
|
1068
|
+
}
|
1069
|
+
},
|
1070
|
+
"endCaptures": {
|
1071
|
+
"0": {
|
1072
|
+
"name": "entity.name.tag.play.muse"
|
1073
|
+
},
|
1074
|
+
"1": {
|
1075
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1076
|
+
},
|
1077
|
+
"2": {
|
1078
|
+
"name": "punctuation.definition.tag.end.muse"
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
"name": "meta.tag.quote.muse",
|
1084
|
+
"contentName": "markup.quote.block.muse",
|
1085
|
+
"begin": "^\\s*((\u003c)quote(\u003e))",
|
1086
|
+
"end": "(\u003c/)quote(\u003e)",
|
1087
|
+
"patterns": [
|
1088
|
+
{
|
1089
|
+
"include": "#inline"
|
1090
|
+
}
|
1091
|
+
],
|
1092
|
+
"beginCaptures": {
|
1093
|
+
"1": {
|
1094
|
+
"name": "entity.name.tag.quote.muse"
|
1095
|
+
},
|
1096
|
+
"2": {
|
1097
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1098
|
+
},
|
1099
|
+
"3": {
|
1100
|
+
"name": "punctuation.definition.tag.end.muse"
|
1101
|
+
}
|
1102
|
+
},
|
1103
|
+
"endCaptures": {
|
1104
|
+
"0": {
|
1105
|
+
"name": "entity.name.tag.quote.muse"
|
1106
|
+
},
|
1107
|
+
"1": {
|
1108
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1109
|
+
},
|
1110
|
+
"2": {
|
1111
|
+
"name": "punctuation.definition.tag.end.muse"
|
1112
|
+
}
|
1113
|
+
}
|
1114
|
+
},
|
1115
|
+
{
|
1116
|
+
"include": "#unprocessed"
|
1117
|
+
}
|
1118
|
+
]
|
1119
|
+
},
|
1120
|
+
"term": {
|
1121
|
+
"match": "^\\s+(\\S.*?)\\s+(::)\\s+",
|
1122
|
+
"captures": {
|
1123
|
+
"1": {
|
1124
|
+
"name": "entity.name.term.muse"
|
1125
|
+
},
|
1126
|
+
"2": {
|
1127
|
+
"name": "keyword.operator.key-value.separator.muse"
|
1128
|
+
}
|
1129
|
+
}
|
1130
|
+
},
|
1131
|
+
"underline": {
|
1132
|
+
"name": "constant.other.reference.link.muse",
|
1133
|
+
"begin": "(?\u003c=\\W|^)_(?=[^\\s_])",
|
1134
|
+
"end": "(?\u003c=[^\\s_])_(?=\\W|$)|(?=^[ \\t]*$)",
|
1135
|
+
"patterns": [
|
1136
|
+
{
|
1137
|
+
"include": "#inline"
|
1138
|
+
}
|
1139
|
+
],
|
1140
|
+
"beginCaptures": {
|
1141
|
+
"0": {
|
1142
|
+
"name": "punctuation.definition.emphasis.begin.muse"
|
1143
|
+
}
|
1144
|
+
},
|
1145
|
+
"endCaptures": {
|
1146
|
+
"0": {
|
1147
|
+
"name": "punctuation.definition.emphasis.end.muse"
|
1148
|
+
}
|
1149
|
+
}
|
1150
|
+
},
|
1151
|
+
"unprocessed": {
|
1152
|
+
"patterns": [
|
1153
|
+
{
|
1154
|
+
"include": "#unprocessedLatex"
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"include": "#unprocessedHTML"
|
1158
|
+
},
|
1159
|
+
{
|
1160
|
+
"include": "#unprocessedXML"
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"include": "#unprocessedTexinfo"
|
1164
|
+
},
|
1165
|
+
{
|
1166
|
+
"include": "#unprocessedDefault"
|
1167
|
+
}
|
1168
|
+
]
|
1169
|
+
},
|
1170
|
+
"unprocessedDefault": {
|
1171
|
+
"name": "meta.unprocessed.$8-output.muse",
|
1172
|
+
"contentName": "markup.raw.code.muse",
|
1173
|
+
"begin": "^\\s*((\u003c)literal(?:\\s+((style)\\s*(=)\\s*((\"|'|\\b)([^\u003e\\s]+)(\\7))))?\\s*(\u003e))",
|
1174
|
+
"end": "(\u003c/)literal(\u003e)",
|
1175
|
+
"beginCaptures": {
|
1176
|
+
"0": {
|
1177
|
+
"name": "meta.tag.literal.muse"
|
1178
|
+
},
|
1179
|
+
"1": {
|
1180
|
+
"name": "entity.name.tag.literal.muse"
|
1181
|
+
},
|
1182
|
+
"10": {
|
1183
|
+
"name": "punctuation.definition.tag.end.muse"
|
1184
|
+
},
|
1185
|
+
"2": {
|
1186
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1187
|
+
},
|
1188
|
+
"3": {
|
1189
|
+
"name": "meta.attribute-with-value.style.muse"
|
1190
|
+
},
|
1191
|
+
"4": {
|
1192
|
+
"name": "entity.other.attribute-name.style.muse"
|
1193
|
+
},
|
1194
|
+
"5": {
|
1195
|
+
"name": "punctuation.separator.key-value.muse"
|
1196
|
+
},
|
1197
|
+
"6": {
|
1198
|
+
"name": "string.quoted.muse"
|
1199
|
+
},
|
1200
|
+
"7": {
|
1201
|
+
"name": "punctuation.definition.string.begin.muse"
|
1202
|
+
},
|
1203
|
+
"9": {
|
1204
|
+
"name": "punctuation.definition.string.end.muse"
|
1205
|
+
}
|
1206
|
+
},
|
1207
|
+
"endCaptures": {
|
1208
|
+
"0": {
|
1209
|
+
"name": "entity.name.tag.literal.muse"
|
1210
|
+
},
|
1211
|
+
"1": {
|
1212
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1213
|
+
},
|
1214
|
+
"2": {
|
1215
|
+
"name": "punctuation.definition.tag.end.muse"
|
1216
|
+
}
|
1217
|
+
}
|
1218
|
+
},
|
1219
|
+
"unprocessedHTML": {
|
1220
|
+
"name": "meta.unprocessed.$8-output.muse",
|
1221
|
+
"contentName": "text.embedded.html.basic",
|
1222
|
+
"begin": "(?x) ^\\s* (\n\t(\u003c) literal \\s+\n\t(\n\t\t(style) \\s* (=) \\s*\n\t\t(\n\t\t\t(\"|'|\\b)\n\t\t\t( blosxom-html\n\t\t\t| blosxom-xhtml\n\t\t\t| journal-html\n\t\t\t| html\n\t\t\t| xhtml\n\t\t\t) (\\7)\n\t\t)\n\t) \\s* (\u003e)\n)",
|
1223
|
+
"end": "(\u003c/)literal(\u003e)",
|
1224
|
+
"patterns": [
|
1225
|
+
{
|
1226
|
+
"include": "text.html.basic"
|
1227
|
+
}
|
1228
|
+
],
|
1229
|
+
"beginCaptures": {
|
1230
|
+
"0": {
|
1231
|
+
"name": "meta.tag.literal.muse"
|
1232
|
+
},
|
1233
|
+
"1": {
|
1234
|
+
"name": "entity.name.tag.literal.muse"
|
1235
|
+
},
|
1236
|
+
"10": {
|
1237
|
+
"name": "punctuation.definition.tag.end.muse"
|
1238
|
+
},
|
1239
|
+
"2": {
|
1240
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1241
|
+
},
|
1242
|
+
"3": {
|
1243
|
+
"name": "meta.attribute-with-value.style.muse"
|
1244
|
+
},
|
1245
|
+
"4": {
|
1246
|
+
"name": "entity.other.attribute-name.style.muse"
|
1247
|
+
},
|
1248
|
+
"5": {
|
1249
|
+
"name": "punctuation.separator.key-value.muse"
|
1250
|
+
},
|
1251
|
+
"6": {
|
1252
|
+
"name": "string.quoted.muse"
|
1253
|
+
},
|
1254
|
+
"7": {
|
1255
|
+
"name": "punctuation.definition.string.begin.muse"
|
1256
|
+
},
|
1257
|
+
"9": {
|
1258
|
+
"name": "punctuation.definition.string.end.muse"
|
1259
|
+
}
|
1260
|
+
},
|
1261
|
+
"endCaptures": {
|
1262
|
+
"0": {
|
1263
|
+
"name": "entity.name.tag.literal.muse"
|
1264
|
+
},
|
1265
|
+
"1": {
|
1266
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1267
|
+
},
|
1268
|
+
"2": {
|
1269
|
+
"name": "punctuation.definition.tag.end.muse"
|
1270
|
+
}
|
1271
|
+
}
|
1272
|
+
},
|
1273
|
+
"unprocessedLatex": {
|
1274
|
+
"name": "meta.unprocessed.$8-output.muse",
|
1275
|
+
"contentName": "text.embedded.latex",
|
1276
|
+
"begin": "(?x) ^\\s* (\n\t(\u003c) literal \\s+\n\t(\n\t\t(style) \\s* (=) \\s*\n\t\t(\n\t\t\t(\"|'|\\b)\n\t\t\t( book-latex\n\t\t\t| book-pdf\n\t\t\t| chapbook-latex\n\t\t\t| chapbook-pdf\n\t\t\t| context-pdf\n\t\t\t| context-slides-pdf\n\t\t\t| context-slides\n\t\t\t| context\n\t\t\t| journal-book-latex\n\t\t\t| journal-book-pdf\n\t\t\t| journal-latex\n\t\t\t| journal-pdf\n\t\t\t| journal-xhtml\n\t\t\t| latexcjk\n\t\t\t| latex\n\t\t\t| lecture-notes-pdf\n\t\t\t| lecture-notes\n\t\t\t| pdfcjk\n\t\t\t| pdf\n\t\t\t| poem-latex\n\t\t\t| poem-pdf\n\t\t\t| slides-pdf\n\t\t\t| slides\n\t\t\t) (\\7)\n\t\t)\n\t) \\s* (\u003e)\n)",
|
1277
|
+
"end": "(\u003c/)literal(\u003e)",
|
1278
|
+
"patterns": [
|
1279
|
+
{
|
1280
|
+
"include": "text.tex.latex"
|
1281
|
+
}
|
1282
|
+
],
|
1283
|
+
"beginCaptures": {
|
1284
|
+
"0": {
|
1285
|
+
"name": "meta.tag.literal.muse"
|
1286
|
+
},
|
1287
|
+
"1": {
|
1288
|
+
"name": "entity.name.tag.literal.muse"
|
1289
|
+
},
|
1290
|
+
"10": {
|
1291
|
+
"name": "punctuation.definition.tag.end.muse"
|
1292
|
+
},
|
1293
|
+
"2": {
|
1294
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1295
|
+
},
|
1296
|
+
"3": {
|
1297
|
+
"name": "meta.attribute-with-value.style.muse"
|
1298
|
+
},
|
1299
|
+
"4": {
|
1300
|
+
"name": "entity.other.attribute-name.style.muse"
|
1301
|
+
},
|
1302
|
+
"5": {
|
1303
|
+
"name": "punctuation.separator.key-value.muse"
|
1304
|
+
},
|
1305
|
+
"6": {
|
1306
|
+
"name": "string.quoted.muse"
|
1307
|
+
},
|
1308
|
+
"7": {
|
1309
|
+
"name": "punctuation.definition.string.begin.muse"
|
1310
|
+
},
|
1311
|
+
"9": {
|
1312
|
+
"name": "punctuation.definition.string.end.muse"
|
1313
|
+
}
|
1314
|
+
},
|
1315
|
+
"endCaptures": {
|
1316
|
+
"0": {
|
1317
|
+
"name": "entity.name.tag.literal.muse"
|
1318
|
+
},
|
1319
|
+
"1": {
|
1320
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1321
|
+
},
|
1322
|
+
"2": {
|
1323
|
+
"name": "punctuation.definition.tag.end.muse"
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
},
|
1327
|
+
"unprocessedTexinfo": {
|
1328
|
+
"name": "meta.unprocessed.$8-output.muse",
|
1329
|
+
"contentName": "text.embedded.texinfo",
|
1330
|
+
"begin": "(?x) ^\\s* (\n\t(\u003c) literal \\s+\n\t(\n\t\t(style) \\s* (=) \\s*\n\t\t(\n\t\t\t(\"|'|\\b)\n\t\t\t( info-pdf\n\t\t\t| info\n\t\t\t| texi\n\t\t\t) (\\7)\n\t\t)\n\t) \\s* (\u003e)\n)",
|
1331
|
+
"end": "(\u003c/)literal(\u003e)",
|
1332
|
+
"patterns": [
|
1333
|
+
{
|
1334
|
+
"include": "text.texinfo"
|
1335
|
+
}
|
1336
|
+
],
|
1337
|
+
"beginCaptures": {
|
1338
|
+
"0": {
|
1339
|
+
"name": "meta.tag.literal.muse"
|
1340
|
+
},
|
1341
|
+
"1": {
|
1342
|
+
"name": "entity.name.tag.literal.muse"
|
1343
|
+
},
|
1344
|
+
"10": {
|
1345
|
+
"name": "punctuation.definition.tag.end.muse"
|
1346
|
+
},
|
1347
|
+
"2": {
|
1348
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1349
|
+
},
|
1350
|
+
"3": {
|
1351
|
+
"name": "meta.attribute-with-value.style.muse"
|
1352
|
+
},
|
1353
|
+
"4": {
|
1354
|
+
"name": "entity.other.attribute-name.style.muse"
|
1355
|
+
},
|
1356
|
+
"5": {
|
1357
|
+
"name": "punctuation.separator.key-value.muse"
|
1358
|
+
},
|
1359
|
+
"6": {
|
1360
|
+
"name": "string.quoted.muse"
|
1361
|
+
},
|
1362
|
+
"7": {
|
1363
|
+
"name": "punctuation.definition.string.begin.muse"
|
1364
|
+
},
|
1365
|
+
"9": {
|
1366
|
+
"name": "punctuation.definition.string.end.muse"
|
1367
|
+
}
|
1368
|
+
},
|
1369
|
+
"endCaptures": {
|
1370
|
+
"0": {
|
1371
|
+
"name": "entity.name.tag.literal.muse"
|
1372
|
+
},
|
1373
|
+
"1": {
|
1374
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1375
|
+
},
|
1376
|
+
"2": {
|
1377
|
+
"name": "punctuation.definition.tag.end.muse"
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
},
|
1381
|
+
"unprocessedXML": {
|
1382
|
+
"name": "meta.unprocessed.$8-output.muse",
|
1383
|
+
"contentName": "text.embedded.xml",
|
1384
|
+
"begin": "(?x) ^\\s* (\n\t(\u003c) literal \\s+\n\t(\n\t\t(style) \\s* (=) \\s*\n\t\t(\n\t\t\t(\"|'|\\b)\n\t\t\t( docbook\n\t\t\t| journal-rdf\n\t\t\t| journal-rss-entry\n\t\t\t| journal-rss\n\t\t\t| xml\n\t\t\t) (\\7)\n\t\t)\n\t) \\s* (\u003e)\n)",
|
1385
|
+
"end": "(\u003c/)literal(\u003e)",
|
1386
|
+
"patterns": [
|
1387
|
+
{
|
1388
|
+
"include": "text.xml"
|
1389
|
+
}
|
1390
|
+
],
|
1391
|
+
"beginCaptures": {
|
1392
|
+
"0": {
|
1393
|
+
"name": "meta.tag.literal.muse"
|
1394
|
+
},
|
1395
|
+
"1": {
|
1396
|
+
"name": "entity.name.tag.literal.muse"
|
1397
|
+
},
|
1398
|
+
"10": {
|
1399
|
+
"name": "punctuation.definition.tag.end.muse"
|
1400
|
+
},
|
1401
|
+
"2": {
|
1402
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1403
|
+
},
|
1404
|
+
"3": {
|
1405
|
+
"name": "meta.attribute-with-value.style.muse"
|
1406
|
+
},
|
1407
|
+
"4": {
|
1408
|
+
"name": "entity.other.attribute-name.style.muse"
|
1409
|
+
},
|
1410
|
+
"5": {
|
1411
|
+
"name": "punctuation.separator.key-value.muse"
|
1412
|
+
},
|
1413
|
+
"6": {
|
1414
|
+
"name": "string.quoted.muse"
|
1415
|
+
},
|
1416
|
+
"7": {
|
1417
|
+
"name": "punctuation.definition.string.begin.muse"
|
1418
|
+
},
|
1419
|
+
"9": {
|
1420
|
+
"name": "punctuation.definition.string.end.muse"
|
1421
|
+
}
|
1422
|
+
},
|
1423
|
+
"endCaptures": {
|
1424
|
+
"0": {
|
1425
|
+
"name": "entity.name.tag.literal.muse"
|
1426
|
+
},
|
1427
|
+
"1": {
|
1428
|
+
"name": "punctuation.definition.tag.begin.muse"
|
1429
|
+
},
|
1430
|
+
"2": {
|
1431
|
+
"name": "punctuation.definition.tag.end.muse"
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
},
|
1435
|
+
"verse": {
|
1436
|
+
"name": "markup.quote.verse.muse",
|
1437
|
+
"begin": "^(\\s*)(\u003e)(\\s)",
|
1438
|
+
"end": "^(?!\\1\\2\\3)",
|
1439
|
+
"patterns": [
|
1440
|
+
{
|
1441
|
+
"match": "^(\\s*)(\u003e)(\\s)",
|
1442
|
+
"captures": {
|
1443
|
+
"1": {
|
1444
|
+
"name": "punctuation.whitespace.leading.muse"
|
1445
|
+
},
|
1446
|
+
"2": {
|
1447
|
+
"name": "keyword.operator.verse-line.muse"
|
1448
|
+
},
|
1449
|
+
"3": {
|
1450
|
+
"name": "punctuation.whitespace.separator.muse"
|
1451
|
+
}
|
1452
|
+
}
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"include": "#inline"
|
1456
|
+
}
|
1457
|
+
],
|
1458
|
+
"beginCaptures": {
|
1459
|
+
"1": {
|
1460
|
+
"name": "punctuation.whitespace.leading.muse"
|
1461
|
+
},
|
1462
|
+
"2": {
|
1463
|
+
"name": "keyword.operator.verse-line.muse"
|
1464
|
+
},
|
1465
|
+
"3": {
|
1466
|
+
"name": "punctuation.whitespace.separator.muse"
|
1467
|
+
}
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
}
|