github-linguist 4.8.8 → 4.8.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/hint.haskell.json +1123 -0
  3. data/grammars/hint.message.haskell.json +1147 -0
  4. data/grammars/hint.type.haskell.json +1120 -0
  5. data/grammars/source.asn.json +59 -0
  6. data/grammars/source.blitzmax.json +0 -2
  7. data/grammars/source.bsl.json +372 -0
  8. data/grammars/source.c++.json +67 -0
  9. data/grammars/source.c2hs.json +27 -0
  10. data/grammars/source.cabal.json +66 -0
  11. data/grammars/source.coffee.json +6 -5
  12. data/grammars/source.crystal.json +0 -11
  13. data/grammars/source.csound-score.json +3 -3
  14. data/grammars/source.csound.json +51 -15
  15. data/grammars/source.css.json +1 -1
  16. data/grammars/source.css.less.json +9 -5
  17. data/grammars/source.cython.json +42 -193
  18. data/grammars/source.d.json +7 -7
  19. data/grammars/source.elixir.json +2 -2
  20. data/grammars/source.forth.json +0 -2
  21. data/grammars/source.graphql.json +8 -2
  22. data/grammars/source.haskell.json +1089 -323
  23. data/grammars/source.hsc2hs.json +12 -0
  24. data/grammars/source.ideal.json +356 -0
  25. data/grammars/source.java.json +3 -0
  26. data/grammars/source.js.json +262 -131
  27. data/grammars/source.js.jsx.json +848 -256
  28. data/grammars/source.lsl.json +51 -103
  29. data/grammars/source.objc.json +1 -1
  30. data/grammars/source.parrot.pir.json +49 -15
  31. data/grammars/source.pic.json +868 -0
  32. data/grammars/source.purescript.json +114 -90
  33. data/grammars/source.python.json +11 -9
  34. data/grammars/source.regexp.babel.json +1 -1
  35. data/grammars/source.renpy.json +7 -7
  36. data/grammars/source.rexx.json +59 -0
  37. data/grammars/source.sas.json +8 -75
  38. data/grammars/source.sdbl.json +97 -0
  39. data/grammars/source.shell.json +1 -0
  40. data/grammars/source.smali.json +2 -2
  41. data/grammars/source.sqf.json +11 -11
  42. data/grammars/source.stan.json +60 -25
  43. data/grammars/source.tla.json +18 -6
  44. data/grammars/source.toc.json +5 -1
  45. data/grammars/source.ts.json +134 -31
  46. data/grammars/source.tsx.json +134 -31
  47. data/grammars/source.vhdl.json +150 -117
  48. data/grammars/source.viml.json +4 -4
  49. data/grammars/source.xquery.json +23 -5
  50. data/grammars/source.yaml.json +35 -19
  51. data/grammars/text.html.handlebars.json +2 -2
  52. data/grammars/text.html.php.blade.json +1 -1
  53. data/grammars/text.html.twig.json +1 -4
  54. data/grammars/text.html.vue.json +41 -1
  55. data/grammars/text.restructuredtext.json +56 -1
  56. data/grammars/text.roff.json +5089 -0
  57. data/grammars/text.runoff.json +321 -0
  58. data/grammars/text.slim.json +126 -105
  59. data/grammars/text.tex.latex.haskell.json +1335 -21
  60. data/lib/linguist/heuristics.rb +8 -0
  61. data/lib/linguist/languages.json +1 -1
  62. data/lib/linguist/languages.yml +58 -3
  63. data/lib/linguist/samples.json +5257 -76
  64. data/lib/linguist/version.rb +1 -1
  65. metadata +16 -4
  66. data/grammars/source.man.json +0 -53
  67. data/grammars/text.groff.json +0 -113
@@ -1,3 +1,3 @@
1
1
  module Linguist
2
- VERSION = "4.8.8"
2
+ VERSION = "4.8.9"
3
3
  end
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: 4.8.8
4
+ version: 4.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: charlock_holmes
@@ -206,6 +206,9 @@ files:
206
206
  - bin/git-linguist
207
207
  - bin/linguist
208
208
  - grammars/file.lasso.json
209
+ - grammars/hint.haskell.json
210
+ - grammars/hint.message.haskell.json
211
+ - grammars/hint.type.haskell.json
209
212
  - grammars/module.ceylon.json
210
213
  - grammars/objdump.x86asm.json
