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
@@ -1,324 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "YAML-ext",
|
3
|
-
"scopeName": "source.yaml-ext",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#erb"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "string.unquoted.block.yaml-ext",
|
10
|
-
"begin": "^(\\s*)(?!-\\s*)(\\S+\\s*(:))\\s*(\\||\u003e)",
|
11
|
-
"end": "^(?!\\1\\s+)(?=\\s*(-|\\S+\\s*:|#))",
|
12
|
-
"patterns": [
|
13
|
-
{
|
14
|
-
"include": "#erb"
|
15
|
-
}
|
16
|
-
],
|
17
|
-
"beginCaptures": {
|
18
|
-
"2": {
|
19
|
-
"name": "entity.name.tag.yaml-ext"
|
20
|
-
},
|
21
|
-
"3": {
|
22
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "string.unquoted.block.yaml-ext",
|
28
|
-
"begin": "^(\\s*)(?:(-)|(?:(-(\\s*))?(\\S+\\s*(:))))\\s*(\\||\u003e)",
|
29
|
-
"end": "^(?!\\1 \\4\\s+)(?=\\s*(-|\\S+\\s*:|#))",
|
30
|
-
"patterns": [
|
31
|
-
{
|
32
|
-
"include": "#erb"
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"beginCaptures": {
|
36
|
-
"2": {
|
37
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
38
|
-
},
|
39
|
-
"3": {
|
40
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
41
|
-
},
|
42
|
-
"5": {
|
43
|
-
"name": "entity.name.tag.yaml-ext"
|
44
|
-
},
|
45
|
-
"6": {
|
46
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
47
|
-
}
|
48
|
-
}
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "constant.numeric.yaml-ext",
|
52
|
-
"match": "(?:(?:(-\\s*)?([^\\s#].*?(:)(?=\\s)))|(-))\\s*((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\s*($|(?=#)(?!#\\{))",
|
53
|
-
"captures": {
|
54
|
-
"1": {
|
55
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
56
|
-
},
|
57
|
-
"2": {
|
58
|
-
"name": "entity.name.tag.yaml-ext"
|
59
|
-
},
|
60
|
-
"3": {
|
61
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
62
|
-
},
|
63
|
-
"4": {
|
64
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
65
|
-
}
|
66
|
-
}
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "string.unquoted.yaml-ext",
|
70
|
-
"begin": "(?:(?:(-\\s*)?([^\\s#].*?(:)(?=\\s)))|(-))[ \t]*",
|
71
|
-
"end": "$|(?=#)(?!#\\{)",
|
72
|
-
"patterns": [
|
73
|
-
{
|
74
|
-
"name": "string.unquoted.yaml-ext",
|
75
|
-
"match": "\\!\\s*"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"include": "#double_quoted_string"
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"include": "#single_quoted_string"
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"name": "string.unquoted.yaml-ext",
|
85
|
-
"match": "[^\"'#\\n]([^#\\n]|((?\u003c!\\s)#))*"
|
86
|
-
}
|
87
|
-
],
|
88
|
-
"beginCaptures": {
|
89
|
-
"1": {
|
90
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
91
|
-
},
|
92
|
-
"2": {
|
93
|
-
"name": "entity.name.tag.yaml-ext"
|
94
|
-
},
|
95
|
-
"3": {
|
96
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
97
|
-
},
|
98
|
-
"4": {
|
99
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
100
|
-
}
|
101
|
-
}
|
102
|
-
},
|
103
|
-
{
|
104
|
-
"name": "constant.other.date.yaml-ext",
|
105
|
-
"match": "(?:(?:(-\\s*)?(\\w+\\s*(:)))|(-))\\s*([0-9]{4}-[0-9]{2}-[0-9]{2})\\s*($|(?=#)(?!#\\{))",
|
106
|
-
"captures": {
|
107
|
-
"1": {
|
108
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
109
|
-
},
|
110
|
-
"2": {
|
111
|
-
"name": "entity.name.tag.yaml-ext"
|
112
|
-
},
|
113
|
-
"3": {
|
114
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
115
|
-
},
|
116
|
-
"4": {
|
117
|
-
"name": "punctuation.definition.entry.yaml-ext"
|
118
|
-
}
|
119
|
-
}
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"name": "meta.tag.yaml-ext",
|
123
|
-
"match": "(\\w.*?)(:)\\s*((\\!\\!)omap)?",
|
124
|
-
"captures": {
|
125
|
-
"1": {
|
126
|
-
"name": "entity.name.tag.yaml-ext"
|
127
|
-
},
|
128
|
-
"2": {
|
129
|
-
"name": "punctuation.separator.key-value.yaml-ext"
|
130
|
-
},
|
131
|
-
"3": {
|
132
|
-
"name": "keyword.other.omap.yaml-ext"
|
133
|
-
},
|
134
|
-
"4": {
|
135
|
-
"name": "punctuation.definition.keyword.yaml-ext"
|
136
|
-
}
|
137
|
-
}
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"name": "variable.other.yaml-ext",
|
141
|
-
"match": "(\\\u0026|\\*)\\w.*?$",
|
142
|
-
"captures": {
|
143
|
-
"1": {
|
144
|
-
"name": "punctuation.definition.variable.yaml-ext"
|
145
|
-
}
|
146
|
-
}
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"include": "#double_quoted_string"
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"include": "#single_quoted_string"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"name": "string.interpolated.yaml-ext",
|
156
|
-
"begin": "`",
|
157
|
-
"end": "`",
|
158
|
-
"patterns": [
|
159
|
-
{
|
160
|
-
"include": "#escaped_char"
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"include": "#erb"
|
164
|
-
}
|
165
|
-
],
|
166
|
-
"beginCaptures": {
|
167
|
-
"0": {
|
168
|
-
"name": "punctuation.definition.string.begin.yaml-ext"
|
169
|
-
}
|
170
|
-
},
|
171
|
-
"endCaptures": {
|
172
|
-
"0": {
|
173
|
-
"name": "punctuation.definition.string.end.yaml-ext"
|
174
|
-
}
|
175
|
-
}
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"name": "keyword.operator.merge-key.yaml-ext",
|
179
|
-
"match": "(\\\u003c\\\u003c): ((\\*).*)$",
|
180
|
-
"captures": {
|
181
|
-
"1": {
|
182
|
-
"name": "entity.name.tag.yaml-ext"
|
183
|
-
},
|
184
|
-
"2": {
|
185
|
-
"name": "keyword.operator.merge-key.yaml-ext"
|
186
|
-
},
|
187
|
-
"3": {
|
188
|
-
"name": "punctuation.definition.keyword.yaml-ext"
|
189
|
-
}
|
190
|
-
}
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "invalid.deprecated.trailing-whitespace.yaml-ext",
|
194
|
-
"match": "( |\t)+$",
|
195
|
-
"disabled": true
|
196
|
-
},
|
197
|
-
{
|
198
|
-
"begin": "(^[ \\t]+)?(?\u003c!\\$)(?\u003c=^|[ \\t])(?=#)(?!#\\{)",
|
199
|
-
"end": "(?!\\G)",
|
200
|
-
"patterns": [
|
201
|
-
{
|
202
|
-
"name": "comment.line.number-sign.yaml-ext",
|
203
|
-
"begin": "#",
|
204
|
-
"end": "\\n",
|
205
|
-
"beginCaptures": {
|
206
|
-
"0": {
|
207
|
-
"name": "punctuation.definition.comment.yaml-ext"
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
],
|
212
|
-
"beginCaptures": {
|
213
|
-
"1": {
|
214
|
-
"name": "punctuation.whitespace.comment.leading.yaml-ext"
|
215
|
-
}
|
216
|
-
}
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"name": "keyword.operator.symbol",
|
220
|
-
"match": "-"
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"name": "meta.leading-tabs.yaml-ext",
|
224
|
-
"begin": "^(?=\\t)",
|
225
|
-
"end": "(?=[^\\t])",
|
226
|
-
"patterns": [
|
227
|
-
{
|
228
|
-
"match": "(\\t)(\\t)?",
|
229
|
-
"captures": {
|
230
|
-
"1": {
|
231
|
-
"name": "meta.odd-tab"
|
232
|
-
},
|
233
|
-
"2": {
|
234
|
-
"name": "meta.even-tab"
|
235
|
-
}
|
236
|
-
}
|
237
|
-
}
|
238
|
-
]
|
239
|
-
}
|
240
|
-
],
|
241
|
-
"repository": {
|
242
|
-
"double_quoted_string": {
|
243
|
-
"name": "string.quoted.double.yaml-ext",
|
244
|
-
"begin": "\"",
|
245
|
-
"end": "\"",
|
246
|
-
"patterns": [
|
247
|
-
{
|
248
|
-
"include": "#escaped_char"
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"include": "#erb"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
"beginCaptures": {
|
255
|
-
"0": {
|
256
|
-
"name": "punctuation.definition.string.begin.yaml-ext"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
"endCaptures": {
|
260
|
-
"0": {
|
261
|
-
"name": "punctuation.definition.string.end.yaml-ext"
|
262
|
-
}
|
263
|
-
}
|
264
|
-
},
|
265
|
-
"erb": {
|
266
|
-
"name": "meta.embedded.line.ruby",
|
267
|
-
"contentName": "source.ruby.rails",
|
268
|
-
"begin": "\u003c%+(?!\u003e)=?",
|
269
|
-
"end": "(%)\u003e",
|
270
|
-
"patterns": [
|
271
|
-
{
|
272
|
-
"name": "comment.line.number-sign.ruby",
|
273
|
-
"match": "(#).*?(?=%\u003e)",
|
274
|
-
"captures": {
|
275
|
-
"1": {
|
276
|
-
"name": "punctuation.definition.comment.ruby"
|
277
|
-
}
|
278
|
-
}
|
279
|
-
},
|
280
|
-
{}
|
281
|
-
],
|
282
|
-
"beginCaptures": {
|
283
|
-
"0": {
|
284
|
-
"name": "punctuation.definition.embedded.begin.ruby"
|
285
|
-
}
|
286
|
-
},
|
287
|
-
"endCaptures": {
|
288
|
-
"0": {
|
289
|
-
"name": "punctuation.definition.embedded.end.ruby"
|
290
|
-
},
|
291
|
-
"1": {
|
292
|
-
"name": "source.ruby.rails"
|
293
|
-
}
|
294
|
-
}
|
295
|
-
},
|
296
|
-
"escaped_char": {
|
297
|
-
"name": "constant.character.escape.yaml-ext",
|
298
|
-
"match": "\\\\."
|
299
|
-
},
|
300
|
-
"single_quoted_string": {
|
301
|
-
"name": "string.quoted.single.yaml-ext",
|
302
|
-
"begin": "'",
|
303
|
-
"end": "'",
|
304
|
-
"patterns": [
|
305
|
-
{
|
306
|
-
"include": "#escaped_char"
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"include": "#erb"
|
310
|
-
}
|
311
|
-
],
|
312
|
-
"beginCaptures": {
|
313
|
-
"0": {
|
314
|
-
"name": "punctuation.definition.string.begin.yaml-ext"
|
315
|
-
}
|
316
|
-
},
|
317
|
-
"endCaptures": {
|
318
|
-
"0": {
|
319
|
-
"name": "punctuation.definition.string.end.yaml-ext"
|
320
|
-
}
|
321
|
-
}
|
322
|
-
}
|
323
|
-
}
|
324
|
-
}
|
data/grammars/text.html.abl.json
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "HTML (ABL)",
|
3
|
-
"scopeName": "text.html.abl",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "source.abl",
|
7
|
-
"begin": ".*(\u003c)(script) (language)(=)(\"SpeedScript\")(\u003e)",
|
8
|
-
"end": ".*(\u003c/)(script)(\u003e)",
|
9
|
-
"patterns": [
|
10
|
-
{
|
11
|
-
"include": "source.abl"
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"beginCaptures": {
|
15
|
-
"1": {
|
16
|
-
"name": "punctuation.definition.tag.begin.html"
|
17
|
-
},
|
18
|
-
"2": {
|
19
|
-
"name": "entity.name.tag.script.html"
|
20
|
-
},
|
21
|
-
"3": {
|
22
|
-
"name": "entity.other.attribute-name.html"
|
23
|
-
},
|
24
|
-
"4": {
|
25
|
-
"name": "meta.tag.inline.any.html"
|
26
|
-
},
|
27
|
-
"5": {
|
28
|
-
"name": "string.double.quoted.html"
|
29
|
-
},
|
30
|
-
"6": {
|
31
|
-
"name": "punctuation.definition.tag.end.html"
|
32
|
-
}
|
33
|
-
},
|
34
|
-
"endCaptures": {
|
35
|
-
"1": {
|
36
|
-
"name": "punctuation.definition.tag.begin.html"
|
37
|
-
},
|
38
|
-
"2": {
|
39
|
-
"name": "entity.name.tag.script.html"
|
40
|
-
},
|
41
|
-
"3": {
|
42
|
-
"name": "punctuation.definition.tag.end.html"
|
43
|
-
}
|
44
|
-
}
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "source.abl",
|
48
|
-
"begin": "\\`",
|
49
|
-
"end": "\\`",
|
50
|
-
"patterns": [
|
51
|
-
{
|
52
|
-
"include": "source.abl"
|
53
|
-
}
|
54
|
-
],
|
55
|
-
"beginCaptures": {
|
56
|
-
"0": {
|
57
|
-
"name": "string.double.quoted.html"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
"endCaptures": {
|
61
|
-
"0": {
|
62
|
-
"name": "string.double.quoted.html"
|
63
|
-
}
|
64
|
-
}
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"include": "text.html.basic"
|
68
|
-
}
|
69
|
-
]
|
70
|
-
}
|