github-linguist 7.20.0 → 7.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/source.abl.json +1 -1
- data/grammars/source.astro.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.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.miniyaml.json +1 -1
- data/grammars/source.mlir.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.p4.json +1 -1
- data/grammars/source.portugol.json +1 -0
- data/grammars/source.renpy.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- 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.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.whiley.json +1 -0
- 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/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +21 -0
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +167 -4
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +3 -0
- metadata +17 -5
- 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
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.
|
4
|
+
version: 7.21.0
|
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-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charlock_holmes
|
@@ -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
|
@@ -644,6 +649,7 @@ files:
|
|
644
649
|
- grammars/source.po.json
|
645
650
|
- grammars/source.pogoscript.json
|
646
651
|
- grammars/source.pony.json
|
652
|
+
- grammars/source.portugol.json
|
647
653
|
- grammars/source.postcss.json
|
648
654
|
- grammars/source.postscript.json
|
649
655
|
- grammars/source.pov-ray sdl.json
|
@@ -733,8 +739,10 @@ files:
|
|
733
739
|
- grammars/source.sql.json
|
734
740
|
- grammars/source.ssh-config.json
|
735
741
|
- grammars/source.stan.json
|
742
|
+
- grammars/source.star.json
|
736
743
|
- grammars/source.stata.json
|
737
744
|
- grammars/source.stdbez.json
|
745
|
+
- grammars/source.stl.json
|
738
746
|
- grammars/source.string-template.json
|
739
747
|
- grammars/source.strings.json
|
740
748
|
- grammars/source.stylus.json
|
@@ -776,7 +784,6 @@ files:
|
|
776
784
|
- grammars/source.vhdl.json
|
777
785
|
- grammars/source.vim-snippet.json
|
778
786
|
- grammars/source.viml.json
|
779
|
-
- grammars/source.vtt.json
|
780
787
|
- grammars/source.vyper.json
|
781
788
|
- grammars/source.wavefront.mtl.json
|
782
789
|
- grammars/source.wavefront.obj.json
|
@@ -784,6 +791,7 @@ files:
|
|
784
791
|
- grammars/source.webassembly.json
|
785
792
|
- grammars/source.webidl.json
|
786
793
|
- grammars/source.wgetrc.json
|
794
|
+
- grammars/source.whiley.json
|
787
795
|
- grammars/source.win32-messages.json
|
788
796
|
- grammars/source.witcherscript.json
|
789
797
|
- grammars/source.wollok.json
|
@@ -803,6 +811,7 @@ files:
|
|
803
811
|
- grammars/source.yang.json
|
804
812
|
- grammars/source.yara.json
|
805
813
|
- grammars/source.yasnippet.json
|
814
|
+
- grammars/source.yul.json
|
806
815
|
- grammars/source.zap.json
|
807
816
|
- grammars/source.zeek.json
|
808
817
|
- grammars/source.zenscript.json
|
@@ -822,6 +831,7 @@ files:
|
|
822
831
|
- grammars/text.gherkin.feature.json
|
823
832
|
- grammars/text.haml.json
|
824
833
|
- grammars/text.hamlc.json
|
834
|
+
- grammars/text.hash-commented.json
|
825
835
|
- grammars/text.html.asciidoc.json
|
826
836
|
- grammars/text.html.asdoc.json
|
827
837
|
- grammars/text.html.asp.json
|
@@ -856,6 +866,7 @@ files:
|
|
856
866
|
- grammars/text.html.smarty.json
|
857
867
|
- grammars/text.html.soy.json
|
858
868
|
- grammars/text.html.ssp.json
|
869
|
+
- grammars/text.html.statamic.json
|
859
870
|
- grammars/text.html.tcl.json
|
860
871
|
- grammars/text.html.twig.json
|
861
872
|
- grammars/text.html.vue.json
|
@@ -892,6 +903,7 @@ files:
|
|
892
903
|
- grammars/text.tex.latex.rd.json
|
893
904
|
- grammars/text.texinfo.json
|
894
905
|
- grammars/text.vim-help.json
|
906
|
+
- grammars/text.vtt.json
|
895
907
|
- grammars/text.xml.ant.json
|
896
908
|
- grammars/text.xml.flex-config.json
|
897
909
|
- 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":".+"}]}}}}}
|