211
214
  - grammars/source.Kotlin.json
@@ -229,6 +232,7 @@ files:
229
232
  - grammars/source.apl.json
230
233
  - grammars/source.applescript.json
231
234
  - grammars/source.apt.json
235
+ - grammars/source.asn.json
232
236
  - grammars/source.asp.json
233
237
  - grammars/source.aspectj.json
234
238
  - grammars/source.assembly.json
@@ -243,12 +247,15 @@ files:
243
247
  - grammars/source.brightauthorproject.json
244
248
  - grammars/source.brightscript.json
245
249
  - grammars/source.bro.json
250
+ - grammars/source.bsl.json
246
251
  - grammars/source.bsv.json
247
252
  - grammars/source.c++.json
248
253
  - grammars/source.c++.qt.json
249
254
  - grammars/source.c.ec.json
250
255
  - grammars/source.c.json
251
256
  - grammars/source.c.platform.json
257
+ - grammars/source.c2hs.json
258
+ - grammars/source.cabal.json
252
259
  - grammars/source.cache.cmake.json
253
260
  - grammars/source.cake.json
254
261
  - grammars/source.camlp4.ocaml.json
@@ -326,10 +333,12 @@ files:
326
333
  - grammars/source.harbour.json
327
334
  - grammars/source.haskell.json
328
335
  - grammars/source.haxe.2.json
336
+ - grammars/source.hsc2hs.json
329
337
  - grammars/source.hss.1.json
330
338
  - grammars/source.httpspec.json
331
339
  - grammars/source.hxml.json
332
340
  - grammars/source.hy.json
341
+ - grammars/source.ideal.json
333
342
  - grammars/source.idl-dlm.json
334
343
  - grammars/source.idl.json
335
344
  - grammars/source.idris.json
@@ -367,7 +376,6 @@ files:
367
376
  - grammars/source.lua.json
368
377
  - grammars/source.makefile.json
369
378
  - grammars/source.makegen.json
370
- - grammars/source.man.json
371
379
  - grammars/source.mask.json
372
380
  - grammars/source.mata.json
373
381
  - grammars/source.mathematica.json
@@ -419,6 +427,7 @@ files:
419
427
  - grammars/source.perl.json
420
428
  - grammars/source.perl6fe.json
421
429
  - grammars/source.php.zephir.json
430
+ - grammars/source.pic.json
422
431
  - grammars/source.pig_latin.json
423
432
  - grammars/source.pike.json
424
433
  - grammars/source.po.json
@@ -449,6 +458,7 @@ files:
449
458
  - grammars/source.regexp.python.json
450
459
  - grammars/source.regexp.spin.json
451
460
  - grammars/source.renpy.json
461
+ - grammars/source.rexx.json
452
462
  - grammars/source.ruby.json
453
463
  - grammars/source.ruby.rspec.cucumber.steps.json
454
464
  - grammars/source.rust.json
@@ -460,6 +470,7 @@ files:
460
470
  - grammars/source.scheme.json
461
471
  - grammars/source.scilab.json
462
472
  - grammars/source.scss.json
473
+ - grammars/source.sdbl.json
463
474
  - grammars/source.shell.json
464
475
  - grammars/source.smali.json
465
476
  - grammars/source.smalltalk.json
@@ -514,7 +525,6 @@ files:
514
525
  - grammars/text.dart-doccomments.json
515
526
  - grammars/text.elixir.json
516
527
  - grammars/text.gherkin.feature.json
517
- - grammars/text.groff.json
518
528
  - grammars/text.haml.json
519
529
  - grammars/text.html.abl.json
520
530
  - grammars/text.html.asciidoc.json
@@ -555,6 +565,8 @@ files:
555
565
  - grammars/text.rdoc.json
556
566
  - grammars/text.restructuredtext.json
557
567
  - grammars/text.robot.json
568
+ - grammars/text.roff.json
569
+ - grammars/text.runoff.json
558
570
  - grammars/text.shell-session.json
559
571
  - grammars/text.slim.json
560
572
  - grammars/text.srt.json
