github-linguist 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linguist/generated.rb +1 -1
- data/lib/linguist/language.rb +1 -0
- data/lib/linguist/languages.yml +149 -20
- data/lib/linguist/samples.json +3149 -281
- data/lib/linguist/vendor.yml +21 -1
- data/lib/linguist/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 703e7ac8a8408bc44e533cc796a97795e7b2b925
|
4
|
+
data.tar.gz: 64880767fa7990a8f4e44f6bb078a5d4cc460587
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f9546f9714d41e08ea159e2fd2d811b44949f3ab3c27f9555f4b5f1866f800a1f0d48eb401ad74afe0541ca46cbd50b379af65b705e6e0f5ed3592c45b99c63
|
7
|
+
data.tar.gz: 0d346544888d7fd1faf2b49e2f6fc601c74f4c62f83d2858e5d0533587535955c3467a0f3efb62611640ff1b2afb7bbb1645b41aaf5d03ab684ad1c5250f829d
|
data/lib/linguist/generated.rb
CHANGED
data/lib/linguist/language.rb
CHANGED
@@ -532,6 +532,7 @@ module Linguist
|
|
532
532
|
if extnames = extensions[name]
|
533
533
|
extnames.each do |extname|
|
534
534
|
if !options['extensions'].include?(extname)
|
535
|
+
warn "#{name} has a sample with extension (#{extname}) that isn't explicitly defined in languages.yml" unless extname == '.script!'
|
535
536
|
options['extensions'] << extname
|
536
537
|
end
|
537
538
|
end
|
data/lib/linguist/languages.yml
CHANGED
@@ -28,6 +28,16 @@ ABAP:
|
|
28
28
|
extensions:
|
29
29
|
- .abap
|
30
30
|
|
31
|
+
AGS Script:
|
32
|
+
type: programming
|
33
|
+
lexer: C++
|
34
|
+
color: "#B9D9FF"
|
35
|
+
aliases:
|
36
|
+
- ags
|
37
|
+
extensions:
|
38
|
+
- .asc
|
39
|
+
- .ash
|
40
|
+
|
31
41
|
ANTLR:
|
32
42
|
type: programming
|
33
43
|
color: "#9DC3FF"
|
@@ -35,6 +45,12 @@ ANTLR:
|
|
35
45
|
extensions:
|
36
46
|
- .g4
|
37
47
|
|
48
|
+
APL:
|
49
|
+
type: programming
|
50
|
+
color: "#8a0707"
|
51
|
+
extensions:
|
52
|
+
- .apl
|
53
|
+
|
38
54
|
ASP:
|
39
55
|
type: programming
|
40
56
|
color: "#6a40fd"
|
@@ -260,6 +276,7 @@ C:
|
|
260
276
|
extensions:
|
261
277
|
- .c
|
262
278
|
- .cats
|
279
|
+
- .h
|
263
280
|
- .w
|
264
281
|
|
265
282
|
C#:
|
@@ -288,6 +305,7 @@ C++:
|
|
288
305
|
- .cc
|
289
306
|
- .cxx
|
290
307
|
- .H
|
308
|
+
- .h
|
291
309
|
- .h++
|
292
310
|
- .hh
|
293
311
|
- .hpp
|
@@ -321,7 +339,7 @@ CLIPS:
|
|
321
339
|
CMake:
|
322
340
|
extensions:
|
323
341
|
- .cmake
|
324
|
-
- .
|
342
|
+
- .in
|
325
343
|
filenames:
|
326
344
|
- CMakeLists.txt
|
327
345
|
|
@@ -346,6 +364,14 @@ Ceylon:
|
|
346
364
|
extensions:
|
347
365
|
- .ceylon
|
348
366
|
|
367
|
+
Chapel:
|
368
|
+
type: programming
|
369
|
+
color: "#8dc63f"
|
370
|
+
aliases:
|
371
|
+
- chpl
|
372
|
+
extensions:
|
373
|
+
- .chpl
|
374
|
+
|
349
375
|
ChucK:
|
350
376
|
lexer: Java
|
351
377
|
extensions:
|
@@ -354,9 +380,8 @@ ChucK:
|
|
354
380
|
Cirru:
|
355
381
|
type: programming
|
356
382
|
color: "#aaaaff"
|
357
|
-
|
358
|
-
|
359
|
-
lexer: Text only
|
383
|
+
ace_mode: cirru
|
384
|
+
lexer: Cirru
|
360
385
|
extensions:
|
361
386
|
- .cirru
|
362
387
|
|
@@ -380,7 +405,7 @@ Clojure:
|
|
380
405
|
- .cljscm
|
381
406
|
- .cljx
|
382
407
|
- .hic
|
383
|
-
- .
|
408
|
+
- .hl
|
384
409
|
filenames:
|
385
410
|
- riemann.config
|
386
411
|
|
@@ -403,14 +428,27 @@ CoffeeScript:
|
|
403
428
|
|
404
429
|
ColdFusion:
|
405
430
|
type: programming
|
431
|
+
group: ColdFusion
|
406
432
|
lexer: Coldfusion HTML
|
407
433
|
ace_mode: coldfusion
|
408
434
|
color: "#ed2cd6"
|
409
435
|
search_term: cfm
|
410
436
|
aliases:
|
411
437
|
- cfm
|
438
|
+
- cfml
|
412
439
|
extensions:
|
413
440
|
- .cfm
|
441
|
+
|
442
|
+
ColdFusion CFC:
|
443
|
+
type: programming
|
444
|
+
group: ColdFusion
|
445
|
+
lexer: Coldfusion CFC
|
446
|
+
ace_mode: coldfusion
|
447
|
+
color: "#ed2cd6"
|
448
|
+
search_term: cfc
|
449
|
+
aliases:
|
450
|
+
- cfc
|
451
|
+
extensions:
|
414
452
|
- .cfc
|
415
453
|
|
416
454
|
Common Lisp:
|
@@ -444,6 +482,7 @@ Coq:
|
|
444
482
|
type: programming
|
445
483
|
extensions:
|
446
484
|
- .coq
|
485
|
+
- .v
|
447
486
|
|
448
487
|
Cpp-ObjDump:
|
449
488
|
type: data
|
@@ -479,6 +518,12 @@ Cuda:
|
|
479
518
|
- .cu
|
480
519
|
- .cuh
|
481
520
|
|
521
|
+
Cycript:
|
522
|
+
type: programming
|
523
|
+
lexer: JavaScript
|
524
|
+
extensions:
|
525
|
+
- .cy
|
526
|
+
|
482
527
|
Cython:
|
483
528
|
type: programming
|
484
529
|
group: Python
|
@@ -533,6 +578,7 @@ Dart:
|
|
533
578
|
Diff:
|
534
579
|
extensions:
|
535
580
|
- .diff
|
581
|
+
- .patch
|
536
582
|
|
537
583
|
Dogescript:
|
538
584
|
type: programming
|
@@ -581,7 +627,7 @@ Eagle:
|
|
581
627
|
|
582
628
|
Eiffel:
|
583
629
|
type: programming
|
584
|
-
lexer:
|
630
|
+
lexer: Eiffel
|
585
631
|
color: "#946d57"
|
586
632
|
extensions:
|
587
633
|
- .e
|
@@ -612,11 +658,20 @@ Emacs Lisp:
|
|
612
658
|
- .el
|
613
659
|
- .emacs
|
614
660
|
|
661
|
+
EmberScript:
|
662
|
+
type: programming
|
663
|
+
color: "#f64e3e"
|
664
|
+
lexer: CoffeeScript
|
665
|
+
extensions:
|
666
|
+
- .em
|
667
|
+
- .emberscript
|
668
|
+
|
615
669
|
Erlang:
|
616
670
|
type: programming
|
617
671
|
color: "#0faf8d"
|
618
672
|
extensions:
|
619
673
|
- .erl
|
674
|
+
- .escript
|
620
675
|
- .hrl
|
621
676
|
|
622
677
|
F#:
|
@@ -692,6 +747,7 @@ Forth:
|
|
692
747
|
extensions:
|
693
748
|
- .fth
|
694
749
|
- .4th
|
750
|
+
- .forth
|
695
751
|
|
696
752
|
Frege:
|
697
753
|
type: programming
|
@@ -800,6 +856,9 @@ Gosu:
|
|
800
856
|
color: "#82937f"
|
801
857
|
extensions:
|
802
858
|
- .gs
|
859
|
+
- .gst
|
860
|
+
- .gsx
|
861
|
+
- .vark
|
803
862
|
|
804
863
|
Grace:
|
805
864
|
type: programming
|
@@ -835,6 +894,7 @@ Groovy:
|
|
835
894
|
color: "#e69f56"
|
836
895
|
extensions:
|
837
896
|
- .groovy
|
897
|
+
- .gradle
|
838
898
|
- .grt
|
839
899
|
- .gtpl
|
840
900
|
- .gvy
|
@@ -857,7 +917,6 @@ HTML:
|
|
857
917
|
extensions:
|
858
918
|
- .html
|
859
919
|
- .htm
|
860
|
-
- .html.hl
|
861
920
|
- .st
|
862
921
|
- .xhtml
|
863
922
|
|
@@ -877,9 +936,7 @@ HTML+ERB:
|
|
877
936
|
- erb
|
878
937
|
extensions:
|
879
938
|
- .erb
|
880
|
-
- .
|
881
|
-
- .html.erb
|
882
|
-
- .html.erb.deface
|
939
|
+
- .deface
|
883
940
|
|
884
941
|
HTML+PHP:
|
885
942
|
type: markup
|
@@ -897,17 +954,14 @@ Haml:
|
|
897
954
|
type: markup
|
898
955
|
extensions:
|
899
956
|
- .haml
|
900
|
-
- .
|
901
|
-
- .html.haml.deface
|
957
|
+
- .deface
|
902
958
|
|
903
959
|
Handlebars:
|
904
960
|
type: markup
|
905
|
-
lexer:
|
961
|
+
lexer: Handlebars
|
906
962
|
extensions:
|
907
963
|
- .handlebars
|
908
964
|
- .hbs
|
909
|
-
- .html.handlebars
|
910
|
-
- .html.hbs
|
911
965
|
|
912
966
|
Harbour:
|
913
967
|
type: programming
|
@@ -933,7 +987,7 @@ Haxe:
|
|
933
987
|
|
934
988
|
Hy:
|
935
989
|
type: programming
|
936
|
-
lexer:
|
990
|
+
lexer: Hy
|
937
991
|
ace_mode: clojure
|
938
992
|
color: "#7891b1"
|
939
993
|
extensions:
|
@@ -945,6 +999,7 @@ IDL:
|
|
945
999
|
color: "#e3592c"
|
946
1000
|
extensions:
|
947
1001
|
- .pro
|
1002
|
+
- .dlm
|
948
1003
|
|
949
1004
|
INI:
|
950
1005
|
type: data
|
@@ -967,7 +1022,7 @@ Idris:
|
|
967
1022
|
|
968
1023
|
Inform 7:
|
969
1024
|
type: programming
|
970
|
-
lexer:
|
1025
|
+
lexer: Inform 7
|
971
1026
|
wrap: true
|
972
1027
|
extensions:
|
973
1028
|
- .ni
|
@@ -1019,6 +1074,7 @@ JSON:
|
|
1019
1074
|
searchable: false
|
1020
1075
|
extensions:
|
1021
1076
|
- .json
|
1077
|
+
- .lock
|
1022
1078
|
- .sublime-keymap
|
1023
1079
|
- .sublime-mousemap
|
1024
1080
|
- .sublime-project
|
@@ -1140,6 +1196,12 @@ LFE:
|
|
1140
1196
|
LLVM:
|
1141
1197
|
extensions:
|
1142
1198
|
- .ll
|
1199
|
+
|
1200
|
+
LabVIEW:
|
1201
|
+
type: programming
|
1202
|
+
lexer: Text only
|
1203
|
+
extensions:
|
1204
|
+
- .lvproj
|
1143
1205
|
|
1144
1206
|
Lasso:
|
1145
1207
|
type: programming
|
@@ -1147,6 +1209,9 @@ Lasso:
|
|
1147
1209
|
color: "#2584c3"
|
1148
1210
|
extensions:
|
1149
1211
|
- .lasso
|
1212
|
+
- .las
|
1213
|
+
- .lasso9
|
1214
|
+
- .ldml
|
1150
1215
|
|
1151
1216
|
Latte:
|
1152
1217
|
type: markup
|
@@ -1225,6 +1290,14 @@ Logtalk:
|
|
1225
1290
|
- .lgt
|
1226
1291
|
- .logtalk
|
1227
1292
|
|
1293
|
+
LookML:
|
1294
|
+
type: programming
|
1295
|
+
lexer: YAML
|
1296
|
+
ace_mode: yaml
|
1297
|
+
color: "#652B81"
|
1298
|
+
extensions:
|
1299
|
+
- .lookml
|
1300
|
+
|
1228
1301
|
Lua:
|
1229
1302
|
type: programming
|
1230
1303
|
ace_mode: lua
|
@@ -1232,6 +1305,7 @@ Lua:
|
|
1232
1305
|
extensions:
|
1233
1306
|
- .lua
|
1234
1307
|
- .nse
|
1308
|
+
- .pd_lua
|
1235
1309
|
- .rbxs
|
1236
1310
|
interpreters:
|
1237
1311
|
- lua
|
@@ -1297,7 +1371,7 @@ Mathematica:
|
|
1297
1371
|
- .mathematica
|
1298
1372
|
- .m
|
1299
1373
|
- .nb
|
1300
|
-
lexer:
|
1374
|
+
lexer: Mathematica
|
1301
1375
|
|
1302
1376
|
Matlab:
|
1303
1377
|
type: programming
|
@@ -1377,6 +1451,7 @@ Myghty:
|
|
1377
1451
|
NSIS:
|
1378
1452
|
extensions:
|
1379
1453
|
- .nsi
|
1454
|
+
- .nsh
|
1380
1455
|
|
1381
1456
|
Nemerle:
|
1382
1457
|
type: programming
|
@@ -1441,6 +1516,7 @@ OCaml:
|
|
1441
1516
|
color: "#3be133"
|
1442
1517
|
extensions:
|
1443
1518
|
- .ml
|
1519
|
+
- .eliom
|
1444
1520
|
- .eliomi
|
1445
1521
|
- .ml4
|
1446
1522
|
- .mli
|
@@ -1461,6 +1537,7 @@ Objective-C:
|
|
1461
1537
|
- objc
|
1462
1538
|
extensions:
|
1463
1539
|
- .m
|
1540
|
+
- .h
|
1464
1541
|
|
1465
1542
|
Objective-C++:
|
1466
1543
|
type: programming
|
@@ -1492,6 +1569,13 @@ Opa:
|
|
1492
1569
|
extensions:
|
1493
1570
|
- .opa
|
1494
1571
|
|
1572
|
+
Opal:
|
1573
|
+
type: programming
|
1574
|
+
color: "#f7ede0"
|
1575
|
+
lexer: Text only
|
1576
|
+
extensions:
|
1577
|
+
- .opal
|
1578
|
+
|
1495
1579
|
OpenCL:
|
1496
1580
|
type: programming
|
1497
1581
|
group: C
|
@@ -1508,6 +1592,13 @@ OpenEdge ABL:
|
|
1508
1592
|
- abl
|
1509
1593
|
extensions:
|
1510
1594
|
- .p
|
1595
|
+
- .cls
|
1596
|
+
|
1597
|
+
OpenSCAD:
|
1598
|
+
type: programming
|
1599
|
+
lexer: Text only
|
1600
|
+
extensions:
|
1601
|
+
- .scad
|
1511
1602
|
|
1512
1603
|
Org:
|
1513
1604
|
type: prose
|
@@ -1546,6 +1637,7 @@ PHP:
|
|
1546
1637
|
- .php
|
1547
1638
|
- .aw
|
1548
1639
|
- .ctp
|
1640
|
+
- .module
|
1549
1641
|
- .php3
|
1550
1642
|
- .php4
|
1551
1643
|
- .php5
|
@@ -1557,7 +1649,7 @@ PHP:
|
|
1557
1649
|
|
1558
1650
|
Pan:
|
1559
1651
|
type: programming
|
1560
|
-
lexer:
|
1652
|
+
lexer: Pan
|
1561
1653
|
color: '#cc0000'
|
1562
1654
|
extensions:
|
1563
1655
|
- .pan
|
@@ -1594,6 +1686,7 @@ Pascal:
|
|
1594
1686
|
extensions:
|
1595
1687
|
- .pas
|
1596
1688
|
- .dfm
|
1689
|
+
- .dpr
|
1597
1690
|
- .lpr
|
1598
1691
|
|
1599
1692
|
Perl:
|
@@ -1603,12 +1696,15 @@ Perl:
|
|
1603
1696
|
extensions:
|
1604
1697
|
- .pl
|
1605
1698
|
- .PL
|
1699
|
+
- .cgi
|
1700
|
+
- .fcgi
|
1606
1701
|
- .perl
|
1607
1702
|
- .ph
|
1608
1703
|
- .plx
|
1609
1704
|
- .pm
|
1610
1705
|
- .pod
|
1611
1706
|
- .psgi
|
1707
|
+
- .t
|
1612
1708
|
interpreters:
|
1613
1709
|
- perl
|
1614
1710
|
|
@@ -1625,6 +1721,13 @@ Perl6:
|
|
1625
1721
|
- .pl6
|
1626
1722
|
- .pm6
|
1627
1723
|
|
1724
|
+
PigLatin:
|
1725
|
+
type: programming
|
1726
|
+
color: "#fcd7de"
|
1727
|
+
lexer: Text only
|
1728
|
+
extensions:
|
1729
|
+
- .pig
|
1730
|
+
|
1628
1731
|
Pike:
|
1629
1732
|
type: programming
|
1630
1733
|
color: "#066ab2"
|
@@ -1777,7 +1880,7 @@ R:
|
|
1777
1880
|
|
1778
1881
|
RDoc:
|
1779
1882
|
type: prose
|
1780
|
-
lexer:
|
1883
|
+
lexer: Rd
|
1781
1884
|
ace_mode: rdoc
|
1782
1885
|
wrap: true
|
1783
1886
|
extensions:
|
@@ -1817,6 +1920,7 @@ Racket:
|
|
1817
1920
|
- .rkt
|
1818
1921
|
- .rktd
|
1819
1922
|
- .rktl
|
1923
|
+
- .scrbl
|
1820
1924
|
|
1821
1925
|
Ragel in Ruby Host:
|
1822
1926
|
type: programming
|
@@ -1886,7 +1990,10 @@ Ruby:
|
|
1886
1990
|
- .god
|
1887
1991
|
- .irbrc
|
1888
1992
|
- .mspec
|
1993
|
+
- .pluginspec
|
1889
1994
|
- .podspec
|
1995
|
+
- .rabl
|
1996
|
+
- .rake
|
1890
1997
|
- .rbuild
|
1891
1998
|
- .rbw
|
1892
1999
|
- .rbx
|
@@ -1931,6 +2038,14 @@ SCSS:
|
|
1931
2038
|
extensions:
|
1932
2039
|
- .scss
|
1933
2040
|
|
2041
|
+
SQF:
|
2042
|
+
type: programming
|
2043
|
+
color: "#FFCB1F"
|
2044
|
+
lexer: C++
|
2045
|
+
extensions:
|
2046
|
+
- .sqf
|
2047
|
+
- .hqf
|
2048
|
+
|
1934
2049
|
SQL:
|
1935
2050
|
type: data
|
1936
2051
|
ace_mode: sql
|
@@ -1960,6 +2075,7 @@ Sass:
|
|
1960
2075
|
group: CSS
|
1961
2076
|
extensions:
|
1962
2077
|
- .sass
|
2078
|
+
- .scss
|
1963
2079
|
|
1964
2080
|
Scala:
|
1965
2081
|
type: programming
|
@@ -1967,6 +2083,7 @@ Scala:
|
|
1967
2083
|
color: "#7dd3b0"
|
1968
2084
|
extensions:
|
1969
2085
|
- .scala
|
2086
|
+
- .sbt
|
1970
2087
|
- .sc
|
1971
2088
|
|
1972
2089
|
Scaml:
|
@@ -1982,6 +2099,7 @@ Scheme:
|
|
1982
2099
|
- .scm
|
1983
2100
|
- .sld
|
1984
2101
|
- .sls
|
2102
|
+
- .sps
|
1985
2103
|
- .ss
|
1986
2104
|
interpreters:
|
1987
2105
|
- guile
|
@@ -1993,6 +2111,8 @@ Scilab:
|
|
1993
2111
|
type: programming
|
1994
2112
|
extensions:
|
1995
2113
|
- .sci
|
2114
|
+
- .sce
|
2115
|
+
- .tst
|
1996
2116
|
|
1997
2117
|
Self:
|
1998
2118
|
type: programming
|
@@ -2012,8 +2132,10 @@ Shell:
|
|
2012
2132
|
- zsh
|
2013
2133
|
extensions:
|
2014
2134
|
- .sh
|
2135
|
+
- .bash
|
2015
2136
|
- .bats
|
2016
2137
|
- .tmux
|
2138
|
+
- .zsh
|
2017
2139
|
interpreters:
|
2018
2140
|
- bash
|
2019
2141
|
- sh
|
@@ -2080,6 +2202,7 @@ Standard ML:
|
|
2080
2202
|
extensions:
|
2081
2203
|
- .ML
|
2082
2204
|
- .fun
|
2205
|
+
- .sig
|
2083
2206
|
- .sml
|
2084
2207
|
|
2085
2208
|
Stata:
|
@@ -2160,10 +2283,13 @@ TeX:
|
|
2160
2283
|
extensions:
|
2161
2284
|
- .tex
|
2162
2285
|
- .aux
|
2286
|
+
- .bbx
|
2163
2287
|
- .bib
|
2288
|
+
- .cbx
|
2164
2289
|
- .cls
|
2165
2290
|
- .dtx
|
2166
2291
|
- .ins
|
2292
|
+
- .lbx
|
2167
2293
|
- .ltx
|
2168
2294
|
- .mkii
|
2169
2295
|
- .mkiv
|
@@ -2280,6 +2406,7 @@ Visual Basic:
|
|
2280
2406
|
extensions:
|
2281
2407
|
- .vb
|
2282
2408
|
- .bas
|
2409
|
+
- .cls
|
2283
2410
|
- .frm
|
2284
2411
|
- .frx
|
2285
2412
|
- .vba
|
@@ -2308,6 +2435,7 @@ XML:
|
|
2308
2435
|
- wsdl
|
2309
2436
|
extensions:
|
2310
2437
|
- .xml
|
2438
|
+
- .ant
|
2311
2439
|
- .axml
|
2312
2440
|
- .ccxml
|
2313
2441
|
- .clixml
|
@@ -2321,6 +2449,7 @@ XML:
|
|
2321
2449
|
- .fsproj
|
2322
2450
|
- .glade
|
2323
2451
|
- .grxml
|
2452
|
+
- .ivy
|
2324
2453
|
- .jelly
|
2325
2454
|
- .kml
|
2326
2455
|
- .launch
|