github-linguist 7.6.1 → 7.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +5 -5
  2. data/bin/github-linguist +17 -4
  3. data/grammars/annotation.liquidhaskell.haskell.json +11 -11
  4. data/grammars/etc.json +212 -3
  5. data/grammars/hidden.manref.json +29 -0
  6. data/grammars/hint.haskell.json +11 -11
  7. data/grammars/hint.message.haskell.json +11 -11
  8. data/grammars/hint.type.haskell.json +11 -11
  9. data/grammars/injections.etc.json +601 -1
  10. data/grammars/source.abap.json +7 -7
  11. data/grammars/source.abnf.json +23 -1
  12. data/grammars/source.ahk.json +3 -3
  13. data/grammars/source.angelscript.json +1 -1
  14. data/grammars/source.ballerina.json +54 -18
  15. data/grammars/source.csound.json +1 -1
  16. data/grammars/source.css.json +2 -2
  17. data/grammars/source.css.scss.json +164 -15
  18. data/grammars/source.curlrc.json +869 -65
  19. data/grammars/source.dart.json +1 -1
  20. data/grammars/source.dircolors.json +39 -0
  21. data/grammars/source.direct-x.json +135 -0
  22. data/grammars/source.ebnf.json +67 -39
  23. data/grammars/source.elixir.json +43 -0
  24. data/grammars/source.gfm.json +1 -1
  25. data/grammars/source.gitconfig.json +1 -1
  26. data/grammars/source.hack.json +196 -80
  27. data/grammars/source.haskell.json +11 -11
  28. data/grammars/source.hosts.json +40 -0
  29. data/grammars/source.hsig.json +11 -11
  30. data/grammars/source.igor.json +2 -2
  31. data/grammars/source.ini.npmrc.json +311 -0
  32. data/grammars/source.inno.json +133 -0
  33. data/grammars/source.inputrc.json +500 -0
  34. data/grammars/source.js.json +4 -4
  35. data/grammars/source.julia.json +45 -3
  36. data/grammars/source.kotlin.json +1 -1
  37. data/grammars/source.lex.json +4 -4
  38. data/grammars/source.m4.json +141 -99
  39. data/grammars/source.man-conf.json +46 -34
  40. data/grammars/source.matlab.json +225 -35
  41. data/grammars/source.mcfunction-snapshot.json +21388 -561
  42. data/grammars/source.mcfunction.json +55 -5
  43. data/grammars/source.mlir.json +37 -317
  44. data/grammars/source.mrc.json +858 -0
  45. data/grammars/source.opts.json +12 -2
  46. data/grammars/source.p4.json +21 -5
  47. data/grammars/source.prisma.json +428 -0
  48. data/grammars/source.python.json +2 -0
  49. data/grammars/source.reason.json +28 -16
  50. data/grammars/source.rego.json +124 -0
  51. data/grammars/source.sass.json +158 -3
  52. data/grammars/source.scala.json +26 -15
  53. data/grammars/source.ssh-config.json +1 -14
  54. data/grammars/source.swift.json +162 -2
  55. data/grammars/source.ts.json +74 -25
  56. data/grammars/source.tsx.json +75 -26
  57. data/grammars/source.v.json +58 -16
  58. data/grammars/source.vim-snippet.json +645 -0
  59. data/grammars/source.viml.json +5 -5
  60. data/grammars/source.wgetrc.json +1640 -0
  61. data/grammars/source.zig.json +169 -304
  62. data/grammars/text.html.php.blade.json +1 -1
  63. data/grammars/text.html.riot.json +788 -0
  64. data/grammars/text.muse.json +1471 -0
  65. data/grammars/text.tex.latex.haskell.json +11 -11
  66. data/grammars/text.vim-help.json +383 -0
  67. data/grammars/version +1 -1
  68. data/lib/linguist/VERSION +1 -1
  69. data/lib/linguist/blob_helper.rb +4 -2
  70. data/lib/linguist/generated.rb +39 -12
  71. data/lib/linguist/heuristics.yml +16 -1
  72. data/lib/linguist/languages.json +1 -1
  73. data/lib/linguist/languages.yml +183 -14
  74. data/lib/linguist/linguist.bundle +0 -0
  75. data/lib/linguist/samples.json +6910 -536
  76. data/lib/linguist/vendor.yml +6 -0
  77. metadata +18 -5
  78. data/grammars/source.jlex.json +0 -322
@@ -32,12 +32,18 @@
32
32
  - (^|/)ltversion.m4
33
33
  - (^|/)lt~obsolete.m4
34
34
 
35
+ # .NET Core Install Scripts
36
+ - dotnet-install\.(ps1|sh)$
37
+
35
38
  # Linters
36
39
  - cpplint.py
37
40
 
38
41
  # Node dependencies