@@ -1,53 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "man"
4
- ],
5
- "name": "Man Page Preview",
6
- "patterns": [
7
- {
8
- "captures": {
9
- "0": {
10
- "name": "string.source.man"
11
- },
12
- "2": {
13
- "name": "constant.source.man"
14
- },
15
- "3": {
16
- "name": "keyword.source.man"
17
- },
18
- "5": {
19
- "name": "constant.source.man"
20
- }
21
- },
22
- "match": "^(man\\((\\d+)\\))(.+)(man\\((\\d+)\\).*)$",
23
- "name": "string.source.man"
24
- },
25
- {
26
- "captures": {
27
- "1": {
28
- "name": "constant.source.man"
29
- },
30
- "2": {
31
- "name": "storage.source.man"
32
- },
33
- "3": {
34
- "name": "keyword.source.man"
35
- },
36
- "4": {
37
- "name": "string.source.man"
38
- },
39
- "5": {
40
- "name": "constant.source.man"
41
- }
42
- },
43
- "match": "^(\\d\\.\\d(\\.\\d)?)(.+)(man\\((\\d+)\\).*)$",
44
- "name": "string.source.man"
45
- },
46
- {
47
- "match": "^[A-Z][A-Z\\s]+\\s$",
48
- "name": "keyword.source.man"
49
- }
50
- ],
51
- "scopeName": "source.man",
52
- "uuid": "f3ff3e8d-4f68-432c-af44-e00d6e15c81a"
53
- }
@@ -1,113 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "man",
4
- "groff"
5
- ],
6
- "name": "Man Page (groff/troff)",
7
- "patterns": [
8
- {
9
- "comment": "comments",
10
- "match": "^\\.\\\\\".*$",
11
- "name": "comment.macro.text.groff"
12
- },
13
- {
14
- "begin": "^(\\.UR)\\b(.*)$",
15
- "beginCaptures": {
16
- "1": {
17
- "name": "keyword.text.groff"
18
- },
19
- "2": {
20
- "name": "constant.other.text.groff"
21
- }
22
- },
23
- "comment": "email address macro",
24
- "end": "^(\\.UE)",
25
- "endCaptures": {
26
- "1": {
27
- "name": "keyword.text.groff"
28
- }
29
- },
30
- "name": "uri.macro.text.groff",
31
- "patterns": [
32
- {
33
- "match": ".",
34
- "name": "string.text.groff"
35
- }
36
- ]
37
- },
38
- {
39
- "begin": "^(\\.MT)\\b(.*)$",
40
- "beginCaptures": {
41
- "1": {
42
- "name": "keyword.text.groff"
43
- },
44
- "2": {
45
- "name": "constant.other.text.groff"
46
- }
47
- },
48
- "comment": "email address macro",
49
- "end": "^(\\.ME)",
50
- "endCaptures": {
51
- "1": {
52
- "name": "keyword.text.groff"
53
- }
54
- },
55
- "name": "emailaddress.macro.text.groff",
56
- "patterns": [
57
- {
58
- "match": ".",
59
- "name": "string.text.groff"
60
- }
61
- ]
62
- },
63
- {
64
- "captures": {
65
- "1": {
66
- "name": "keyword.text.groff"
67
- },
68
- "2": {
69
- "name": "support.constant.text.groff"
70
- },
71
- "3": {
72
- "name": "string.text.groff"
73
- }
74
- },
75
- "comment": "text style macros",
76
- "match": "^(\\.OP)\\s([^\\s]+)\\s?(.*)$",
77
- "name": "option.macro.text.groff"
78
- },
79
- {
80
- "begin": "^(\\.SM|\\.SB|\\.BI|\\.IB|\\.RI|\\.IR|\\.BR|\\.RB|\\.B|\\.I)\\b",
81
- "beginCaptures": {
82
- "1": {
83
- "name": "keyword.text.groff"
84
- }
85
- },
86
- "comment": "text style macros",
87
- "end": "$",
88
- "name": "style.macro.text.groff",
89
- "patterns": [
90
- {
91
- "comment": "catch-all",
92
- "match": ".",
93
- "name": "string.text.groff"
94
- }
95
- ]
96
- },
97
- {
98
- "captures": {
99
- "1": {
100
- "name": "keyword.text.groff"
101
- },
102
- "2": {
103
- "name": "entity.text.groff"
104
- }
105
- },
106
- "comment": "marco catch-all",
107
- "match": "^(\\.[a-zA-Z]*\\s?)(\\s?.+)?$",
108
- "name": "macro.text.groff"
109
- }
110
- ],
111
- "scopeName": "text.groff",
112
- "uuid": "9f281c08-ae81-4ccd-b910-a67b17d1952e"
113
- }