github-linguist 4.8.5 → 4.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/{source.sas_log.json → source.SASLog.json} +5 -6
- data/grammars/source.ahk.json +81 -57
- data/grammars/source.assembly.json +1 -1
- data/grammars/source.bro.json +4 -4
- data/grammars/source.clojure.json +32 -8
- data/grammars/source.coq.json +1 -1
- data/grammars/source.crystal.json +21 -6
- data/grammars/source.csound-document.json +71 -0
- data/grammars/source.csound-score.json +65 -0
- data/grammars/source.csound.json +494 -0
- data/grammars/source.elm.json +27 -2
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.glsl.json +96 -6
- data/grammars/source.js.jsx.json +664 -524
- data/grammars/source.nu.json +526 -0
- data/grammars/source.pawn.json +8 -109
- data/grammars/source.pony.json +1 -1
- data/grammars/source.python.json +4 -4
- data/grammars/source.regexp.babel.json +1 -1
- data/grammars/source.shell.json +4 -1
- data/grammars/source.swift.json +2 -2
- data/grammars/source.wavefront.mtl.json +1177 -0
- data/grammars/source.wavefront.obj.json +1344 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.ecr.json +52 -0
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.html.mako.json +17 -2
- data/grammars/text.html.vue.json +36 -1
- data/grammars/text.slim.json +1 -4
- data/grammars/text.tex.latex.json +2 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +75 -6
- data/lib/linguist/samples.json +1856 -71
- data/lib/linguist/version.rb +1 -1
- metadata +11 -4
- data/grammars/source.fan.json +0 -188
data/lib/linguist/version.rb
CHANGED
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.
|
4
|
+
version: 4.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -198,6 +198,7 @@ files:
|
|
198
198
|
- grammars/source.LS.json
|
199
199
|
- grammars/source.MCPOST.json
|
200
200
|
- grammars/source.MOD.json
|
201
|
+
- grammars/source.SASLog.json
|
201
202
|
- grammars/source.abap.json
|
202
203
|
- grammars/source.abl.json
|
203
204
|
- grammars/source.actionscript.3.json
|
@@ -254,6 +255,9 @@ files:
|
|
254
255
|
- grammars/source.coq.json
|
255
256
|
- grammars/source.crystal.json
|
256
257
|
- grammars/source.cs.json
|
258
|
+
- grammars/source.csound-document.json
|
259
|
+
- grammars/source.csound-score.json
|
260
|
+
- grammars/source.csound.json
|
257
261
|
- grammars/source.css.json
|
258
262
|
- grammars/source.css.less.json
|
259
263
|
- grammars/source.css.mss.json
|
@@ -277,7 +281,6 @@ files:
|
|
277
281
|
- grammars/source.erlang.json
|
278
282
|
- grammars/source.essl.json
|
279
283
|
- grammars/source.factor.json
|
280
|
-
- grammars/source.fan.json
|
281
284
|
- grammars/source.fancy.json
|
282
285
|
- grammars/source.fish.json
|
283
286
|
- grammars/source.forth.json
|
@@ -373,6 +376,7 @@ files:
|
|
373
376
|
- grammars/source.nix.json
|
374
377
|
- grammars/source.nmml.json
|
375
378
|
- grammars/source.nsis.json
|
379
|
+
- grammars/source.nu.json
|
376
380
|
- grammars/source.objc++.json
|
377
381
|
- grammars/source.objc.json
|
378
382
|
- grammars/source.objc.platform.json
|
@@ -429,7 +433,6 @@ files:
|
|
429
433
|
- grammars/source.ruby.rspec.cucumber.steps.json
|
430
434
|
- grammars/source.rust.json
|
431
435
|
- grammars/source.sas.json
|
432
|
-
- grammars/source.sas_log.json
|
433
436
|
- grammars/source.sass.json
|
434
437
|
- grammars/source.sbt.json
|
435
438
|
- grammars/source.scala.json
|
@@ -472,6 +475,8 @@ files:
|
|
472
475
|
- grammars/source.verilog.json
|
473
476
|
- grammars/source.vhdl.json
|
474
477
|
- grammars/source.viml.json
|
478
|
+
- grammars/source.wavefront.mtl.json
|
479
|
+
- grammars/source.wavefront.obj.json
|
475
480
|
- grammars/source.webidl.json
|
476
481
|
- grammars/source.x10.json
|
477
482
|
- grammars/source.x86asm.json
|
@@ -496,7 +501,9 @@ files:
|
|
496
501
|
- grammars/text.html.asp.json
|
497
502
|
- grammars/text.html.basic.json
|
498
503
|
- grammars/text.html.cfm.json
|
504
|
+
- grammars/text.html.creole.json
|
499
505
|
- grammars/text.html.django.json
|
506
|
+
- grammars/text.html.ecr.json
|
500
507
|
- grammars/text.html.elixir.json
|
501
508
|
- grammars/text.html.erb.json
|
502
509
|
- grammars/text.html.erlang.yaws.json
|
data/grammars/source.fan.json
DELETED
@@ -1,188 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fileTypes": [
|
3
|
-
"fan"
|
4
|
-
],
|
5
|
-
"firstLineMatch": "^#!/.*\\b[fan|fansubstitute]\\b",
|
6
|
-
"foldingStartMarker": "/\\*\\*|\\{\\s*$",
|
7
|
-
"foldingStopMarker": "\\*\\*/|^\\s*\\}",
|
8
|
-
"keyEquivalent": "^~F",
|
9
|
-
"name": "Fan",
|
10
|
-
"patterns": [
|
11
|
-
{
|
12
|
-
"match": "\\b(this)\\b",
|
13
|
-
"name": "support.class.fan"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"match": "\\b(assert)\\b",
|
17
|
-
"name": "support.function.fan"
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"match": "\\b(const|using|override|virtual|protected|abstract|internal|public|private|protected|new|static|final|super|is|isnot|for|foreach|in|break|continue|while|do|return|if|else|case|switch|try|catch|finally|throw|native|mixin|default|once|readonly|volatile)\\b",
|
21
|
-
"name": "keyword.control.fan"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"match": "(\\b(Bool|Num|Str(Buf)?|Void|Int|Float|List|Map|This|Obj|Func|Date|Type|Method|Pod|Field|Slot|Uri(Scheme|Space)?|File|Duration|Actor(Pool)?|Enum|Decimal|Depend|Err|Future|Locale|Log(Level|Record)?|MimeType|Month|(In|Out)Stream|Param|Process|Range|Regex|RegexMatcher|Service|TimeZone|Test|Unit|Unsafe|Uuid|Version|Weekday|Zip)\\b\\??)",
|
25
|
-
"name": "storage.type.fan"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"match": "\\b(null|true|false)\\b",
|
29
|
-
"name": "constant.language.fan"
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"match": "\\b((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)?\\b",
|
33
|
-
"name": "constant.numeric.fan"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"begin": "\"",
|
37
|
-
"beginCaptures": {
|
38
|
-
"0": {
|
39
|
-
"name": "punctuation.definition.string.begin.fan"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"end": "\"",
|
43
|
-
"endCaptures": {
|
44
|
-
"0": {
|
45
|
-
"name": "punctuation.definition.string.end.fan"
|
46
|
-
}
|
47
|
-
},
|
48
|
-
"name": "string.quoted.double.fan",
|
49
|
-
"patterns": [
|
50
|
-
{
|
51
|
-
"match": "\\\\.",
|
52
|
-
"name": "constant.character.escape.fan"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"match": "\\$[a-zA-Z_\\{][a-zA-Z_0-9\\}\\.\\(\\)]*",
|
56
|
-
"name": "source.fan.embedded.source.empty"
|
57
|
-
}
|
58
|
-
]
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"begin": "'",
|
62
|
-
"beginCaptures": {
|
63
|
-
"0": {
|
64
|
-
"name": "punctuation.definition.string.begin.fan"
|
65
|
-
}
|
66
|
-
},
|
67
|
-
"end": "'",
|
68
|
-
"endCaptures": {
|
69
|
-
"0": {
|
70
|
-
"name": "punctuation.definition.string.end.fan"
|
71
|
-
}
|
72
|
-
},
|
73
|
-
"name": "string.quoted.single.fan",
|
74
|
-
"patterns": [
|
75
|
-
{
|
76
|
-
"match": "\\\\.",
|
77
|
-
"name": "constant.character.escape.fan"
|
78
|
-
}
|
79
|
-
]
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"begin": "`",
|
83
|
-
"beginCaptures": {
|
84
|
-
"0": {
|
85
|
-
"name": "punctuation.definition.string.begin.fan"
|
86
|
-
}
|
87
|
-
},
|
88
|
-
"end": "`",
|
89
|
-
"endCaptures": {
|
90
|
-
"0": {
|
91
|
-
"name": "punctuation.definition.string.end.fan"
|
92
|
-
}
|
93
|
-
},
|
94
|
-
"name": "string.quoted.back-tick.fan",
|
95
|
-
"patterns": [
|
96
|
-
{
|
97
|
-
"match": "\\\\.",
|
98
|
-
"name": "constant.character.escape.fan"
|
99
|
-
}
|
100
|
-
]
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"begin": "/\\*",
|
104
|
-
"captures": {
|
105
|
-
"0": {
|
106
|
-
"name": "punctuation.definition.comment.fan"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
"end": "\\*/",
|
110
|
-
"name": "comment.block.fan"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"captures": {
|
114
|
-
"1": {
|
115
|
-
"name": "punctuation.definition.comment.fan"
|
116
|
-
}
|
117
|
-
},
|
118
|
-
"match": "(//).*$\\n?",
|
119
|
-
"name": "comment.line.double-slash.fan"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"captures": {
|
123
|
-
"1": {
|
124
|
-
"name": "punctuation.definition.comment.fan"
|
125
|
-
}
|
126
|
-
},
|
127
|
-
"match": "(\\*\\*).*$\\n?",
|
128
|
-
"name": "comment.line.double-star.fan"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"captures": {
|
132
|
-
"1": {
|
133
|
-
"name": "punctuation.definition.comment.fan"
|
134
|
-
}
|
135
|
-
},
|
136
|
-
"match": "(?<!\\$)(#)(?!\\{).*$\\n?",
|
137
|
-
"name": "comment.line.pound-sign.fan"
|
138
|
-
},
|
139
|
-
{
|
140
|
-
"match": "[-><!%&*+=/:]",
|
141
|
-
"name": "keyword.operator.symbolic.fan"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"captures": {
|
145
|
-
"1": {
|
146
|
-
"name": "storage.type.class.fan"
|
147
|
-
},
|
148
|
-
"2": {
|
149
|
-
"name": "entity.name.type.class.fan"
|
150
|
-
},
|
151
|
-
"3": {
|
152
|
-
"name": "storage.modifier.extends.fan"
|
153
|
-
},
|
154
|
-
"4": {
|
155
|
-
"name": "entity.other.inherited-class.fan"
|
156
|
-
}
|
157
|
-
},
|
158
|
-
"match": "\\b(class)\\s+([a-zA-Z_](?:\\w|\\.)*)(?:\\s+(\\:)\\s+([a-zA-Z_](?:\\w|\\.)*))?",
|
159
|
-
"name": "meta.class.fan"
|
160
|
-
},
|
161
|
-
{
|
162
|
-
"begin": "(?x)\n\t\t\t\t(?: ^ # begin-of-line\n\t\t\t\t| (?: (?= \\s ) (?<!else) (?<=\\w)\\s+ # or word + space before name\n\t\t\t\t| (?= \\s*[A-Za-z_] ) (?<!&&) (?<=[*&>\\[\\]])\\s* # or type modifier before name\n\t\t\t\t)\n\t\t\t\t)\n\t\t\t\t((?: [A-Za-z_][A-Za-z0-9_]*+ | :: )*+) # actual name\n\t\t\t\t\\s*?(\\() (?= # match \"(\"\n\t\t\t\t(?<fun> [^()]++ | \\( \\g<fun>*+ \\) )*+ # function arguments\n\t\t\t\t\\) # match \")\"\n\t\t\t\t\\s*(\\{|\\n|//|/\\*)) # start bracket or end-of-line\n\t\t\t",
|
163
|
-
"beginCaptures": {
|
164
|
-
"1": {
|
165
|
-
"name": "entity.name.function.fan"
|
166
|
-
},
|
167
|
-
"2": {
|
168
|
-
"name": "punctuation.definition.parameters.fan"
|
169
|
-
}
|
170
|
-
},
|
171
|
-
"comment": "adapted from meta.function.c in the c lang module",
|
172
|
-
"end": "\\)",
|
173
|
-
"endCaptures": {
|
174
|
-
"0": {
|
175
|
-
"name": "punctuation.definition.parameters.fan"
|
176
|
-
}
|
177
|
-
},
|
178
|
-
"name": "meta.method.fan",
|
179
|
-
"patterns": [
|
180
|
-
{
|
181
|
-
"include": "$base"
|
182
|
-
}
|
183
|
-
]
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"scopeName": "source.fan",
|
187
|
-
"uuid": "4EC5A41E-2632-4D6D-A0A1-8CD0B0E0EECB"
|
188
|
-
}
|