39
42
  - node_modules/
40
43
 
44
+ # esy.sh dependencies
45
+ - (^|/)_esy$
46
+
41
47
  # Bower Components
42
48
  - bower_components/
43
49
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-linguist
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.1
4
+ version: 7.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-29 00:00:00.000000000 Z
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -246,6 +246,7 @@ files:
246
246
  - grammars/documentation.markdown.injection.haxe.json
247
247
  - grammars/etc.json
248
248
  - grammars/file.lasso.json
249
+ - grammars/hidden.manref.json
249
250
  - grammars/hint.haskell.json
250
251
  - grammars/hint.message.haskell.json
251
252
  - grammars/hint.type.haskell.json
@@ -343,6 +344,8 @@ files:
343
344
  - grammars/source.data-weave.json
344
345
  - grammars/source.desktop.json
345
346
  - grammars/source.diff.json
347
+ - grammars/source.dircolors.json
348
+ - grammars/source.direct-x.json
346
349
  - grammars/source.disasm.json
347
350
  - grammars/source.ditroff.desc.json
348
351
  - grammars/source.ditroff.json
@@ -407,6 +410,7 @@ files:
407
410
  - grammars/source.hc.json
408
411
  - grammars/source.hgignore.json
409
412
  - grammars/source.hlsl.json
413
+ - grammars/source.hosts.json
410
414
  - grammars/source.hql.json
411
415
  - grammars/source.hsc2hs.json
412
416
  - grammars/source.hsig.json
@@ -423,6 +427,9 @@ files:
423
427
  - grammars/source.igor.json
424
428
  - grammars/source.inform7.json
425
429
  - grammars/source.ini.json
430
+ - grammars/source.ini.npmrc.json
431
+ - grammars/source.inno.json
432
+ - grammars/source.inputrc.json
426
433
  - grammars/source.io.json
427
434
  - grammars/source.ioke.json
428
435
  - grammars/source.isabelle.root.json
@@ -436,7 +443,6 @@ files:
436
443
  - grammars/source.jison.json
437
444
  - grammars/source.jisonlex-injection.json
438
445
  - grammars/source.jisonlex.json
439
- - grammars/source.jlex.json
440
446
  - grammars/source.jolie.json
441
447
  - grammars/source.jq.json
442
448
  - grammars/source.js.css.json
@@ -489,6 +495,7 @@ files:
489
495
  - grammars/source.monkey.json
490
496
  - grammars/source.moonscript.json
491
497
  - grammars/source.mql5.json
498
+ - grammars/source.mrc.json
492
499
  - grammars/source.mupad.json
493
500
  - grammars/source.nanorc.json
494
501
  - grammars/source.ncl.json
@@ -554,6 +561,7 @@ files:
554
561
  - grammars/source.postscript.json
555
562
  - grammars/source.pov-ray sdl.json
556
563
  - grammars/source.powershell.json
564
+ - grammars/source.prisma.json
557
565
  - grammars/source.processing.json
558
566
  - grammars/source.prolog.eclipse.json
559
567
  - grammars/source.prolog.json
@@ -583,6 +591,7 @@ files:
583
591
  - grammars/source.regexp.perl6fe.json
584
592
  - grammars/source.regexp.python.json
585
593
  - grammars/source.regexp.spin.json
594
+ - grammars/source.rego.json
586
595
  - grammars/source.renpy.json
587
596
  - grammars/source.rexx.json
588
597
  - grammars/source.ring.json
@@ -648,6 +657,7 @@ files:
648
657
  - grammars/source.vbnet.json
649
658
  - grammars/source.verilog.json
650
659
  - grammars/source.vhdl.json
660
+ - grammars/source.vim-snippet.json
651
661
  - grammars/source.viml.json
652
662
  - grammars/source.vtt.json
653
663
  - grammars/source.vyper.json
@@ -656,6 +666,7 @@ files:
656
666
  - grammars/source.wdl.json
657
667
  - grammars/source.webassembly.json
658
668
  - grammars/source.webidl.json
669
+ - grammars/source.wgetrc.json
659
670
  - grammars/source.wollok.json
660
671
  - grammars/source.x10.json
661
672
  - grammars/source.x86.json
@@ -715,6 +726,7 @@ files:
715
726
  - grammars/text.html.mediawiki.json
716
727
  - grammars/text.html.php.blade.json
717
728
  - grammars/text.html.php.json
729
+ - grammars/text.html.riot.json
718
730
  - grammars/text.html.slash.json
719
731
  - grammars/text.html.smarty.json
720
732
  - grammars/text.html.soy.json
@@ -727,6 +739,7 @@ files:
727
739
  - grammars/text.junit-test-report.json
728
740
  - grammars/text.log.latex.json
729
741
  - grammars/text.marko.json
