github-linguist 7.20.0 → 7.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +584 -498
- data/ext/linguist/lex.linguist_yy.h +2 -3
- data/ext/linguist/tokenizer.l +52 -15
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.astro.json +1 -1
- data/grammars/source.ats.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.bms.json +1 -1
- data/grammars/source.brs.json +1 -0
- data/grammars/source.cairo.json +1 -1
- data/grammars/source.cds.json +1 -0
- data/grammars/source.clarion.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.css.json +1 -1
- data/grammars/source.csswg.json +1 -0
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.curry.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gcode.json +1 -1
- data/grammars/source.gdresource.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gdshader.json +1 -0
- data/grammars/source.git-revlist.json +1 -0
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hlasm.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.icurry.json +1 -1
- data/grammars/source.jsligo.json +1 -0
- data/grammars/source.json.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.livescript.json +1 -1
- data/grammars/source.miniyaml.json +1 -1
- data/grammars/source.mlir.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -0
- data/grammars/source.nix.json +1 -1
- data/grammars/source.pony.json +1 -1
- data/grammars/source.portugol.json +1 -0
- data/grammars/source.rego.json +1 -1
- data/grammars/source.renpy.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rsc.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.star.json +1 -0
- data/grammars/source.stl.json +1 -0
- data/grammars/source.svelte.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.velocity.html.json +1 -0
- data/grammars/source.velocity.json +1 -0
- data/grammars/source.whiley.json +1 -0
- data/grammars/source.wren.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.yul.json +1 -0
- data/grammars/text.hash-commented.json +1 -0
- data/grammars/text.html.statamic.json +1 -0
- data/grammars/text.srt.json +1 -1
- data/grammars/text.vtt.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +2 -2
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +22 -1
- data/lib/linguist/language.rb +3 -4
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +218 -4
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +4 -1
- metadata +30 -13
- data/grammars/source.brightauthorproject.json +0 -1
- data/grammars/source.brightscript.json +0 -1
- data/grammars/source.vtt.json +0 -1
data/lib/linguist/vendor.yml
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
- ([^\s]*)import\.(css|less|scss|styl)$
|
75
75
|
|
76
76
|
# Bootstrap css and js
|
77
|
-
- (^|/)bootstrap([^/.]*)
|
77
|
+
- (^|/)bootstrap([^/.]*)(?=\.).*\.(js|css|less|scss|styl)$
|
78
78
|
- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$
|
79
79
|
|
80
80
|
# Font Awesome
|
@@ -383,3 +383,6 @@
|
|
383
383
|
|
384
384
|
# Gitpod
|
385
385
|
- (^|/)\.gitpod\.Dockerfile$
|
386
|
+
|
387
|
+
# GitHub.com
|
388
|
+
- (^|/)\.github/
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: cgi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: charlock_holmes
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.7.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.7.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mini_mime
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -305,8 +305,7 @@ files:
|
|
305
305
|
- grammars/source.boo.json
|
306
306
|
- grammars/source.boogie.json
|
307
307
|
- grammars/source.bp.json
|
308
|
-
- grammars/source.
|
309
|
-
- grammars/source.brightscript.json
|
308
|
+
- grammars/source.brs.json
|
310
309
|
- grammars/source.bsl.json
|
311
310
|
- grammars/source.bsv.json
|
312
311
|
- grammars/source.c++.json
|
@@ -322,6 +321,7 @@ files:
|
|
322
321
|
- grammars/source.cairo.json
|
323
322
|
- grammars/source.camlp4.ocaml.json
|
324
323
|
- grammars/source.capnp.json
|
324
|
+
- grammars/source.cds.json
|
325
325
|
- grammars/source.ceylon.json
|
326
326
|
- grammars/source.cfscript.cfc.json
|
327
327
|
- grammars/source.cfscript.json
|
@@ -359,6 +359,7 @@ files:
|
|
359
359
|
- grammars/source.css.mss.json
|
360
360
|
- grammars/source.css.postcss.sugarss.json
|
361
361
|
- grammars/source.css.scss.json
|
362
|
+
- grammars/source.csswg.json
|
362
363
|
- grammars/source.cuda-c++.json
|
363
364
|
- grammars/source.cue.json
|
364
365
|
- grammars/source.cuesheet.json
|
@@ -432,7 +433,9 @@ files:
|
|
432
433
|
- grammars/source.gdb.json
|
433
434
|
- grammars/source.gdb.session.json
|
434
435
|
- grammars/source.gdbregs.json
|
436
|
+
- grammars/source.gdresource.json
|
435
437
|
- grammars/source.gdscript.json
|
438
|
+
- grammars/source.gdshader.json
|
436
439
|
- grammars/source.gedcom.json
|
437
440
|
- grammars/source.gemfile-lock.json
|
438
441
|
- grammars/source.generic-db.json
|
@@ -442,6 +445,7 @@ files:
|
|
442
445
|
- grammars/source.gf.json
|
443
446
|
- grammars/source.gfm.blade.json
|
444
447
|
- grammars/source.gfm.json
|
448
|
+
- grammars/source.git-revlist.json
|
445
449
|
- grammars/source.gitattributes.json
|
446
450
|
- grammars/source.gitconfig.json
|
447
451
|
- grammars/source.gitignore.json
|
@@ -512,6 +516,7 @@ files:
|
|
512
516
|
- grammars/source.js.regexp.json
|
513
517
|
- grammars/source.js.regexp.replacement.json
|
514
518
|
- grammars/source.jsdoc.json
|
519
|
+
- grammars/source.jsligo.json
|
515
520
|
- grammars/source.json.json
|
516
521
|
- grammars/source.jsoniq.json
|
517
522
|
- grammars/source.jsonnet.json
|
@@ -572,6 +577,7 @@ files:
|
|
572
577
|
- grammars/source.modula2.json
|
573
578
|
- grammars/source.monkey.json
|
574
579
|
- grammars/source.moonscript.json
|
580
|
+
- grammars/source.move.json
|
575
581
|
- grammars/source.mql5.json
|
576
582
|
- grammars/source.msl.json
|
577
583
|
- grammars/source.mupad.json
|
@@ -644,6 +650,7 @@ files:
|
|
644
650
|
- grammars/source.po.json
|
645
651
|
- grammars/source.pogoscript.json
|
646
652
|
- grammars/source.pony.json
|
653
|
+
- grammars/source.portugol.json
|
647
654
|
- grammars/source.postcss.json
|
648
655
|
- grammars/source.postscript.json
|
649
656
|
- grammars/source.pov-ray sdl.json
|
@@ -698,6 +705,7 @@ files:
|
|
698
705
|
- grammars/source.rpg.json
|
699
706
|
- grammars/source.rpgle.json
|
700
707
|
- grammars/source.rpm-spec.json
|
708
|
+
- grammars/source.rsc.json
|
701
709
|
- grammars/source.ruby.gemfile.json
|
702
710
|
- grammars/source.ruby.json
|
703
711
|
- grammars/source.ruby.rspec.cucumber.steps.json
|
@@ -733,8 +741,10 @@ files:
|
|
733
741
|
- grammars/source.sql.json
|
734
742
|
- grammars/source.ssh-config.json
|
735
743
|
- grammars/source.stan.json
|
744
|
+
- grammars/source.star.json
|
736
745
|
- grammars/source.stata.json
|
737
746
|
- grammars/source.stdbez.json
|
747
|
+
- grammars/source.stl.json
|
738
748
|
- grammars/source.string-template.json
|
739
749
|
- grammars/source.strings.json
|
740
750
|
- grammars/source.stylus.json
|
@@ -772,11 +782,12 @@ files:
|
|
772
782
|
- grammars/source.vala.json
|
773
783
|
- grammars/source.varnish.vcl.json
|
774
784
|
- grammars/source.vbnet.json
|
785
|
+
- grammars/source.velocity.html.json
|
786
|
+
- grammars/source.velocity.json
|
775
787
|
- grammars/source.verilog.json
|
776
788
|
- grammars/source.vhdl.json
|
777
789
|
- grammars/source.vim-snippet.json
|
778
790
|
- grammars/source.viml.json
|
779
|
-
- grammars/source.vtt.json
|
780
791
|
- grammars/source.vyper.json
|
781
792
|
- grammars/source.wavefront.mtl.json
|
782
793
|
- grammars/source.wavefront.obj.json
|
@@ -784,9 +795,11 @@ files:
|
|
784
795
|
- grammars/source.webassembly.json
|
785
796
|
- grammars/source.webidl.json
|
786
797
|
- grammars/source.wgetrc.json
|
798
|
+
- grammars/source.whiley.json
|
787
799
|
- grammars/source.win32-messages.json
|
788
800
|
- grammars/source.witcherscript.json
|
789
801
|
- grammars/source.wollok.json
|
802
|
+
- grammars/source.wren.json
|
790
803
|
- grammars/source.ws.json
|
791
804
|
- grammars/source.wsd.json
|
792
805
|
- grammars/source.x10.json
|
@@ -803,6 +816,7 @@ files:
|
|
803
816
|
- grammars/source.yang.json
|
804
817
|
- grammars/source.yara.json
|
805
818
|
- grammars/source.yasnippet.json
|
819
|
+
- grammars/source.yul.json
|
806
820
|
- grammars/source.zap.json
|
807
821
|
- grammars/source.zeek.json
|
808
822
|
- grammars/source.zenscript.json
|
@@ -822,6 +836,7 @@ files:
|
|
822
836
|
- grammars/text.gherkin.feature.json
|
823
837
|
- grammars/text.haml.json
|
824
838
|
- grammars/text.hamlc.json
|
839
|
+
- grammars/text.hash-commented.json
|
825
840
|
- grammars/text.html.asciidoc.json
|
826
841
|
- grammars/text.html.asdoc.json
|
827
842
|
- grammars/text.html.asp.json
|
@@ -856,6 +871,7 @@ files:
|
|
856
871
|
- grammars/text.html.smarty.json
|
857
872
|
- grammars/text.html.soy.json
|
858
873
|
- grammars/text.html.ssp.json
|
874
|
+
- grammars/text.html.statamic.json
|
859
875
|
- grammars/text.html.tcl.json
|
860
876
|
- grammars/text.html.twig.json
|
861
877
|
- grammars/text.html.vue.json
|
@@ -892,6 +908,7 @@ files:
|
|
892
908
|
- grammars/text.tex.latex.rd.json
|
893
909
|
- grammars/text.texinfo.json
|
894
910
|
- grammars/text.vim-help.json
|
911
|
+
- grammars/text.vtt.json
|
895
912
|
- grammars/text.xml.ant.json
|
896
913
|
- grammars/text.xml.flex-config.json
|
897
914
|
- grammars/text.xml.genshi.json
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"BrightAuthor Project File","scopeName":"source.brightauthorproject","patterns":[{"include":"text.xml"},{"name":"keyword.control.untitled","match":"\\b(if|while|for|return)\\b"},{"name":"string.quoted.double.untitled","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.untitled","match":"\\."}]}]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"BrightScript","scopeName":"source.brightscript","patterns":[{"include":"#functions"},{"include":"#program_statements"},{"include":"#operators"},{"include":"#support_functions"},{"include":"#storage_types"},{"include":"#literals"},{"include":"#constant_numeric"},{"name":"comment.line.apostrophe.brightscript","match":"(').*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.brightscript"}}},{"name":"comment.line.rem.brightscript","match":"^\\s*?(?i:rem\\s).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.brightscript"}}},{"name":"string.quoted.double.brightscript","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.brightscript","match":"\\\\."},{"include":"#class_roku_builtin"}]}],"repository":{"class":{"name":"meta.class.brightscript"},"class_roku_builtin":{"name":"support.class.brightscript","match":"(?i:\\bro(R(ss(Parser|Article)|e(sourceManager|ctangle|ad(File|WriteFile)|gistry(Section)?))|G(pio(Button|ControlPort)|lobal)|XML(Element|List)|MessagePort|B(yteArray|oolean|r(Sub|ightPackage))|S(ystemTime|t(orageInfo|ring( )?)|erialPort( )?)|NetworkConfiguration|C(ontrol(Down( )?|Up|Port)|ecInterface|lockWidget|reateFile)|T(imer|ouchScreen( )?|ext(Field|Widget))|I(RRemote( )?|n(t|valid)|mage(Player|Widget))|D(eviceInfo( )?|at(eTime|agram(Receiver|Sender)))|Url(Transfer|Event)|Video(Mode|Input|Player|Event)|Keyboard(Press( )?| )?|Quadravox(Button( )?|SNS5( )?)|Float|List|A(ssociativeArray|udio(Player|Event)|ppendFile|rray))\\b)"},"constant_numeric":{"name":"constant.numeric.brightscript","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"},"functions":{"name":"meta.function.brightscript","match":"^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?","captures":{"1":{"name":"storage.type.function.brightscript"},"2":{"name":"entity.name.function.brightscript"},"3":{"name":"punctuation.definition.parameters.brightscript"},"4":{"name":"variable.parameter.function.brightscript"},"5":{"name":"punctuation.definition.parameters.brightscript"}}},"literals":{"name":"constant.language.brightscript","match":"(?i:\\b(N(othing|ull)|True|Invalid|Empty|False)\\b)"},"operators":{"name":"keyword.operator.brightscript","match":"=|\u003e=|\u003czz|\u003e|\u003c|\u003c\u003e|\\+|-|\\*|\\/|\\^|\u0026|\\b(?i:(And|Not|Or))\\b"},"program_statements":{"name":"keyword.control.brightscript","match":"(?i:\\b(s(t(op|ep)|ub)|i(n|f)|t(hen|o)|dim|print|e(nd(if| (sub|f(or|unction)|while))?|lse(if)?|xit (for|while))|f(or( each)?|unction)|as|while|re(turn|m)|goto)?\\b)"},"storage_types":{"name":"storage.type.brightscript","match":"(?i:\\b(string|in(te(rface|ger)|valid)|object|double|float|b(oolean|rsub))\\b)"},"support_builtin_functions":{"name":"support.function.brightscript","match":"(?i:\\b(GetLastRun(RuntimeError|CompileError)|R(nd|un)|Box|Type)\\b)"},"support_component_functions":{"name":"support.function.component.brightscript","match":"(?i:\\b(R(ight|e(set(Index)?|ad(B(yte(IfAvailable)?|lock)|File|Line)?|move(Head|Tail|Index)))|Ge(nXML(Header)?|t(Res(ource|ponse(Headers|Code))|X|M(i(nute|llisecond)|o(nth|de(l)?)|essage)|B(yte(sPerBlock|Array)|o(o(tVersion(Number)?|lean)|dy))|S(t(orageCardInfo|a(ndards|tusByte)|ring(Count)?)|i(zeInMegabytes|gnedByte)|ource(Host|Identity|Port)|ub|ec(tionList|ond)|afe(X|Height|Y|Width))|H(o(stName|ur)|e(ight|ad))|Y(ear)?|N(extArticle|ame(dElements)?)|C(hildElements|ontrols|urrent(Standard|Con(trolValue|fig)|Input))|T(i(tle|me(Server|Zone))|o(String|File)|ext|ail)|I(n(t|dex|puts)|dentity)|ZoneDateTime|D(e(scription|vice(BootCount|Name|U(niqueId|ptime)))|a(y(OfWeek)?|ta))|U(se(dInMegabytes|rData)|tcDateTime)|Ent(ityEncode|ry)|V(ersion(Number)?|alue)|KeyList|F(ileSystemType|loat|a(ilureReason|mily)|reeInMegabytes)|W(holeState|idth)|LocalDateTime|Attributes))|M(id|D5|ap(StereoOutput(Aux)?|DigitalOutput))|Boolean|S(h(ift|ow)|canWiFi|t(op(Clear|Display)?|art|r(i(ng)?)?)|implify|ubtract(Milliseconds|Seconds)|e(nd(RawMessage|B(yte|lock)|Line)?|t(R(ollOverRegion|e(s(ize|olution)|c(tangle|eiveEol)))|X|M(i(n(imumTransferRate|ute)|llisecond)|o(nth|de(CaseSensitive)?)|ultiscreenBezel)|B(yteEventPort|o(olean|dy)|a(ckground(Bitmap|Color)|udRate))|S(t(andard|ring)|ub|e(ndEol|cond)|afeTextRegion)|H(o(stName|ur)|eight)|Y(ear)?|Name|C(hannelVolumes(Aux)?|ontrolValue|ursor(Bitmap|Pos(ition)?))|Time(Server|Zone)?|I(n(t|put)|P4(Gateway|Broadcast|Netmask|Address))|OutputState|D(HCP|omain|e(stination|fault(Mode|Transistion))|a(y(OfWeek)?|te(Time)?))|U(ser(Data|AndPassword)|tcDateTime|rl)|P(o(werSaveMode|rt)|assword|roxy)|E(ntry|cho|ol)|V(iewMode|olume(Aux)?)|F(o(nt|r(egroundColor|groundColor))|l(oat|ashRate))|W(holeState|i(dth|Fi(Passphrase|ESSID)))|L(ineEventPort|o(calDateTime|opMode)|auguage)|Audio(Mode(Aux)?|Stream(Aux)?|Output(Aux)?))|ek(Relative|ToEnd|Absolute)))|H(ide|ead|asAttribute)|N(ormalize|ext)|C(hr|ount|urrentPosition|l(s|ear(Region|Events)?))|T(o(Base64String|HexString|kenize|AsciiString)|estInter(netConnectivity|face)|rim)|I(s(MousePresent|N(ext|ame)|InputActive|Empty|Valid|LittleEndianCPU)|n(str|te(rface|ger)|valid))|Object|D(ynamic|isplay(Preload|File(Ex)?)|o(uble|esExist)|elete)|U(n(shift|pack)|Case)|P(o(st(Message|From(String|File))|p(String(s)?)?)|ush(String)?|eek|lay(StaticImage|File)?|arse(String|File)?|reloadFile(Ex)?)|E(nable(R(ollover|egion)|Cursor|Input|Output)|xists)|Void|F(indIndex|unction|l(oat|ush)|rom(Base64String|HexString|AsciiString))|W(hile|aitMessage|rite(File)?)|L(ookup|e(n|ft))|A(s(ync(GetTo(String|File)|Head|PostFrom(String|File)|Flush)|c)?|tEof|dd(Re(ctangle(Region|_region)|place)|Milliseconds|BodyElement|Seconds|Head(er)?|CircleRegion|Tail|DNSServer|E(vent|lement(WithBody)?)|Attribute)|pp(end(String|File)?|ly)))\\b)"},"support_functions":{"patterns":[{"include":"#support_builtin_functions"},{"include":"#support_global_functions"},{"include":"#support_global_string_functions"},{"include":"#support_global_math_functions"},{"include":"#support_component_functions"}]},"support_global_functions":{"name":"support.function.brightscript","match":"(?i:\\b(Re(adAsciiFile|bootSystem)|GetInterface|MatchFiles|Sleep|C(opyFile|reate(Directory|Object))|Delete(Directory|File)|UpTime|FormatDrive|ListDir|W(ait|riteAsciiFile))\\b)"},"support_global_math_functions":{"name":"support.function.brightscript","match":"(?i:\\b(S(in|qr|gn)|C(sng|dbl|os)|Tan|Int|Exp|Fix|Log|A(tn|bs))\\b)"},"support_global_string_functions":{"name":"support.function.brightscript","match":"(?i:\\b(Right|Mid|Str(i(ng(i)?)?)?|Chr|Instr|UCase|Val|Asc|L(Case|e(n|ft)))\\b)"}}}
|
data/grammars/source.vtt.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"WebVTT","scopeName":"source.vtt","patterns":[{"include":"#file_body"}],"repository":{"_cue_timings_and_settings_list":{"match":"^(.+?\\s+--\u003e\\s+.+?)(?:\\s+(.+))?$","captures":{"1":{"patterns":[{"include":"#cue_timings"}]},"2":{"patterns":[{"include":"#cue_settings_list"}]}}},"alignment_cue_setting":{"name":"meta.alignment-cue-setting.vtt","match":"(align)(:)([^\\s]+)","captures":{"1":{"name":"support.type.alignment-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"support.constant.alignment-cue-setting.vtt","match":"(?:^|\\G)(?:start|center|end|left|right)(?=$)"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"comment_block":{"name":"meta.comment-block.vtt","begin":"^(NOTE)(?:\\s(.*))?$","end":"^$","patterns":[{"name":"comment.line.character.vtt","match":".+"}],"beginCaptures":{"1":{"name":"entity.name.section.comment.vtt"},"2":{"name":"comment.line.character.vtt"}}},"cue_block":{"name":"meta.cue-block.vtt","begin":"^.+$","end":"^$","patterns":[{"include":"#_cue_timings_and_settings_list"},{"include":"#cue_text"}],"beginCaptures":{"0":{"patterns":[{"include":"#cue_identifier"},{"include":"#_cue_timings_and_settings_list"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"cue_bold_span":{"name":"meta.cue-bold-span.vtt"},"cue_class_span":{"name":"meta.cue-class-span.vtt"},"cue_components":{"name":"meta.cue-components.vtt","patterns":[{"include":"#cue_class_span"},{"include":"#cue_italics_span"},{"include":"#cue_bold_span"},{"include":"#cue_underline_span"},{"include":"#cue_ruby_span"},{"include":"#cue_voice_span"},{"include":"#cue_language_span"},{"include":"#cue_timestamp"},{"include":"#cue_text_span"},{"include":"#html_character_reference"}]},"cue_identifier":{"name":"meta.cue-identifier.vtt","match":"(?:^|\\G)(?!.*--\u003e).*$","captures":{"0":{"name":"variable.other.cue-identifier.vtt"}}},"cue_italics_span":{"name":"meta.cue-italics-span.vtt"},"cue_language_span":{"name":"meta.cue-language-span.vtt"},"cue_ruby_span":{"name":"meta.cue-ruby-span.vtt"},"cue_settings_list":{"name":"meta.cue-settings-list.vtt","patterns":[{"include":"#vertical_text_cue_setting"},{"include":"#line_cue_setting"},{"include":"#position_cue_setting"},{"include":"#size_cue_setting"},{"include":"#alignment_cue_setting"},{"include":"#region_cue_setting"}]},"cue_text":{"name":"meta.cue-text.vtt","patterns":[{"include":"#cue_components"},{"include":"text.html.basic"}]},"cue_text_span":{"name":"meta.cue-text-span.vtt"},"cue_timestamp":{"name":"meta.cue-timestamp.vtt"},"cue_timings":{"name":"meta.cue-timings.vtt","match":"(?:^|\\G)(.+?)\\s+(--\u003e)\\s+(.+?)(?=$)","captures":{"1":{"patterns":[{"include":"#timestamp"},{"name":"invalid.illegal.vtt","match":".+"}]},"2":{"name":"punctuation.separator.vtt"},"3":{"patterns":[{"include":"#timestamp"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"cue_underline_span":{"name":"meta.cue-underline-span.vtt"},"cue_voice_span":{"name":"meta.cue-voice-span.vtt"},"file_body":{"name":"meta.file-body.vtt","begin":"^(WEBVTT)(?:\\s+(.*))?$","patterns":[{"include":"#region_definition_block"},{"include":"#style_block"},{"include":"#comment_block"},{"include":"#cue_block"}],"beginCaptures":{"1":{"name":"entity.name.section.webvtt.vtt"},"2":{"name":"comment.line.character.vtt"}}},"html_character_reference":{"name":"meta.html-character-reference.vtt"},"line_cue_setting":{"name":"meta.line-cue-setting.vtt","match":"(line)(:)([^\\s]+)","captures":{"1":{"name":"support.type.line-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"match":"(?:^|\\G)(.+?)(?:(,)(.+))?(?=$)","captures":{"1":{"patterns":[{"name":"constant.numeric.line-cue-setting.vtt","match":"(?:^|\\G)-?\\d+(?=$)"},{"include":"#percentage"},{"name":"invalid.illegal.vtt","match":".+"}]},"2":{"name":"punctuation.separator.comma.vtt"},"3":{"patterns":[{"name":"support.constant.line-cue-setting.vtt","match":"(?:^|\\G)(?:start|center|end)(?=$)"},{"name":"invalid.illegal.vtt","match":".+"}]}}}]}}},"percentage":{"name":"meta.percentage.vtt","match":"(?:^|\\G)\\d+(?:\\.\\d+)?%(?=$)","captures":{"0":{"name":"constant.numeric.percentage.vtt"}}},"position_cue_setting":{"name":"meta.position-cue-setting.vtt","match":"(position)(:)([^\\s]+)","captures":{"1":{"name":"support.type.position-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"match":"(?:^|\\G)(.+?)(?:(,)(.+))?(?=$)","captures":{"1":{"patterns":[{"include":"#percentage"},{"name":"invalid.illegal.vtt","match":".+"}]},"2":{"name":"punctuation.separator.comma.vtt"},"3":{"patterns":[{"name":"support.constant.position-cue-setting.vtt","match":"(?:^|\\G)(?:line-left|center|line-right)(?=$)"},{"name":"invalid.illegal.vtt","match":".+"}]}}}]}}},"region_anchor_setting":{"name":"meta.region-anchor-setting.vtt","match":"(regionanchor)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-anchor-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"match":"(.+)(,)(.+)","captures":{"1":{"patterns":[{"include":"#percentage"}]},"2":{"name":"punctuation.separator.comma.vtt"},"3":{"patterns":[{"include":"#percentage"}]}}},{"name":"invalid.illegal.vtt","match":".+"}]}}},"region_cue_setting":{"name":"meta.region-cue-setting.vtt","match":"(region)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"invalid.illegal.vtt","match":".*--\u003e.*"},{"name":"string.unquoted.region-cue-setting.vtt","match":"[^\\s]+"}]}}},"region_definition_block":{"name":"meta.region-definition-block.vtt","begin":"^(REGION)\\s*","end":"^$","patterns":[{"include":"#region_settings_list"}],"beginCaptures":{"1":{"name":"entity.name.section.region.vtt"}}},"region_identifier_setting":{"name":"meta.region-identifier-setting.vtt","match":"(id)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-identifier-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"invalid.illegal.vtt","match":".*--\u003e.*"},{"name":"string.unquoted.region-identifier-setting.vtt","match":"[^\\s]+"}]}}},"region_lines_setting":{"name":"meta.region-lines-setting.vtt","match":"(lines)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-lines-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"constant.numeric.region-lines-setting.vtt","match":"\\d+"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"region_scroll_setting":{"name":"meta.region-scroll-setting.vtt","match":"(scroll)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-scroll-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"support.constant.region-scroll-setting.vtt","match":"(?:^|\\G)up(?=$)"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"region_settings_list":{"name":"meta.region-settings-list.vtt","patterns":[{"include":"#region_identifier_setting"},{"include":"#region_width_setting"},{"include":"#region_lines_setting"},{"include":"#region_anchor_setting"},{"include":"#region_viewport_anchor_setting"},{"include":"#region_scroll_setting"}]},"region_viewport_anchor_setting":{"name":"meta.region-viewport-anchor-setting.vtt","match":"(viewportanchor)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-viewport-anchor-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"match":"(.*)(,)(.*)","captures":{"1":{"patterns":[{"include":"#percentage"}]},"2":{"name":"punctuation.separator.comma.vtt"},"3":{"patterns":[{"include":"#percentage"}]}}},{"name":"invalid.illegal.vtt","match":".+"}]}}},"region_width_setting":{"name":"meta.region-width-setting.vtt","match":"(width)(:)([^\\s]+)","captures":{"1":{"name":"support.type.region-width-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"include":"#percentage"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"size_cue_setting":{"name":"meta.size-cue-setting.vtt","match":"(size)(:)([^\\s]+)","captures":{"1":{"name":"support.type.size-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"include":"#percentage"},{"name":"invalid.illegal.vtt","match":".+"}]}}},"style_block":{"name":"meta.style-block.vtt","begin":"^(STYLE)\\s*","end":"^$","patterns":[{"name":"invalid.illegal.vtt","match":".*--\u003e.*"},{"include":"source.css"}],"beginCaptures":{"1":{"name":"entity.name.section.style.vtt"}}},"timestamp":{"name":"meta.timestamp.vtt","match":"(?:^|\\G)(?:(\\d{2,})(:))?([0-5]\\d)(:)([0-5]\\d\\.\\d{3})(?=$)","captures":{"1":{"name":"constant.numeric.time.hour.vtt"},"2":{"name":"punctuation.separator.colon.vtt"},"3":{"name":"constant.numeric.time.minute.vtt"},"4":{"name":"punctuation.separator.colon.vtt"},"5":{"name":"constant.numeric.time.second.vtt"}}},"vertical_text_cue_setting":{"name":"meta.vertical-text-cue-setting.vtt","match":"(vertical)(:)([^\\s]+)","captures":{"1":{"name":"support.type.vertical-text-cue-setting.vtt"},"2":{"name":"punctuation.definition.colon.vtt"},"3":{"patterns":[{"name":"support.constant.vertical-text-cue-setting.vtt","match":"(?:^|\\G)(?:rl|lr)(?=$)"},{"name":"invalid.illegal.vtt","match":".+"}]}}}}}
|