grammars/source.vtt.json in github-linguist-7.11.1 vs grammars/source.vtt.json in github-linguist-7.12.0
- old
+ new
@@ -1,702 +2 @@
-{
- "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": ".+"
- }
- ]
- }
- }
- }
- }
-}
+{"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":".+"}]}}}}}