742
+ - grammars/text.muse.json
730
743
  - grammars/text.plain.json
731
744
  - grammars/text.python.console.json
732
745
  - grammars/text.python.traceback.json
@@ -748,6 +761,7 @@ files:
748
761
  - grammars/text.tex.latex.memoir.json
749
762
  - grammars/text.tex.latex.rd.json
750
763
  - grammars/text.texinfo.json
764
+ - grammars/text.vim-help.json
751
765
  - grammars/text.xml.ant.json
752
766
  - grammars/text.xml.flex-config.json
753
767
  - grammars/text.xml.genshi.json
@@ -808,8 +822,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
808
822
  - !ruby/object:Gem::Version
809
823
  version: '0'
810
824
  requirements: []
811
- rubyforge_project:
812
- rubygems_version: 2.6.14
825
+ rubygems_version: 3.0.3
813
826
  signing_key:
814
827
  specification_version: 4
815
828
  summary: GitHub Language detection
@@ -1,322 +0,0 @@
1
- {
2
- "name": "JLex",
3
- "scopeName": "source.jlex",
4
- "patterns": [
5
- {
6
- "include": "#main"
7
- }
8
- ],
9
- "repository": {
10
- "comments": {
11
- "patterns": [
12
- {
13
- "name": "comment.line.double-slash.jlex",
14
- "begin": "//",
15
- "end": "$",
16
- "beginCaptures": {
17
- "0": {
18
- "name": "punctuation.definition.comment.jlex"
19
- }
20
- }
21
- },
22
- {
23
- "name": "comment.block.jlex",
24
- "begin": "/\\*",
25
- "end": "\\*/",
26
- "beginCaptures": {
27
- "0": {
28
- "name": "punctuation.definition.begin.comment.jlex"
29
- }
30
- },
31
- "endCaptures": {
32
- "0": {
33
- "name": "punctuation.definition.end.comment.jlex"
34
- }
35
- }
36
- }
37
- ]
38
- },
39
- "directive": {
40
- "patterns": [
41
- {
42
- "match": "((%)(?:class|extends|implements|extends|cupsym))\\s+(\\S.*)",
43
- "captures": {
44
- "1": {
45
- "name": "keyword.control.directive.jlex"
46
- },
47
- "2": {
48
- "name": "punctuation.definition.directive.jlex"
49
- },
50
- "3": {
51
- "name": "storage.type.class.var.jlex"
52
- }
53
- }
54
- },
55
- {
56
- "match": "((%)include)\\s*(\\S.*)(?=$|//)",
57
- "captures": {
58
- "1": {
59
- "name": "keyword.control.directive.jlex"
60
- },
61
- "2": {
62
- "name": "punctuation.definition.directive.jlex"
63
- },
64
- "3": {
65
- "patterns": [
66
- {
67
- "name": "storage.modifier.import.java",
68
- "match": "[^\\s.]+"
69
- },
70
- {
71
- "name": "punctuation.separator.java",
72
- "match": "\\."
73
- }
74
- ]
75
- }
76
- }
77
- },
78
- {
79
- "name": "meta.state-declarations.jlex",
80
- "begin": "(%)state(?=\\s)(?!$)",
81
- "end": "(?=$|/\\*)",
82
- "patterns": [
83
- {
84
- "name": "variable.other.definition.jlex",
85
- "match": "[A-Za-z_][A-Za-z_0-9]*"
86
- },
87
- {
88
- "name": "punctuation.delimiter.comma.jlex",
89
- "match": ","
90
- }
91
- ],
92
- "beginCaptures": {
93
- "0": {
94
- "name": "keyword.control.directive.jlex"
95
- },
96
- "1": {
97
- "name": "punctuation.definition.directive.jlex"
98
- }
99
- }
100
- },
101
- {
102
- "name": "meta.code-block.directive.$3.jlex",
103
- "begin": "^\\s*((%)(initthrow|init|eofthrow|eofval|eof))({)",
104
- "end": "^\\s*((%)\\3)(})",
105
- "patterns": [
106
- {
107
- "include": "source.java"
108
- }
109
- ],
110
- "beginCaptures": {
111
- "1": {
112
- "name": "keyword.control.directive.jlex"
113
- },
114
- "2": {
115
- "name": "punctuation.definition.directive.jlex"
116
- },
117
- "4": {
118
- "name": "punctuation.definition.curly.bracket.begin.jlex"
119
- }
120
- },
121
- "endCaptures": {
122
- "1": {
123
- "name": "keyword.control.directive.jlex"
124
- },
125
- "2": {
126
- "name": "punctuation.definition.directive.jlex"
127
- },
128
- "3": {
129
- "name": "punctuation.definition.curly.bracket.end.jlex"
130
- }
131
- }
132
- },
133
- {
134
- "begin": "^\\s*((%)\\w+)(\\s+\\S.*)?",
135
- "end": "(?=$)",
136
- "beginCaptures": {
137
- "1": {
138
- "name": "keyword.control.directive.jlex"
139
- },
140
- "2": {
141
- "name": "punctuation.definition.directive.jlex"
142
- },
143
- "3": {
144
- "patterns": [
145
- {
146
- "include": "#comments"
147
- },
148
- {
149
- "name": "constant.language.other.lex",
150
- "match": "\\S+"
151
- }
152
- ]
153
- }
154
- }
155
- }
156
- ]
157
- },
158
- "directives": {
159
- "name": "name.directives.jlex",
160
- "begin": "^\\s*(%%)\\s*$\\s*",
161
- "end": "^\\s*(%%)\\s*$\\s*",
162
- "patterns": [
163
- {
164
- "include": "#passthrough"
165
- },
166
- {
167
- "include": "#directive"
168
- },
169
- {
170
- "include": "#comments"
171
- },
172
- {
173
- "include": "#macro"
174
- }
175
- ],
176
- "beginCaptures": {
177
- "1": {
178
- "name": "keyword.control.section.begin.jlex"
179
- }
180
- },
181
- "endCaptures": {
182
- "1": {
183
- "name": "keyword.control.section.end.jlex"
184
- }
185
- }
186
- },
187
- "macro": {
188
- "match": "^\\s*([^\\s=]+)\\s*(=)(\\s*\\S.*)$",
189
- "captures": {
190
- "1": {
191
- "name": "entity.macro.name.jlex"
192
- },
193
- "2": {
194
- "name": "keyword.operator.assignment.jlex"
195
- },
196
- "3": {
197
- "name": "meta.macro.definition.jlex",
198
- "patterns": [
199
- {
200
- "include": "source.lex.regexp"
201
- }
202
- ]
203
- }
204
- }
205
- },
206
- "main": {
207
- "patterns": [
208
- {
209
- "include": "#comments"
210
- },
211
- {
212
- "include": "#user-code"
213
- },
214
- {
215
- "include": "#directives"
216
- },
217
- {
218
- "include": "#rules"
219
- }
220
- ]
221
- },
222
- "passthrough": {
223
- "name": "meta.code-chunk.jlex",
224
- "begin": "^\\s*%{",
225
- "end": "^\\s*%}",
226
- "patterns": [
227
- {
228
- "include": "source.java"
229
- }
230
- ],
231
- "beginCaptures": {
232
- "0": {
233
- "name": "punctuation.section.embedded.begin.jlex"
234
- }
235
- },
236
- "endCaptures": {
237
- "0": {
238
- "name": "punctuation.section.embedded.end.jlex"
239
- }
240
- }
241
- },
242
- "rules": {
243
- "patterns": [
244
- {
245
- "name": "meta.rule.jlex",
246
- "begin": "^\\s*(\"[^\"]+\")\\s+({)",
247
- "end": "}",
248
- "patterns": [
249
- {
250
- "include": "source.java"
251
- }
252
- ],
253
- "beginCaptures": {
254
- "1": {
255
- "patterns": [
256
- {
257
- "include": "source.lex.regexp#string"
258
- }
259
- ]
260
- },
261
- "2": {
262
- "name": "punctuation.definition.curly.bracket.begin.jlex"
263
- }
264
- },
265
- "endCaptures": {
266
- "0": {
267
- "name": "punctuation.definition.curly.bracket.begin.jlex"
268
- }
269
- }
270
- },
271
- {
272
- "name": "meta.rule.jlex",
273
- "begin": "^([^{]*[^\\s{][^{]*)({\\w+}\\s*)?({)",
274
- "end": "}",
275
- "patterns": [
276
- {
277
- "include": "source.java"
278
- }
279
- ],
280
- "beginCaptures": {
281
- "1": {
282
- "patterns": [
283
- {
284
- "include": "source.lex.regexp"
285
- }
286
- ]
287
- },
288
- "2": {
289
- "patterns": [
290
- {
291
- "include": "source.lex.regexp"
292
- }
293
- ]
294
- },
295
- "3": {
296
- "name": "punctuation.definition.curly.bracket.begin.jlex"
297
- }
298
- },
299
- "endCaptures": {
300
- "0": {
301
- "name": "punctuation.definition.curly.bracket.begin.jlex"
302
- }
303
- }
304
- }
305
- ]
306
- },
307
- "user-code": {
308
- "patterns": [
309
- {
310
- "name": "meta.user-code.jlex",
311
- "begin": "\\G",
312
- "end": "^(?=\\s*%%)",
313
- "patterns": [
314
- {
315
- "include": "source.java"
316
- }
317
- ]
318
- }
319
- ]
320
- }
321
- }
322
- }