github-linguist 7.24.0 → 7.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/govulncheck.json +1 -0
- data/grammars/liquid.injection.json +1 -1
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.arr.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.ats.json +1 -1
- data/grammars/source.basic.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.cds.json +1 -1
- data/grammars/source.chapel.json +1 -1
- data/grammars/source.circom.json +1 -0
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.editorconfig.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.generic-config.json +1 -0
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gleam.json +1 -1
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.hocon.json +1 -1
- data/grammars/source.hosts.json +1 -1
- data/grammars/source.j.json +1 -1
- data/grammars/source.jflex.json +1 -1
- data/grammars/source.kerboscript.json +1 -0
- data/grammars/source.kickstart.json +1 -0
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.m2.json +1 -1
- data/grammars/source.mermaid.flowchart.json +1 -1
- data/grammars/source.mermaid.json +1 -1
- data/grammars/source.mermaid.mindmap.json +1 -0
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -1
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nim_filter.json +1 -1
- data/grammars/source.nimcfg.json +1 -1
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.polar.json +1 -1
- data/grammars/source.postscript.json +1 -1
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.singularity.json +1 -1
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.stan.json +1 -1
- data/grammars/source.svelte.json +1 -1
- data/grammars/source.sway.json +1 -0
- data/grammars/source.talon.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsql.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.turtle.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.yara.json +1 -1
- data/grammars/text.adblock.json +1 -1
- data/grammars/text.checksums.json +1 -1
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.restructuredtext.json +1 -1
- data/grammars/text.sfd.json +1 -1
- data/grammars/text.xml.svg.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +8 -0
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +38 -13
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +132 -16
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +3 -0
- metadata +11 -4
- data/grammars/source.nim.comment.json +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"name":"reStructuredText","scopeName":"text.restructuredtext","patterns":[{"include":"#all"}],"repository":{"all":{"patterns":[{"include":"#escape"},{"include":"#line-block"},{"include":"#tables"},{"include":"#headings"},{"include":"#substitution-definition"},{"include":"#citation-definition"},{"include":"#footnote-definition"},{"include":"#directives"},{"include":"#raw-blocks"},{"include":"#link-target"},{"include":"#inlines"},{"include":"#tag-name"},{"include":"#doctest"},{"include":"#domains"},{"include":"#comments"}]},"citation":{"name":"meta.citation.reference.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (\\[)((?=[A-Za-z])(?:[-_.:+]?[A-Za-z0-9])++)(\\])(_) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.citation.begin.restructuredtext"},"2":{"name":"constant.other.reference.link.restructuredtext"},"3":{"name":"punctuation.definition.citation.end.restructuredtext"},"4":{"name":"punctuation.definition.reference.restructuredtext"}}},"citation-definition":{"name":"meta.citation.definition.restructuredtext","contentName":"string.unquoted.citation.restructuredtext","begin":"(?:^(\\s*)|(?!^)\\G\\s*)(\\.\\.)\\s+(\\[)((?=[A-Za-z])(?:[-_.:+]?[A-Za-z0-9])++)(\\])(?:$|\\s+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.citation.begin.restructuredtext"},"4":{"name":"entity.name.citation.restructuredtext"},"5":{"name":"punctuation.definition.citation.end.restructuredtext"}}},"comments":{"patterns":[{"name":"comment.block.double-dot.indented.has-text.restructuredtext","begin":"^([ \\t]+)(\\.\\.)\\s+(?=\\S)(?!\\[[^\\]]+\\](?:$|\\s))","end":"(?!\\G)^(?:(?=\\S)|(?!\\1[ \\t]+\\S|\\s*$))","beginCaptures":{"2":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.indented.no-text.restructuredtext","begin":"^([ \\t]+)(\\.\\.)[ \\t]*$","end":"(?!\\G)^(?:(?=\\S)|(?!\\1[ \\t]+\\S))","patterns":[{"begin":"(?\u003c!\\G)(?\u003c=\\S)$","end":"^","patterns":[{"match":"^[ \\t]*$"}],"applyEndPatternLast":true}],"beginCaptures":{"2":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.unindented.has-text.restructuredtext","begin":"^(\\.\\.)\\s+(?=\\S)(?!\\[[^\\]]+\\](?:$|\\s))","end":"(?!\\G)^(?=\\S)","beginCaptures":{"1":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.unindented.no-text.restructuredtext","begin":"^(\\.\\.)[ \\t]*$","end":"(?!\\G)^(?=\\S|\\s*$)","patterns":[{"begin":"(?\u003c!\\G)(?\u003c=\\S)$","end":"^","patterns":[{"match":"^[ \\t]*$"}],"applyEndPatternLast":true}],"beginCaptures":{"1":{"name":"punctuation.definition.comment.restructuredtext"}}}]},"directive-options":{"patterns":[{"name":"meta.directive-option.restructuredtext","match":"(:[^:]+:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.tag-value.restructuredtext"}}}]},"directives":{"patterns":[{"name":"meta.image.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(image)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.other.reference.link.restructuredtext"}}},{"name":"meta.figure.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(figure)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"},{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.other.reference.link.restructuredtext"}}},{"include":"#toctree"},{"begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(raw|code(?:-block)?)(::)\\s+(html)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.html.basic"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.coffee","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(coffee-?script)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.coffee"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.js","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(js|javascript)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.js"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ts","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(typescript)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.ts"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.json","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(json)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.json"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.css","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(css)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.css"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.xml","begin":"^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+((?:pseudo)?xml)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.xml"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ruby","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(ruby)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.ruby"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.java","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(java)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.java"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.erlang","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(erlang)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.erlang"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.cs","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(csharp|c#)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.cs"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.php","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(php[3-5]?)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.html.php"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.shell","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(shell|(ba|k)?sh)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.shell"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(py(thon)?|sage)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(ipython)(::)\\s+(py(thon)?)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.stata","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(stata)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.stata"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(sas)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.objc","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(objective-?c|obj-?c)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.objc"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.yaml","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(yaml)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.yaml"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.roff","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(manpage|man|[ntg]?roff)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"match":"(?:^|\\G)[ \\t]*(\\S.*)","captures":{"1":{"patterns":[{"include":"text.roff"}]}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.tex.latex","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+((?:xe)?(?:la)?tex)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.tex.latex"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.texinfo","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(texinfo)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.texinfo"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"markup.raw.inner.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)(?:\\s+([-\\w]+))?(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"markup.raw.inner.parsed.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(parsed-literal)(::)(?:\\s+([-\\w]+))?(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#inlines"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"name":"source.embedded.latex","contentName":"markup.math.block.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(math)(::)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.tex#math"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.option.directive.restructuredtext","match":"(?i)^\\s*(\\.\\.)\\s+(option)(::)\\s*(.+)?$","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"},"4":{"patterns":[{"name":"punctuation.definition.bracket.angle.restructuredtext","match":"\u003c|\u003e"},{"name":"punctuation.delimiter.comma.restructuredtext","match":","},{"name":"entity.name.directive.restructuredtext","match":"[^\\s\u003c\u003e,]+"}]}}},{"name":"meta.other.directive.restructuredtext","match":"^\\s*(\\.\\.)\\s+([A-z][-A-z0-9_]+)(::)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.other.directive.restructuredtext","match":"^\\s*(\\.\\.)\\s+([A-z][-A-z0-9_]+)(::)\\s+(.+?)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"},"4":{"name":"entity.name.directive.restructuredtext"}}}]},"doctest":{"patterns":[{"name":"meta.doctest.indented.restructuredtext","begin":"^(?=(\\s+)\u003e\u003e\u003e(?:\\s+\\S.*)?[ \\t]*$)","end":"^(?=\\s*$)|^(?=(?:(?!\\1)\\s+)?\\S)","patterns":[{"begin":"^(\\s+)(\u003e\u003e\u003e)\\s+(\\S.*)?(?=[ \\t]*$)","end":"(?=^\\s*$)|^(?!\\1((?!(?:\u003e\u003e\u003e|\\.{3})\\s+)\\s*\\S.*[ \\t]*)$)","patterns":[{"match":"^\\s+(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\S.*)(?=[ \\t]*$)","captures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.separator.prompt.primary.doctest.restructuredtext"},"3":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}},"endCaptures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}},{"begin":"^(\\s+)(\\.{3})\\s+(\\S.*)?(?=[ \\t]*$)","end":"(?=^\\s*$)|^(?!\\1((?!(?:\u003e\u003e\u003e|\\.{3})\\s+)\\s*\\S.*[ \\t]*)$)","patterns":[{"match":"^\\s+(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\S.*)(?=[ \\t]*$)","captures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.separator.prompt.secondary.doctest.restructuredtext"},"3":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}},"endCaptures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}},{"name":"markup.raw.output.doctest.restructuredtext","match":"^(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\s*\\S.*[ \\t]*)$"}]},{"name":"meta.doctest.unindented.restructuredtext","begin":"^(?=\u003e\u003e\u003e(?:\\s+\\S.*)?[ \\t]*$)","end":"^(?=\\s*$)","patterns":[{"match":"^(\u003e\u003e\u003e)\\s+(\\S.*)?(?=[ \\t]*$)","captures":{"1":{"name":"punctuation.separator.prompt.primary.doctest.restructuredtext"},"2":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}}},{"match":"^(\\.{3})\\s+(\\S.*)?(?=[ \\t]*$)","captures":{"1":{"name":"punctuation.separator.prompt.secondary.doctest.restructuredtext"},"2":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}}},{"name":"markup.raw.output.doctest.restructuredtext","match":"^(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\s*\\S.*[ \\t]*)$"}]}]},"doctree-options":{"patterns":[{"name":"meta.doctree-option.class.restructuredtext","match":"(?i)(:class:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.class-list.restructuredtext"}}},{"name":"meta.doctree-option.name.restructuredtext","match":"(?i)(:name:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.name.restructuredtext"}}}]},"domains":{"patterns":[{"name":"meta.sphinx-domain.restructuredtext","contentName":"source.embedded.python","begin":"(?i)^(\\s*)(\\.\\.)\\s+(py)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{6,}\\S)","patterns":[{"match":"(?:\\G|^)([^(]*)(\\()([^\\\\)]*\\\\[^)]*)(\\))","captures":{"1":{"patterns":[{"include":"source.python"}]},"2":{"name":"punctuation.parenthesis.begin.python"},"3":{"patterns":[{"name":"constant.character.escape.restructuredtext","match":"\\\\."},{"include":"source.python"}]},"4":{"name":"punctuation.parenthesis.end.python"}}},{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","contentName":"source.embedded.c","begin":"(?i)^(\\s*)(\\.\\.)\\s+(c)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"include":"source.c"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(cpp)(::?)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"match":"(.+)(\\\\?)$","captures":{"1":{"name":"source.embedded.cpp","patterns":[{"include":"source.c++"}]},"2":{"name":"constant.character.escape.newline.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(js)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"match":"(.+)(\\\\?)$","captures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"constant.character.escape.newline.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","contentName":"string.unquoted.domain.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+([^:]+)(::?)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}}]},"emphasis":{"patterns":[{"contentName":"markup.bold.emphasis.strong.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n\\*\\*\n(?=\\S)\n(?!\\*\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)\\*\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|^(?=\\s*$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.bold.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.bold.end.restructuredtext"}}},{"contentName":"markup.italic.emphasis.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n\\*\n(?=\\S)\n(?!\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|^(?=\\s*$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.italic.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.italic.end.restructuredtext"}}}]},"escape":{"name":"constant.character.escape.backslash.restructuredtext","match":"\\\\."},"footnote":{"match":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n(?:\n\t# Manually-numbered: “[0]_”\n\t(\\[[0-9]+\\]_)\n\t|\n\t# Auto-numbered: “[#]_” or “[#foo]_”\n\t(\\[\\#(?:(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)?\\]_)\n\t|\n\t# Auto-symbol: “[*]_”\n\t(\\[\\*\\]_)\n)\n(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"meta.footnote.reference.numbered.manual.restructuredtext","patterns":[{"include":"#footnote-name"}]},"2":{"name":"meta.footnote.reference.numbered.auto.restructuredtext","patterns":[{"include":"#footnote-name"}]},"3":{"name":"meta.footnote.reference.symbolic.auto.restructuredtext","patterns":[{"include":"#footnote-name"}]}}},"footnote-definition":{"name":"meta.footnote.definition.restructuredtext","contentName":"string.unquoted.footnote.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+(\\[[^\\]]+\\])(?:$|\\s+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.link.restructuredtext"},"3":{"patterns":[{"include":"#footnote-name"}]}}},"footnote-name":{"name":"meta.footnote-name.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:\\G|^)\\[","end":"(\\])(_)?","beginCaptures":{"0":{"name":"punctuation.definition.footnote.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.footnote.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.restructuredtext"}}},"headings":{"name":"markup.heading.restructuredtext","match":"^(([-=~`#\"^+*:.'_])\\2{2,})(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.heading.restructuredtext"}}},"image-options":{"patterns":[{"name":"meta.image-option.alt.restructuredtext","match":"(?i)(:alt:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.tag-value.restructuredtext"}}},{"name":"meta.image-option.height.restructuredtext","match":"(?i)(:height:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.width.restructuredtext","match":"(?i)(:width:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.scale.restructuredtext","match":"(?i)(:scale:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.align.restructuredtext","match":"(?i)(:align:)\\s*(?:(top|middle|bottom|left|center|right)\\b)?","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"keyword.language.image-alignment.restructuredtext"}}},{"name":"meta.image-option.target.restructuredtext","match":"(?i)(:target:)\\s*(.*)?","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.target.restructuredtext"}}},{"include":"#doctree-options"},{"include":"#directive-options"}]},"inlines":{"patterns":[{"include":"#escape"},{"include":"#quoted"},{"include":"#emphasis"},{"include":"#link-target-inline"},{"include":"#interpreted-text"},{"include":"#substitution-reference"},{"include":"#literal"},{"include":"#link-reference"},{"include":"#footnote"},{"include":"#citation"}]},"interpreted-text":{"patterns":[{"include":"#interpreted-text-marked"},{"include":"#interpreted-text-unmarked"}]},"interpreted-text-marked":{"name":"meta.interpreted-text.marked.leading-marker.restructuredtext","begin":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) ((:)\\w+(?:[-_.:+]\\w+)*+(:)) (?=`(?=\\S)(?!`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))","end":"(?!\\G)","patterns":[{"begin":"\\G`","end":"(?=^\\s*$)|`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","patterns":[{"include":"#roles"}],"beginCaptures":{"0":{"name":"punctuation.definition.interpreted-text.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.interpreted-text.end.restructuredtext"}}}],"beginCaptures":{"1":{"name":"keyword.operator.role.restructuredtext"},"2":{"name":"punctuation.definition.role.name.begin.restructuredtext"},"3":{"name":"punctuation.definition.role.name.end.restructuredtext"}}},"interpreted-text-unmarked":{"name":"meta.interpreted-text.unmarked.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (`)((?!`|\\s)(?:[^`\\\\]|\\\\.)++)(`) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.interpreted-text.begin.restructuredtext"},"2":{"name":"string.interpolated.restructuredtext","patterns":[{"include":"#escapes"}]},"3":{"name":"punctuation.definition.interpreted-text.end.restructuredtext"}}},"length":{"name":"constant.numeric.length.restructuredtext","match":"[\\d.]+\\s*(?i:(em|ex|px|in|cm|mm|pt|pc)|(%))?","captures":{"1":{"name":"keyword.other.${1:/downcase}-unit.restructuredtext"},"2":{"name":"keyword.other.percentile-unit.restructuredtext"}}},"line-block":{"patterns":[{"name":"meta.line-block.indented.restructuredtext","contentName":"markup.quote.preserved-whitespace.restructuredtext","begin":"(?:\\G|^)(\\s+)(\\|)(?:(\\s+)(?=\\S)|(?=\\s*$))","end":"^(?=\\1\\|(?:\\s+(?=\\S)|(?=\\s*$))|\\s*$|(?:(?!\\1)\\s+)?\\S|\\1(?:[^|\\s]|\\|\\S))","beginCaptures":{"2":{"patterns":[{"include":"#line-block-border"}]},"3":{"name":"punctuation.whitespace.leading.line-indent.restructuredtext"}}},{"name":"meta.line-block.unindented.restructuredtext","contentName":"markup.quote.preserved-whitespace.restructuredtext","begin":"(?:\\G|^)(\\|)(?:(\\s+)(?=\\S)|(?=\\s*$))","end":"^(?=\\|(?:\\s+(?=\\S)|(?=\\s*$))|\\s*$|[^|\\s]|\\|\\S)","beginCaptures":{"1":{"patterns":[{"include":"#line-block-border"}]},"2":{"name":"punctuation.whitespace.leading.line-indent.restructuredtext"}}}]},"line-block-border":{"name":"punctuation.definition.quote.line-block.restructuredtext","match":"\\|","captures":{"0":{"name":"sublimelinter.gutter-mark.restructuredtext"}}},"link":{"patterns":[{"match":"\\G\\s*((?:[^`\\\\]|\\\\.)+\\s+)?((\u003c)((?:[^`\\\\\u003c\u003e_]|_(?!\u003e)|\\\\.)+)(_)?(\u003e))\\s*(?=`|$)","captures":{"1":{"patterns":[{"name":"entity.name.reference.restructuredtext","begin":"(?:^|\\G)","end":"$","patterns":[{"include":"#escape"}]}]},"2":{"name":"meta.link-destination.restructuredtext"},"3":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"},"4":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]},"5":{"name":"punctuation.definition.reference.named.restructuredtext"},"6":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},{"match":"\\G\\s*((?:[^`\\\\]|\\.)++)\\s*(?=`|$)","captures":{"1":{"patterns":[{"name":"meta.link-destination.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:^|\\G)","end":"$","patterns":[{"include":"#escape"}]}]}}}]},"link-reference":{"patterns":[{"match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (?:(`(?:[^\\\\`]|\\\\.)*+`__?)|\\b((?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++__?)) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"patterns":[{"include":"#link-reference-quoted"}]},"2":{"patterns":[{"include":"#link-reference-unquoted"}]}}},{"begin":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (?=`(?:[^\\\\`]|\\\\.)++$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]}]},"link-reference-quoted":{"name":"meta.link-reference.quoted.restructuredtext","begin":"(?:\\G|^)`","end":"(`)(?:(__)\\b|(_)\\b)?","patterns":[{"name":"meta.embedded-target.restructuredtext","begin":"\\G(?=.*(?:\\G|(?\u003c=\\s))\u003c(?:[^\\\\\u003c\u003e`]|\\\\.)++\u003e\\s*(?:$|`))","end":"(?=\\s*(?:$|`))","patterns":[{"include":"#link"}]},{"match":"(?:\\G|^\\s*)((?!\\s)(?:[^\\\\`]|\\\\.)++)","captures":{"1":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]}}}],"beginCaptures":{"0":{"name":"punctuation.definition.link.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.link.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"3":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"link-reference-unquoted":{"name":"meta.link-reference.unquoted.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:\\G|(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))(?=\\w)(?!_)","end":"(?:(__)|(_))(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|(?=_\\W)","patterns":[{"match":"[-_.:+][A-Za-z0-9]"},{"include":"#escape"}],"endCaptures":{"1":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"2":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"link-target":{"patterns":[{"name":"meta.definition.link-target.anonymous.restructuredtext","begin":"(?:^(\\s*)|(?!^)\\G\\s*)(?:(\\.\\.)\\s+(__)(:)|(__))(?:$|\\s+)","end":"^(?:(?=\\s*$)|(?!\\1[ \\t]+\\S))","patterns":[{"include":"#link-target-innards"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"constant.language.anonymous-link.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.language.anonymous-link.restructuredtext"}}},{"name":"meta.definition.link-target.named.restructuredtext","begin":"(?x)\n(?: ^(\\s*) | (?!^)\\G\\s*)\n(\\.\\.) \\s+ (_)\n(\n\t# Phrase reference: “.. _`name`: …”\n\t(`) ((?:[^\\\\`]|\\\\.)*+) (`)\n\t|\n\t# Name reference: “.. _name: …”\n\t(?!`)\n\t(\n\t\t(?: [^\\\\:]\n\t\t| : (?!$|\\s)\n\t\t| \\\\.\n\t\t)++\n\t)\n) (:) (?:$|\\s+)","end":"^(?:(?=\\s*$)|(?!\\1[ \\t]+\\S))","patterns":[{"include":"#link-target-innards"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.link.restructuredtext"},"4":{"name":"entity.name.link.restructuredtext"},"5":{"name":"punctuation.definition.link.begin.restructuredtext"},"6":{"patterns":[{"include":"#escape"}]},"7":{"name":"punctuation.definition.link.end.restructuredtext"},"8":{"patterns":[{"include":"#escape"}]},"9":{"name":"punctuation.separator.key-value.restructuredtext"}}}]},"link-target-inline":{"name":"meta.definition.link-target.inline.internal.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (_)((`)(?:[^\\\\`]|\\\\.)*+)(`) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.link.restructuredtext"},"2":{"name":"entity.name.link.restructuredtext"},"3":{"name":"punctuation.definition.link.begin.restructuredtext"},"4":{"name":"punctuation.definition.link.end.restructuredtext"}}},"link-target-innards":{"patterns":[{"match":"\\G(?\u003c=[ \\t])(?:`(?:[^\\\\`]|\\\\.)*+`|\\b(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)_(?=\\s*$)","captures":{"0":{"patterns":[{"include":"#link-reference"}]}}},{"begin":"\\G(?\u003c=[ \\t])(?=`(?:[^\\\\`]|\\\\.)*+$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]},{"begin":"\\G(?=\\s*$)","end":"^(\\s*(?:`(?:[^\\\\`]|\\\\.)*+`|\\b(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)__?\\b)?|(?\u003c=`__|`_)(?=\\s*$)","patterns":[{"begin":"^\\s*(?=`(?:[^\\\\`]|\\\\.)*+$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]}],"endCaptures":{"1":{"patterns":[{"include":"#link-reference"}]}},"applyEndPatternLast":true},{"match":"(?:^\\s*|\\G|(?\u003c=\\s))((?:[^\\\\\\s]|\\\\.)++)(?=$|\\s)","captures":{"1":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]}}}]},"literal":{"contentName":"markup.raw.monospace.literal.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n``\n(?=\\S)\n(?!``(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)``(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","beginCaptures":{"0":{"name":"punctuation.definition.literal.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.literal.end.restructuredtext"}}},"quoted":{"match":"(?x)\n(?: ' (?:\\*{1,2}|`|_||) '\n| \" (?:\\*{1,2}|`|_||) \"\n| \u003c (?:\\*{1,2}|`|_||) \u003e\n| \\( (?:\\*{1,2}|`|_||) \\)\n| \\[ (?:\\*{1,2}|`|_||) \\]\n| \\{ (?:\\*{1,2}|`|_||) \\}\n| « (?:\\*{1,2}|`|_||) »\n| ‹ (?:\\*{1,2}|`|_||) ›\n| » (?:\\*{1,2}|`|_||) [«»]\n| › (?:\\*{1,2}|`|_||) [‹›]\n| ‘ (?:\\*{1,2}|`|_||) [’‚]\n| ’ (?:\\*{1,2}|`|_||) ’\n| ‚ (?:\\*{1,2}|`|_||) [‘’]\n| “ (?:\\*{1,2}|`|_||) [”„]\n| „ (?:\\*{1,2}|`|_||) [“”]\n| ” (?:\\*{1,2}|`|_||) ”\n| ( (?:\\*{1,2}|`|_||) )\n| ﹙ (?:\\*{1,2}|`|_||) ﹚\n| ⁽ (?:\\*{1,2}|`|_||) ⁾\n| ₍ (?:\\*{1,2}|`|_||) ₎\n| [ (?:\\*{1,2}|`|_||) ]\n| { (?:\\*{1,2}|`|_||) }\n| ﹛ (?:\\*{1,2}|`|_||) ﹜\n| ༼ (?:\\*{1,2}|`|_||) ༽\n| ᚛ (?:\\*{1,2}|`|_||) ᚜\n| ⁅ (?:\\*{1,2}|`|_||) ⁆\n| ⧼ (?:\\*{1,2}|`|_||) ⧽\n| ⦃ (?:\\*{1,2}|`|_||) ⦄\n| ⦅ (?:\\*{1,2}|`|_||) ⦆\n| ⦅ (?:\\*{1,2}|`|_||) ⦆\n| ⦇ (?:\\*{1,2}|`|_||) ⦈\n| ⦉ (?:\\*{1,2}|`|_||) ⦊\n| ⦋ (?:\\*{1,2}|`|_||) ⦌\n#| ⦍ (?:\\*{1,2}|`|_||) ⦐ # XXX: For some reason, Docutils allows this\n| ⦏ (?:\\*{1,2}|`|_||) ⦎\n| ⦑ (?:\\*{1,2}|`|_||) ⦒\n| ⦓ (?:\\*{1,2}|`|_||) ⦔\n| ⦕ (?:\\*{1,2}|`|_||) ⦖\n| ⦗ (?:\\*{1,2}|`|_||) ⦘\n| ⟅ (?:\\*{1,2}|`|_||) ⟆\n| ⟦ (?:\\*{1,2}|`|_||) ⟧\n| ⟨ (?:\\*{1,2}|`|_||) ⟩\n| ⟪ (?:\\*{1,2}|`|_||) ⟫\n| ❨ (?:\\*{1,2}|`|_||) ❩\n| ❪ (?:\\*{1,2}|`|_||) ❫\n| ❬ (?:\\*{1,2}|`|_||) ❭\n| ❮ (?:\\*{1,2}|`|_||) ❯\n| ❰ (?:\\*{1,2}|`|_||) ❱\n| ❲ (?:\\*{1,2}|`|_||) ❳\n| ❴ (?:\\*{1,2}|`|_||) ❵\n| ⸂ (?:\\*{1,2}|`|_||) ⸃\n| ⸃ (?:\\*{1,2}|`|_||) ⸂\n| ⸄ (?:\\*{1,2}|`|_||) ⸅\n| ⸅ (?:\\*{1,2}|`|_||) ⸄\n| ⸉ (?:\\*{1,2}|`|_||) ⸊\n| ⸊ (?:\\*{1,2}|`|_||) ⸉\n| ⸌ (?:\\*{1,2}|`|_||) ⸍\n| ⸍ (?:\\*{1,2}|`|_||) ⸌\n| ⸜ (?:\\*{1,2}|`|_||) ⸝\n| ⸝ (?:\\*{1,2}|`|_||) ⸜\n| 〈 (?:\\*{1,2}|`|_||) 〉\n| 〈 (?:\\*{1,2}|`|_||) 〉\n| 《 (?:\\*{1,2}|`|_||) 》\n| 「 (?:\\*{1,2}|`|_||) 」\n| 「 (?:\\*{1,2}|`|_||) 」\n| 『 (?:\\*{1,2}|`|_||) 』\n| 【 (?:\\*{1,2}|`|_||) 】\n| 〔 (?:\\*{1,2}|`|_||) 〕\n| ﹝ (?:\\*{1,2}|`|_||) ﹞\n| 〖 (?:\\*{1,2}|`|_||) 〗\n| 〘 (?:\\*{1,2}|`|_||) 〙\n| 〚 (?:\\*{1,2}|`|_||) 〛\n| ⧘ (?:\\*{1,2}|`|_||) ⧙\n| ⧚ (?:\\*{1,2}|`|_||) ⧛\n) "},"raw-blocks":{"contentName":"meta.raw.block.restructuredtext","begin":"^(?!\\s*\\.\\.\\s\\w+)(\\s*)(.*)(::)$","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"name":"markup.raw.inner.restructuredtext","match":".+"}],"beginCaptures":{"2":{"patterns":[{"include":"#inlines"}]},"3":{"name":"punctuation.section.raw.restructuredtext"}}},"role-abbr":{"patterns":[{"begin":"(?i)(?\u003c=:abbr:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"name":"meta.abbreviation.restructuredtext","contentName":"constant.other.abbreviation.restructuredtext","begin":"\\G\\s*","end":"(?=\\s*(?:\\(|`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))","patterns":[{"include":"#escape"}]},{"name":"meta.explanation.restructuredtext","contentName":"string.quoted.brackets.restructuredtext","begin":"\\(","end":"(\\))|((?:[^\\x29`]|\\.)*+)(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.restructuredtext"},"2":{"name":"invalid.illegal.unclosed-parenthetical.restructuredtext"}}}]},{"name":"meta.abbreviation.restructuredtext","contentName":"constant.other.abbreviation.restructuredtext","begin":"(?i)(?\u003c=:abbreviation:`|:acronym:`|:a[bc]:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]}]},"role-code":{"name":"markup.raw.code.monospace.literal.restructuredtext","begin":"(?i)(?\u003c=:code:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-command":{"name":"markup.bold.${1:/downcase}.restructuredtext","begin":"(?i)(?\u003c=:(command|program):`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-dfn":{"name":"markup.italic.definition.restructuredtext","begin":"(?i)(?\u003c=:dfn:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-emphasis":{"name":"markup.italic.emphasis.restructuredtext","begin":"(?i)(?\u003c=:emphasis:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-file":{"name":"meta.link-destination.filename.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?i)(?\u003c=:file:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"include":"#role-variable"}]},"role-guilabel":{"name":"string.other.ui-label.restructuredtext","begin":"(?xi) (?: (?\u003c=:guilabel:`) | (?\u003c=:menuselection:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"name":"constant.character.escape.ampersand.restructuredtext","match":"\u0026\u0026"},{"name":"meta.accelerator.restructuredtext","match":"(\u0026)([^\\\\`]|(\\\\`))","captures":{"1":{"name":"keyword.operator.menu.accelerator.restructuredtext"},"2":{"name":"string.other.link.restructuredtext"},"3":{"patterns":[{"include":"#escape"}]}}},{"name":"keyword.operator.menu.separator.restructuredtext","match":"--\u003e"},{"include":"#escape"}]},"role-html":{"name":"text.embedded.html.basic","begin":"(?xi) (?: (?\u003c=:html:`) | (?\u003c=:raw-html:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"text.html.basic"}]},"role-kbd":{"name":"meta.keystrokes.restructuredtext","begin":"(?i)(?\u003c=:kbd:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"name":"meta.separator.combinator.restructuredtext","match":"[-+^]"},{"name":"entity.name.tag.keystroke.restructuredtext","match":"(?xi) (?:\\G|(?\u003c=[-+^\\s`])) ( caps \\s+ lock | page \\s+ down | page \\s+ up | scroll \\s+ lock | num \\s+ lock | sys \\s+ rq | back \\s+ space | ((?:[^-+^\\s\\\\`]|\\\\.)++) ) (?=$|[-+^\\s`])","captures":{"1":{"name":"markup.inserted.keystroke.restructuredtext"},"2":{"patterns":[{"include":"#escape"}]}}}]},"role-literal":{"name":"markup.raw.monospace.literal.restructuredtext","begin":"(?i)(?\u003c=:literal:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-mailheader":{"name":"markup.italic.mail-header.restructuredtext","begin":"(?i)(?\u003c=:mailheader:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-makevar":{"name":"markup.bold.make-variable.restructuredtext","begin":"(?i)(?\u003c=:makevar:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-manpage":{"name":"meta.manpage.link.inline.restructuredtext","begin":"(?i)(?\u003c=:manpage:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"hidden.manref"},{"match":"([-.\\w]+)(\\()(\\d+(?!\\d)|(?:[lnop]|tcl)(?=[/\\)]))([\\w:/]*?(?:/(?!/)[-\\w:./]+)?)(\\))","captures":{"1":{"name":"markup.bold.manpage-name.restructuredtext"},"2":{"name":"punctuation.section.round.bracket.begin.restructuredtext"},"3":{"name":"constant.language.manpage-section.restructuredtext"},"4":{"name":"constant.language.manpage-group.restructuredtext"},"5":{"name":"punctuation.section.round.bracket.end.restructuredtext"}}}]},"role-math":{"name":"markup.math.inline.restructuredtext","begin":"(?i)(?\u003c=:math:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"text.tex#math"}]},"role-mimetype":{"name":"markup.italic.mime-type.restructuredtext","begin":"(?i)(?\u003c=:mimetype:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-newsgroup":{"name":"markup.italic.newsgroup.link.restructuredtext","begin":"(?i)(?\u003c=:newsgroup:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-numref":{"name":"meta.numref.restructuredtext","begin":"(?i)(?\u003c=:numref:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#link"}]},"role-numreg":{"name":"meta.registry-link.${1:/downcase}${2:/downcase}${3:/downcase}${4:/downcase}-reference.restructuredtext","begin":"(?xi) (?: (?\u003c= :(pep):`) | (?\u003c= :(rfc):`) | (?\u003c= :(pep)-reference:`) | (?\u003c= :(rfc)-reference:`) ) \\G","end":"(?=^\\s*$)|(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"match":"(?:\\G|^)(?:((?:[^`\\\\]|\\\\.)+?)\\s*)?(\u003c(?:[^`\\\\]|\\\\.)*\u003e)(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","captures":{"1":{"name":"entity.name.link-label.restructuredtext","patterns":[{"include":"#escape"}]},"2":{"patterns":[{"include":"#role-numreg-destination"}]}}},{"name":"constant.other.reference.link.restructuredtext","match":"(?:\\G|^)\\d+(?:[ \\s]*#((?:[^`\\\\]|\\\\.)*))?(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","captures":{"1":{"patterns":[{"include":"#escape"}]}}},{"name":"constant.other.reference.link.restructuredtext","begin":"\\G\\d+\\s*#","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},{"contentName":"entity.name.link-label.restructuredtext","begin":"\\G","end":"(?=^[ \\t]*$)|(\u003c(?:[^`\\\\]|\\\\.)*\u003e)?(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}],"endCaptures":{"1":{"patterns":[{"include":"#role-numreg-destination"}]}}}]},"role-numreg-destination":{"name":"meta.link-destination.restructuredtext","begin":"(?:\\G|^)\u003c","end":"\u003e$|(?=^[ \\t]*$)","patterns":[{"name":"constant.other.reference.link.restructuredtext","begin":"\\G\\d+(?=\u003e?$|#)","end":"(?=\u003e$)","patterns":[{"include":"#escape"}]},{"name":"invalid.illegal.invalid-proposal.restructuredtext","begin":"\\G","end":"(?=\u003e$|^[ \\t]*$)"}],"beginCaptures":{"0":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},"role-other":{"name":"string.interpolated.restructuredtext","begin":"(?\u003c=:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-ref":{"begin":"(?xi) (?: (?\u003c=:ref:`) | (?\u003c=:doc:`) | (?\u003c=:download:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#link"}]},"role-regexp":{"name":"string.regexp.restructuredtext","begin":"(?i)(?\u003c=:regexp:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"source.regexp"},{"include":"source.regexp.python"}]},"role-samp":{"name":"markup.raw.monospace.literal.samp.restructuredtext","begin":"(?i)(?\u003c=:samp:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"include":"#role-variable"}]},"role-strong":{"name":"markup.bold.emphasis.strong.restructuredtext","begin":"(?i)(?\u003c=:strong:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-subscript":{"name":"markup.subscript.restructuredtext","begin":"(?xi) (?: (?\u003c=:sub:`) | (?\u003c=:subscript:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-superscript":{"name":"markup.superscript.restructuredtext","begin":"(?xi) (?: (?\u003c=:sup:`) | (?\u003c=:superscript:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-term":{"name":"variable.parameter.reference.restructuredtext","begin":"(?xi) (?: (?\u003c=:term:`) | (?\u003c=:envvar:`) | (?\u003c=:keyword:`) | (?\u003c=:option:`) | (?\u003c=:token:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-titleref":{"name":"markup.italic.title-reference.restructuredtext","begin":"(?xi) (?: (?\u003c= :t:`) | (?\u003c= :title:`) | (?\u003c= :title-reference:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-variable":{"name":"meta.embedded.line.restructuredtext","match":"({)((?:[^\\\\}]|\\\\.)*+)(})","captures":{"1":{"name":"punctuation.section.embedded.begin.restructuredtext"},"2":{"name":"variable.parameter.placeholder.restructuredtext","patterns":[{"include":"#escape"}]},"3":{"name":"punctuation.section.embedded.end.restructuredtext"}}},"roles":{"patterns":[{"include":"#role-abbr"},{"include":"#role-code"},{"include":"#role-command"},{"include":"#role-dfn"},{"include":"#role-emphasis"},{"include":"#role-file"},{"include":"#role-guilabel"},{"include":"#role-html"},{"include":"#role-kbd"},{"include":"#role-literal"},{"include":"#role-mailheader"},{"include":"#role-makevar"},{"include":"#role-manpage"},{"include":"#role-math"},{"include":"#role-mimetype"},{"include":"#role-newsgroup"},{"include":"#role-numref"},{"include":"#role-numreg"},{"include":"#role-ref"},{"include":"#role-regexp"},{"include":"#role-samp"},{"include":"#role-strong"},{"include":"#role-subscript"},{"include":"#role-superscript"},{"include":"#role-term"},{"include":"#role-titleref"},{"include":"#role-other"}]},"substitution-definition":{"patterns":[{"name":"meta.substitution-definition.image.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(\\|)(?=[^|\\s])(.+?)((?\u003c=\\S)\\|)\\s+(image)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.substitution.start.restructuredtext"},"4":{"name":"entity.name.substitution.restructuredtext"},"5":{"name":"punctuation.definition.substitution.end.restructuredtext"},"6":{"name":"support.directive.restructuredtext"},"7":{"name":"punctuation.separator.key-value.restructuredtext"},"8":{"name":"constant.other.reference.link.restructuredtext"}}},{"name":"meta.substitution-definition.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+(\\|)(?=[^|\\s])(.+?)((?\u003c=\\S)\\|)\\s+(\\S+.*(?=::))(::)(.*)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#directive-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.substitution.start.restructuredtext"},"4":{"name":"entity.name.substitution.restructuredtext"},"5":{"name":"punctuation.definition.substitution.end.restructuredtext"},"6":{"name":"support.directive.restructuredtext"},"7":{"name":"punctuation.separator.key-value.restructuredtext"},"8":{"name":"string.unquoted.substitution.data.restructuredtext","patterns":[{"include":"#inlines"}]}}}]},"substitution-reference":{"patterns":[{"include":"#substitution-reference-singleline"},{"include":"#substitution-reference-multiline"}]},"substitution-reference-multiline":{"name":"meta.substitution-reference.restructuredtext","contentName":"entity.name.substitution.restructuredtext","begin":"(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))(\\|)(?=[^|\\s])","end":"(?=^\\s*$)|(\\|)(?:(__)\\b|(_)\\b)?(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","beginCaptures":{"1":{"name":"punctuation.definition.substitution.start.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.substitution.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"3":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"substitution-reference-singleline":{"name":"meta.substitution-reference.restructuredtext","match":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n(\\|)(?=[^|\\s])(.+?)(?\u003c!\\s)(\\|)\n(?:(__)\\b|(_)\\b)?\n(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.substitution.start.restructuredtext"},"2":{"name":"entity.name.substitution.restructuredtext"},"3":{"name":"punctuation.definition.substitution.end.restructuredtext"},"4":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"5":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"table-grid":{"name":"meta.table.grid.restructuredtext","begin":"(?:\\G|^)(?=\\s*\\+-+(?:\\+-+)*+\\+\\s*$)","end":"(?=^\\s*$)","patterns":[{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c!-|=)\\+-+(?:\\+[-=]+)*+\\+(?!-|=)","captures":{"0":{"name":"punctuation.definition.table.grid-divider.horizontal.thin.restructuredtext","patterns":[{"name":"invalid.illegal.mixed-border-styles.restructuredtext","match":"=+"}]}}},{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c!-|=)\\+=+(?:\\+[-=]+)*+\\+(?!-|=)","captures":{"0":{"name":"punctuation.definition.table.grid-divider.horizontal.thick.restructuredtext","patterns":[{"name":"invalid.illegal.mixed-border-styles.restructuredtext","match":"-+"}]}}},{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c=\\s)\\|(?=\\s)|^\\s*\\||\\|[ \\t]*$","captures":{"0":{"patterns":[{"name":"punctuation.definition.table.grid-divider.vertical.restructuredtext","match":"\\|"}]}}},{"name":"meta.table-cell.restructuredtext","match":"(?x)\n(?\u003c= ^ \\|\n| \\s \\|\n| [-=]\\+ \\|\n| [-=]\\+\n)\n\n(?: \\| [^|\\s]\n| [^|\\s] \\|\n| [^|+]\n| \\+ (?!(?:-+|=+)\\+)\n)++\n\n(?= (?\u003c=\\s) \\|\n| (?\u003c!\\s) \\| \\s* $\n| (?\u003c!-|=) \\+ (?:-+|=+) \\+\n)","captures":{"0":{"patterns":[{"match":"^\\s*(?:\\.\\.(?=$|\\s).*?)(?=\\s*$)","captures":{"0":{"patterns":[{"include":"#directives"},{"include":"#comments"}]}}},{"include":"#inlines"},{"include":"#table-simple"},{"include":"#table-simple-continuation"},{"name":"constant.character.escape.backslash.restructuredtext","match":"\\\\$"}]}}}]},"table-simple":{"patterns":[{"name":"meta.table.simple.indented.restructuredtext","begin":"(?=^\\s+={2,}(?:\\s+={2,})++[ \\t]*$)","end":"(?!\\G)","patterns":[{"name":"meta.table-head.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"\\G(\\s+)(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"(?=^\\1={2,}(?:\\s+={2,})*+[ \\t]*$)","patterns":[{"include":"#table-simple-innards"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"name":"meta.table-body.restructuredtext","contentName":"markup.other.table.restructuredtext","end":"^\\1(={2,}(?:\\s+={2,})++)[ \\t]*$|(?=^\\s*$|^\\S|^(?!\\1)\\s+\\S)","patterns":[{"include":"#table-simple-body"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}},"endCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}}],"applyEndPatternLast":true},{"name":"meta.table.simple.unindented.restructuredtext","begin":"(?=^={2,}(?:\\s+={2,})++[ \\t]*$)","end":"(?!\\G)","patterns":[{"name":"meta.table-head.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"\\G(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"(?=^={2,}(?:\\s+={2,})*+[ \\t]*$)","patterns":[{"include":"#table-simple-innards"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"name":"meta.table-body.restructuredtext","contentName":"markup.other.table.restructuredtext","end":"^={2,}(?:\\s+={2,})++[ \\t]*$|(?=^\\s*$)","patterns":[{"include":"#table-simple-body"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}},"endCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}}],"applyEndPatternLast":true}]},"table-simple-body":{"patterns":[{"begin":"\\G$","end":"^"},{"begin":"$","end":"^\\s*$|(?=^\\s*\\S)"},{"include":"#table-simple-innards"},{"name":"comment.block.double-dot.truncated.restructuredtext","match":"(?:^|(?\u003c=\\s))\\.\\.(?=$|\\s)(?!\\s+\\w+::)","captures":{"0":{"name":"punctuation.definition.comment.restructuredtext"}}}]},"table-simple-continuation":{"name":"meta.separator.table.simple.restructuredtext","match":"^\\s*(-{2,}(?:\\s+-{2,})*+)[ \\t]*$","captures":{"1":{"name":"punctuation.definition.table.column-span.restructuredtext"}}},"table-simple-innards":{"patterns":[{"include":"#table-simple-continuation"},{"name":"meta.separator.table.simple.nested.restructuredtext","match":"(?\u003c=\\s)(?\u003c!^)={2,}(?:\\s+={2,})*+(?=$|\\s)","captures":{"0":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"match":"(?:^|(?\u003c=\\s{2}))\\|(?=$|\\s)(?:\\s\\S+)*+","captures":{"0":{"patterns":[{"include":"#line-block"}]}}},{"include":"#inlines"}]},"tables":{"patterns":[{"include":"#table-grid"},{"include":"#table-simple"}]},"tag-name":{"name":"entity.name.tag.restructuredtext","match":"(:)[A-Za-z][\\w\\s=.-]*(:)","captures":{"1":{"name":"punctuation.definition.field.restructuredtext"},"2":{"name":"punctuation.definition.field.restructuredtext"}}},"toctree":{"name":"meta.toctree.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(toctree)(::)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"name":"meta.field-list.restructuredtext","begin":"(?\u003c=::)\\G","end":"^(?=[ \\t]*$)","patterns":[{"include":"#toctree-caption"},{"include":"#toctree-depth"},{"include":"#doctree-options"},{"include":"#directive-options"}]},{"name":"meta.entry.restructuredtext","match":"^\\s+(?!\\G)(\\S.*?)\\s+(\u003c.*?\u003e)[ \\s]*$","captures":{"1":{"name":"markup.list.description.restructuredtext"},"2":{"patterns":[{"include":"#toctree-target"}]}}},{"name":"meta.entry.restructuredtext","match":"^\\s+(?!\\G)(\\S.*?)[ \\s]*$","captures":{"1":{"patterns":[{"include":"#toctree-target"}]}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"}}},"toctree-caption":{"name":"meta.toctree-option.caption.restructuredtext","contentName":"string.unquoted.caption.restructuredtext","begin":"(?i)(:caption:)\\s+(?=\\S)","end":"$","beginCaptures":{"1":{"patterns":[{"include":"#tag-name"}]}}},"toctree-depth":{"name":"meta.toctree-option.$2.restructuredtext","begin":"(?i)(:((?:min|max)depth):)\\s+","end":"$","patterns":[{"name":"constant.numeric.integer.restructuredtext","match":"\\G-?\\d+(?=\\s*$)"},{"name":"invalid.illegal.bad-integer.restructuredtext","match":"\\G(\\S.+?)(?=\\s*$)"}],"beginCaptures":{"1":{"patterns":[{"include":"#tag-name"}]}}},"toctree-target":{"patterns":[{"match":"(?:^|\\G)(\u003c)(.*)(\u003e)$","captures":{"1":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"},"2":{"patterns":[{"include":"#toctree-target"}]},"3":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},{"match":"(?:^|\\G)(?:(!)|(~))?(?!\u003c)((.+))(?\u003c!\u003c)$","captures":{"1":{"name":"keyword.operator.suppress-reference.restructuredtext"},"2":{"name":"keyword.operator.last-component-only.restructuredtext"},"3":{"name":"string.other.link.destination.restructuredtext"},"4":{"patterns":[{"name":"keyword.operator.glob.wildcard.restructuredtext","match":"\\*"}]}}}]}},"injections":{"L:meta.numref.restructuredtext":{"patterns":[{"name":"constant.other.placeholder.figure-number.restructuredtext","match":"(%)s","captures":{"1":{"name":"punctuation.definition.placeholder.restructuredtext"}}},{"name":"constant.other.placeholder.figure-$2.restructuredtext","match":"({)(name|number)(})","captures":{"1":{"name":"punctuation.definition.placeholder.begin.restructuredtext"},"3":{"name":"punctuation.definition.placeholder.end.restructuredtext"}}}]}}}
|
1
|
+
{"name":"reStructuredText","scopeName":"text.restructuredtext","patterns":[{"include":"#all"}],"repository":{"all":{"patterns":[{"include":"#escape"},{"include":"#line-block"},{"include":"#tables"},{"include":"#headings"},{"include":"#substitution-definition"},{"include":"#citation-definition"},{"include":"#footnote-definition"},{"include":"#directives"},{"include":"#raw-blocks"},{"include":"#link-target"},{"include":"#inlines"},{"include":"#tag-name"},{"include":"#doctest"},{"include":"#domains"},{"include":"#comments"}]},"citation":{"name":"meta.citation.reference.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (\\[)((?=[A-Za-z])(?:[-_.:+]?[A-Za-z0-9])++)(\\])(_) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.citation.begin.restructuredtext"},"2":{"name":"constant.other.reference.link.restructuredtext"},"3":{"name":"punctuation.definition.citation.end.restructuredtext"},"4":{"name":"punctuation.definition.reference.restructuredtext"}}},"citation-definition":{"name":"meta.citation.definition.restructuredtext","contentName":"string.unquoted.citation.restructuredtext","begin":"(?:^(\\s*)|(?!^)\\G\\s*)(\\.\\.)\\s+(\\[)((?=[A-Za-z])(?:[-_.:+]?[A-Za-z0-9])++)(\\])(?:$|\\s+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.citation.begin.restructuredtext"},"4":{"name":"entity.name.citation.restructuredtext"},"5":{"name":"punctuation.definition.citation.end.restructuredtext"}}},"comments":{"patterns":[{"name":"comment.block.double-dot.indented.has-text.restructuredtext","begin":"^([ \\t]+)(\\.\\.)\\s+(?=\\S)(?!\\[[^\\]]+\\](?:$|\\s))","end":"(?!\\G)^(?:(?=\\S)|(?!\\1[ \\t]+\\S|\\s*$))","beginCaptures":{"2":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.indented.no-text.restructuredtext","begin":"^([ \\t]+)(\\.\\.)[ \\t]*$","end":"(?!\\G)^(?:(?=\\S)|(?!\\1[ \\t]+\\S))","patterns":[{"begin":"(?\u003c!\\G)(?\u003c=\\S)$","end":"^","patterns":[{"match":"^[ \\t]*$"}],"applyEndPatternLast":true}],"beginCaptures":{"2":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.unindented.has-text.restructuredtext","begin":"^(\\.\\.)\\s+(?=\\S)(?!\\[[^\\]]+\\](?:$|\\s))","end":"(?!\\G)^(?=\\S)","beginCaptures":{"1":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"comment.block.double-dot.unindented.no-text.restructuredtext","begin":"^(\\.\\.)[ \\t]*$","end":"(?!\\G)^(?=\\S|\\s*$)","patterns":[{"begin":"(?\u003c!\\G)(?\u003c=\\S)$","end":"^","patterns":[{"match":"^[ \\t]*$"}],"applyEndPatternLast":true}],"beginCaptures":{"1":{"name":"punctuation.definition.comment.restructuredtext"}}}]},"directive-options":{"patterns":[{"name":"meta.directive-option.restructuredtext","match":"(:[^:]+:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.tag-value.restructuredtext"}}}]},"directives":{"patterns":[{"name":"meta.image.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(image)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.other.reference.link.restructuredtext"}}},{"name":"meta.figure.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(figure)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"},{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.other.reference.link.restructuredtext"}}},{"include":"#toctree"},{"begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(raw|code(?:-block)?)(::)\\s+(html)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.html.basic"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.coffee","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(coffee-?script)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.coffee"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.js","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(js|javascript)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.js"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ts","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(typescript)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.ts"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.json","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(json)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.json"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.css","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(css)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.css"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.xml","begin":"^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+((?:pseudo)?xml)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.xml"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ruby","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(ruby)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.ruby"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.java","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(java)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.java"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.erlang","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(erlang)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.erlang"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.cs","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(csharp|c#)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.cs"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.php","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(php[3-5]?)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.html.php"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.shell","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(shell|(ba|k)?sh)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.shell"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(py(thon)?|sage)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(ipython)(::)\\s+(py(thon)?)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.stata","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(stata)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.stata"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.python","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(sas)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.objc","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(objective-?c|obj-?c)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.objc"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.yaml","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(yaml)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.yaml"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ini","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?)(::)\\s+(cfg|dosini|ini)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"match":"(?:^|\\G)[ \\t]*(\\S.*)","captures":{"1":{"patterns":[{"include":"source.ini"}]}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.roff","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(manpage|man|[ntg]?roff)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"match":"(?:^|\\G)[ \\t]*(\\S.*)","captures":{"1":{"patterns":[{"include":"text.roff"}]}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.pic","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+([dg]?pic|pikchr|pic2plot|dformat)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.pic"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.ditroff","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(ditroff|groff[-_]?out|grout)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.ditroff"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.tex.latex","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+((?:xe)?(?:la)?tex)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.tex.latex"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"text.embedded.texinfo","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(texinfo)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.texinfo"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.postscript","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(postscript|ps|eps)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.postscript#main"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.powershell","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(posh|powershell|ps1|psm1|pwsh)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.powershell"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.batchfile","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+((?:dos|win)?batch|bat)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.batchfile"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.swift","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(swift)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.swift"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"source.embedded.applescript","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)\\s+(applescript)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"source.applescript"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"markup.raw.inner.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(code(?:-block)?|raw)(::)(?:\\s+([-\\w]+))?(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"contentName":"markup.raw.inner.parsed.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(parsed-literal)(::)(?:\\s+([-\\w]+))?(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#inlines"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"entity.name.directive.restructuredtext"}}},{"name":"source.embedded.latex","contentName":"markup.math.block.restructuredtext","begin":"(?i)^([ \\t]*)(\\.\\.)\\s+(math)(::)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"text.tex#math"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.option.directive.restructuredtext","match":"(?i)^\\s*(\\.\\.)\\s+(option)(::)\\s*(.+)?$","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"},"4":{"patterns":[{"name":"punctuation.definition.bracket.angle.restructuredtext","match":"\u003c|\u003e"},{"name":"punctuation.delimiter.comma.restructuredtext","match":","},{"name":"entity.name.directive.restructuredtext","match":"[^\\s\u003c\u003e,]+"}]}}},{"name":"meta.other.directive.restructuredtext","match":"^\\s*(\\.\\.)\\s+([A-z][-A-z0-9_]+)(::)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.other.directive.restructuredtext","match":"^\\s*(\\.\\.)\\s+([A-z][-A-z0-9_]+)(::)\\s+(.+?)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.directive.restructuredtext"},"2":{"name":"support.directive.restructuredtext"},"3":{"name":"punctuation.separator.key-value.restructuredtext"},"4":{"name":"entity.name.directive.restructuredtext"}}}]},"doctest":{"patterns":[{"name":"meta.doctest.indented.restructuredtext","begin":"^(?=(\\s+)\u003e\u003e\u003e(?:\\s+\\S.*)?[ \\t]*$)","end":"^(?=\\s*$)|^(?=(?:(?!\\1)\\s+)?\\S)","patterns":[{"begin":"^(\\s+)(\u003e\u003e\u003e)\\s+(\\S.*)?(?=[ \\t]*$)","end":"(?=^\\s*$)|^(?!\\1((?!(?:\u003e\u003e\u003e|\\.{3})\\s+)\\s*\\S.*[ \\t]*)$)","patterns":[{"match":"^\\s+(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\S.*)(?=[ \\t]*$)","captures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.separator.prompt.primary.doctest.restructuredtext"},"3":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}},"endCaptures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}},{"begin":"^(\\s+)(\\.{3})\\s+(\\S.*)?(?=[ \\t]*$)","end":"(?=^\\s*$)|^(?!\\1((?!(?:\u003e\u003e\u003e|\\.{3})\\s+)\\s*\\S.*[ \\t]*)$)","patterns":[{"match":"^\\s+(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\S.*)(?=[ \\t]*$)","captures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.separator.prompt.secondary.doctest.restructuredtext"},"3":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}},"endCaptures":{"1":{"name":"markup.raw.output.doctest.restructuredtext"}}},{"name":"markup.raw.output.doctest.restructuredtext","match":"^(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\s*\\S.*[ \\t]*)$"}]},{"name":"meta.doctest.unindented.restructuredtext","begin":"^(?=\u003e\u003e\u003e(?:\\s+\\S.*)?[ \\t]*$)","end":"^(?=\\s*$)","patterns":[{"match":"^(\u003e\u003e\u003e)\\s+(\\S.*)?(?=[ \\t]*$)","captures":{"1":{"name":"punctuation.separator.prompt.primary.doctest.restructuredtext"},"2":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}}},{"match":"^(\\.{3})\\s+(\\S.*)?(?=[ \\t]*$)","captures":{"1":{"name":"punctuation.separator.prompt.secondary.doctest.restructuredtext"},"2":{"name":"source.embedded.python","patterns":[{"include":"source.python"}]}}},{"name":"markup.raw.output.doctest.restructuredtext","match":"^(?!(?:\u003e\u003e\u003e|\\.{3})\\s+)(\\s*\\S.*[ \\t]*)$"}]}]},"doctree-options":{"patterns":[{"name":"meta.doctree-option.class.restructuredtext","match":"(?i)(:class:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.class-list.restructuredtext"}}},{"name":"meta.doctree-option.name.restructuredtext","match":"(?i)(:name:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.name.restructuredtext"}}}]},"domains":{"patterns":[{"name":"meta.sphinx-domain.restructuredtext","contentName":"source.embedded.python","begin":"(?i)^(\\s*)(\\.\\.)\\s+(py)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{6,}\\S)","patterns":[{"match":"(?:\\G|^)([^(]*)(\\()([^\\\\)]*\\\\[^)]*)(\\))","captures":{"1":{"patterns":[{"include":"source.python"}]},"2":{"name":"punctuation.parenthesis.begin.python"},"3":{"patterns":[{"name":"constant.character.escape.restructuredtext","match":"\\\\."},{"include":"source.python"}]},"4":{"name":"punctuation.parenthesis.end.python"}}},{"include":"source.python"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","contentName":"source.embedded.c","begin":"(?i)^(\\s*)(\\.\\.)\\s+(c)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"include":"source.c"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(cpp)(::?)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"match":"(.+)(\\\\?)$","captures":{"1":{"name":"source.embedded.cpp","patterns":[{"include":"source.c++"}]},"2":{"name":"constant.character.escape.newline.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(js)(:)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","patterns":[{"match":"(.+)(\\\\?)$","captures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"constant.character.escape.newline.restructuredtext"}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.sphinx-domain.restructuredtext","contentName":"string.unquoted.domain.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+([^:]+)(::?)([^:]+)(::)","end":"^(?!\\s*$|\\1[ \\t]{5,}\\S)","beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"support.directive.restructuredtext"},"6":{"name":"punctuation.separator.key-value.restructuredtext"}}}]},"emphasis":{"patterns":[{"contentName":"markup.bold.emphasis.strong.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n\\*\\*\n(?=\\S)\n(?!\\*\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)\\*\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|^(?=\\s*$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.bold.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.bold.end.restructuredtext"}}},{"contentName":"markup.italic.emphasis.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n\\*\n(?=\\S)\n(?!\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)\\*(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|^(?=\\s*$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.italic.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.italic.end.restructuredtext"}}}]},"escape":{"name":"constant.character.escape.backslash.restructuredtext","match":"\\\\."},"footnote":{"match":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n(?:\n\t# Manually-numbered: “[0]_”\n\t(\\[[0-9]+\\]_)\n\t|\n\t# Auto-numbered: “[#]_” or “[#foo]_”\n\t(\\[\\#(?:(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)?\\]_)\n\t|\n\t# Auto-symbol: “[*]_”\n\t(\\[\\*\\]_)\n)\n(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"meta.footnote.reference.numbered.manual.restructuredtext","patterns":[{"include":"#footnote-name"}]},"2":{"name":"meta.footnote.reference.numbered.auto.restructuredtext","patterns":[{"include":"#footnote-name"}]},"3":{"name":"meta.footnote.reference.symbolic.auto.restructuredtext","patterns":[{"include":"#footnote-name"}]}}},"footnote-definition":{"name":"meta.footnote.definition.restructuredtext","contentName":"string.unquoted.footnote.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+(\\[[^\\]]+\\])(?:$|\\s+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#all"}],"beginCaptures":{"2":{"name":"punctuation.definition.link.restructuredtext"},"3":{"patterns":[{"include":"#footnote-name"}]}}},"footnote-name":{"name":"meta.footnote-name.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:\\G|^)\\[","end":"(\\])(_)?","beginCaptures":{"0":{"name":"punctuation.definition.footnote.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.footnote.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.restructuredtext"}}},"headings":{"name":"markup.heading.restructuredtext","match":"^(([-=~`#\"^+*:.'_])\\2{2,})(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.heading.restructuredtext"}}},"image-options":{"patterns":[{"name":"meta.image-option.alt.restructuredtext","match":"(?i)(:alt:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.tag-value.restructuredtext"}}},{"name":"meta.image-option.height.restructuredtext","match":"(?i)(:height:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.width.restructuredtext","match":"(?i)(:width:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.scale.restructuredtext","match":"(?i)(:scale:)\\s*(.*)","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"patterns":[{"include":"#length"}]}}},{"name":"meta.image-option.align.restructuredtext","match":"(?i)(:align:)\\s*(?:(top|middle|bottom|left|center|right)\\b)?","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"keyword.language.image-alignment.restructuredtext"}}},{"name":"meta.image-option.target.restructuredtext","match":"(?i)(:target:)\\s*(.*)?","captures":{"1":{"patterns":[{"include":"#tag-name"}]},"2":{"name":"string.other.target.restructuredtext"}}},{"include":"#doctree-options"},{"include":"#directive-options"}]},"inlines":{"patterns":[{"include":"#escape"},{"include":"#quoted"},{"include":"#emphasis"},{"include":"#link-target-inline"},{"include":"#interpreted-text"},{"include":"#substitution-reference"},{"include":"#literal"},{"include":"#link-reference"},{"include":"#footnote"},{"include":"#citation"}]},"interpreted-text":{"patterns":[{"include":"#interpreted-text-marked"},{"include":"#interpreted-text-unmarked"}]},"interpreted-text-marked":{"name":"meta.interpreted-text.marked.leading-marker.restructuredtext","begin":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) ((:)\\w+(?:[-_.:+]\\w+)*+(:)) (?=`(?=\\S)(?!`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))","end":"(?!\\G)","patterns":[{"begin":"\\G`","end":"(?=^\\s*$)|`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","patterns":[{"include":"#roles"}],"beginCaptures":{"0":{"name":"punctuation.definition.interpreted-text.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.interpreted-text.end.restructuredtext"}}}],"beginCaptures":{"1":{"name":"keyword.operator.role.restructuredtext"},"2":{"name":"punctuation.definition.role.name.begin.restructuredtext"},"3":{"name":"punctuation.definition.role.name.end.restructuredtext"}}},"interpreted-text-unmarked":{"name":"meta.interpreted-text.unmarked.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (`)((?!`|\\s)(?:[^`\\\\]|\\\\.)++)(`) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.interpreted-text.begin.restructuredtext"},"2":{"name":"string.interpolated.restructuredtext","patterns":[{"include":"#escapes"}]},"3":{"name":"punctuation.definition.interpreted-text.end.restructuredtext"}}},"length":{"name":"constant.numeric.length.restructuredtext","match":"[\\d.]+\\s*(?i:(em|ex|px|in|cm|mm|pt|pc)|(%))?","captures":{"1":{"name":"keyword.other.${1:/downcase}-unit.restructuredtext"},"2":{"name":"keyword.other.percentile-unit.restructuredtext"}}},"line-block":{"patterns":[{"name":"meta.line-block.indented.restructuredtext","contentName":"markup.quote.preserved-whitespace.restructuredtext","begin":"(?:\\G|^)(\\s+)(\\|)(?:(\\s+)(?=\\S)|(?=\\s*$))","end":"^(?=\\1\\|(?:\\s+(?=\\S)|(?=\\s*$))|\\s*$|(?:(?!\\1)\\s+)?\\S|\\1(?:[^|\\s]|\\|\\S))","beginCaptures":{"2":{"patterns":[{"include":"#line-block-border"}]},"3":{"name":"punctuation.whitespace.leading.line-indent.restructuredtext"}}},{"name":"meta.line-block.unindented.restructuredtext","contentName":"markup.quote.preserved-whitespace.restructuredtext","begin":"(?:\\G|^)(\\|)(?:(\\s+)(?=\\S)|(?=\\s*$))","end":"^(?=\\|(?:\\s+(?=\\S)|(?=\\s*$))|\\s*$|[^|\\s]|\\|\\S)","beginCaptures":{"1":{"patterns":[{"include":"#line-block-border"}]},"2":{"name":"punctuation.whitespace.leading.line-indent.restructuredtext"}}}]},"line-block-border":{"name":"punctuation.definition.quote.line-block.restructuredtext","match":"\\|","captures":{"0":{"name":"sublimelinter.gutter-mark.restructuredtext"}}},"link":{"patterns":[{"match":"\\G\\s*((?:[^`\\\\]|\\\\.)+\\s+)?((\u003c)((?:[^`\\\\\u003c\u003e_]|_(?!\u003e)|\\\\.)+)(_)?(\u003e))\\s*(?=`|$)","captures":{"1":{"patterns":[{"name":"entity.name.reference.restructuredtext","begin":"(?:^|\\G)","end":"$","patterns":[{"include":"#escape"}]}]},"2":{"name":"meta.link-destination.restructuredtext"},"3":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"},"4":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]},"5":{"name":"punctuation.definition.reference.named.restructuredtext"},"6":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},{"match":"\\G\\s*((?:[^`\\\\]|\\.)++)\\s*(?=`|$)","captures":{"1":{"patterns":[{"name":"meta.link-destination.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:^|\\G)","end":"$","patterns":[{"include":"#escape"}]}]}}}]},"link-reference":{"patterns":[{"match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (?:(`(?:[^\\\\`]|\\\\.)*+`__?)|\\b((?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++__?)) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"patterns":[{"include":"#link-reference-quoted"}]},"2":{"patterns":[{"include":"#link-reference-unquoted"}]}}},{"begin":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (?=`(?:[^\\\\`]|\\\\.)++$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]}]},"link-reference-quoted":{"name":"meta.link-reference.quoted.restructuredtext","begin":"(?:\\G|^)`","end":"(`)(?:(__)\\b|(_)\\b)?","patterns":[{"name":"meta.embedded-target.restructuredtext","begin":"\\G(?=.*(?:\\G|(?\u003c=\\s))\u003c(?:[^\\\\\u003c\u003e`]|\\\\.)++\u003e\\s*(?:$|`))","end":"(?=\\s*(?:$|`))","patterns":[{"include":"#link"}]},{"match":"(?:\\G|^\\s*)((?!\\s)(?:[^\\\\`]|\\\\.)++)","captures":{"1":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]}}}],"beginCaptures":{"0":{"name":"punctuation.definition.link.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.link.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"3":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"link-reference-unquoted":{"name":"meta.link-reference.unquoted.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?:\\G|(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))(?=\\w)(?!_)","end":"(?:(__)|(_))(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])|(?=_\\W)","patterns":[{"match":"[-_.:+][A-Za-z0-9]"},{"include":"#escape"}],"endCaptures":{"1":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"2":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"link-target":{"patterns":[{"name":"meta.definition.link-target.anonymous.restructuredtext","begin":"(?:^(\\s*)|(?!^)\\G\\s*)(?:(\\.\\.)\\s+(__)(:)|(__))(?:$|\\s+)","end":"^(?:(?=\\s*$)|(?!\\1[ \\t]+\\S))","patterns":[{"include":"#link-target-innards"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"constant.language.anonymous-link.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"},"5":{"name":"constant.language.anonymous-link.restructuredtext"}}},{"name":"meta.definition.link-target.named.restructuredtext","begin":"(?x)\n(?: ^(\\s*) | (?!^)\\G\\s*)\n(\\.\\.) \\s+ (_)\n(\n\t# Phrase reference: “.. _`name`: …”\n\t(`) ((?:[^\\\\`]|\\\\.)*+) (`)\n\t|\n\t# Name reference: “.. _name: …”\n\t(?!`)\n\t(\n\t\t(?: [^\\\\:]\n\t\t| : (?!$|\\s)\n\t\t| \\\\.\n\t\t)++\n\t)\n) (:) (?:$|\\s+)","end":"^(?:(?=\\s*$)|(?!\\1[ \\t]+\\S))","patterns":[{"include":"#link-target-innards"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.link.restructuredtext"},"4":{"name":"entity.name.link.restructuredtext"},"5":{"name":"punctuation.definition.link.begin.restructuredtext"},"6":{"patterns":[{"include":"#escape"}]},"7":{"name":"punctuation.definition.link.end.restructuredtext"},"8":{"patterns":[{"include":"#escape"}]},"9":{"name":"punctuation.separator.key-value.restructuredtext"}}}]},"link-target-inline":{"name":"meta.definition.link-target.inline.internal.restructuredtext","match":"(?x) (?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])) (_)((`)(?:[^\\\\`]|\\\\.)*+)(`) (?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.link.restructuredtext"},"2":{"name":"entity.name.link.restructuredtext"},"3":{"name":"punctuation.definition.link.begin.restructuredtext"},"4":{"name":"punctuation.definition.link.end.restructuredtext"}}},"link-target-innards":{"patterns":[{"match":"\\G(?\u003c=[ \\t])(?:`(?:[^\\\\`]|\\\\.)*+`|\\b(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)_(?=\\s*$)","captures":{"0":{"patterns":[{"include":"#link-reference"}]}}},{"begin":"\\G(?\u003c=[ \\t])(?=`(?:[^\\\\`]|\\\\.)*+$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]},{"begin":"\\G(?=\\s*$)","end":"^(\\s*(?:`(?:[^\\\\`]|\\\\.)*+`|\\b(?=\\w)(?!_)(?:[-_.:+]?[A-Za-z0-9])++)__?\\b)?|(?\u003c=`__|`_)(?=\\s*$)","patterns":[{"begin":"^\\s*(?=`(?:[^\\\\`]|\\\\.)*+$)","end":"(?!\\G)","patterns":[{"include":"#link-reference-quoted"}]}],"endCaptures":{"1":{"patterns":[{"include":"#link-reference"}]}},"applyEndPatternLast":true},{"match":"(?:^\\s*|\\G|(?\u003c=\\s))((?:[^\\\\\\s]|\\\\.)++)(?=$|\\s)","captures":{"1":{"name":"constant.other.reference.link.restructuredtext","patterns":[{"include":"#escape"}]}}}]},"literal":{"contentName":"markup.raw.monospace.literal.restructuredtext","begin":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n``\n(?=\\S)\n(?!``(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","end":"(?\u003c=\\S)``(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","beginCaptures":{"0":{"name":"punctuation.definition.literal.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.literal.end.restructuredtext"}}},"quoted":{"match":"(?x)\n(?: ' (?:\\*{1,2}|`|_||) '\n| \" (?:\\*{1,2}|`|_||) \"\n| \u003c (?:\\*{1,2}|`|_||) \u003e\n| \\( (?:\\*{1,2}|`|_||) \\)\n| \\[ (?:\\*{1,2}|`|_||) \\]\n| \\{ (?:\\*{1,2}|`|_||) \\}\n| « (?:\\*{1,2}|`|_||) »\n| ‹ (?:\\*{1,2}|`|_||) ›\n| » (?:\\*{1,2}|`|_||) [«»]\n| › (?:\\*{1,2}|`|_||) [‹›]\n| ‘ (?:\\*{1,2}|`|_||) [’‚]\n| ’ (?:\\*{1,2}|`|_||) ’\n| ‚ (?:\\*{1,2}|`|_||) [‘’]\n| “ (?:\\*{1,2}|`|_||) [”„]\n| „ (?:\\*{1,2}|`|_||) [“”]\n| ” (?:\\*{1,2}|`|_||) ”\n| ( (?:\\*{1,2}|`|_||) )\n| ﹙ (?:\\*{1,2}|`|_||) ﹚\n| ⁽ (?:\\*{1,2}|`|_||) ⁾\n| ₍ (?:\\*{1,2}|`|_||) ₎\n| [ (?:\\*{1,2}|`|_||) ]\n| { (?:\\*{1,2}|`|_||) }\n| ﹛ (?:\\*{1,2}|`|_||) ﹜\n| ༼ (?:\\*{1,2}|`|_||) ༽\n| ᚛ (?:\\*{1,2}|`|_||) ᚜\n| ⁅ (?:\\*{1,2}|`|_||) ⁆\n| ⧼ (?:\\*{1,2}|`|_||) ⧽\n| ⦃ (?:\\*{1,2}|`|_||) ⦄\n| ⦅ (?:\\*{1,2}|`|_||) ⦆\n| ⦅ (?:\\*{1,2}|`|_||) ⦆\n| ⦇ (?:\\*{1,2}|`|_||) ⦈\n| ⦉ (?:\\*{1,2}|`|_||) ⦊\n| ⦋ (?:\\*{1,2}|`|_||) ⦌\n#| ⦍ (?:\\*{1,2}|`|_||) ⦐ # XXX: For some reason, Docutils allows this\n| ⦏ (?:\\*{1,2}|`|_||) ⦎\n| ⦑ (?:\\*{1,2}|`|_||) ⦒\n| ⦓ (?:\\*{1,2}|`|_||) ⦔\n| ⦕ (?:\\*{1,2}|`|_||) ⦖\n| ⦗ (?:\\*{1,2}|`|_||) ⦘\n| ⟅ (?:\\*{1,2}|`|_||) ⟆\n| ⟦ (?:\\*{1,2}|`|_||) ⟧\n| ⟨ (?:\\*{1,2}|`|_||) ⟩\n| ⟪ (?:\\*{1,2}|`|_||) ⟫\n| ❨ (?:\\*{1,2}|`|_||) ❩\n| ❪ (?:\\*{1,2}|`|_||) ❫\n| ❬ (?:\\*{1,2}|`|_||) ❭\n| ❮ (?:\\*{1,2}|`|_||) ❯\n| ❰ (?:\\*{1,2}|`|_||) ❱\n| ❲ (?:\\*{1,2}|`|_||) ❳\n| ❴ (?:\\*{1,2}|`|_||) ❵\n| ⸂ (?:\\*{1,2}|`|_||) ⸃\n| ⸃ (?:\\*{1,2}|`|_||) ⸂\n| ⸄ (?:\\*{1,2}|`|_||) ⸅\n| ⸅ (?:\\*{1,2}|`|_||) ⸄\n| ⸉ (?:\\*{1,2}|`|_||) ⸊\n| ⸊ (?:\\*{1,2}|`|_||) ⸉\n| ⸌ (?:\\*{1,2}|`|_||) ⸍\n| ⸍ (?:\\*{1,2}|`|_||) ⸌\n| ⸜ (?:\\*{1,2}|`|_||) ⸝\n| ⸝ (?:\\*{1,2}|`|_||) ⸜\n| 〈 (?:\\*{1,2}|`|_||) 〉\n| 〈 (?:\\*{1,2}|`|_||) 〉\n| 《 (?:\\*{1,2}|`|_||) 》\n| 「 (?:\\*{1,2}|`|_||) 」\n| 「 (?:\\*{1,2}|`|_||) 」\n| 『 (?:\\*{1,2}|`|_||) 』\n| 【 (?:\\*{1,2}|`|_||) 】\n| 〔 (?:\\*{1,2}|`|_||) 〕\n| ﹝ (?:\\*{1,2}|`|_||) ﹞\n| 〖 (?:\\*{1,2}|`|_||) 〗\n| 〘 (?:\\*{1,2}|`|_||) 〙\n| 〚 (?:\\*{1,2}|`|_||) 〛\n| ⧘ (?:\\*{1,2}|`|_||) ⧙\n| ⧚ (?:\\*{1,2}|`|_||) ⧛\n) "},"raw-blocks":{"contentName":"meta.raw.block.restructuredtext","begin":"^(?!\\s*\\.\\.\\s\\w+)(\\s*)(.*)(::)$","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"name":"markup.raw.inner.restructuredtext","match":".+"}],"beginCaptures":{"2":{"patterns":[{"include":"#inlines"}]},"3":{"name":"punctuation.section.raw.restructuredtext"}}},"role-abbr":{"patterns":[{"begin":"(?i)(?\u003c=:abbr:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"name":"meta.abbreviation.restructuredtext","contentName":"constant.other.abbreviation.restructuredtext","begin":"\\G\\s*","end":"(?=\\s*(?:\\(|`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])))","patterns":[{"include":"#escape"}]},{"name":"meta.explanation.restructuredtext","contentName":"string.quoted.brackets.restructuredtext","begin":"\\(","end":"(\\))|((?:[^\\x29`]|\\.)*+)(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.restructuredtext"},"2":{"name":"invalid.illegal.unclosed-parenthetical.restructuredtext"}}}]},{"name":"meta.abbreviation.restructuredtext","contentName":"constant.other.abbreviation.restructuredtext","begin":"(?i)(?\u003c=:abbreviation:`|:acronym:`|:a[bc]:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]}]},"role-code":{"name":"markup.raw.code.monospace.literal.restructuredtext","begin":"(?i)(?\u003c=:code:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-command":{"name":"markup.bold.${1:/downcase}.restructuredtext","begin":"(?i)(?\u003c=:(command|program):`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-dfn":{"name":"markup.italic.definition.restructuredtext","begin":"(?i)(?\u003c=:dfn:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-emphasis":{"name":"markup.italic.emphasis.restructuredtext","begin":"(?i)(?\u003c=:emphasis:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-file":{"name":"meta.link-destination.filename.restructuredtext","contentName":"constant.other.reference.link.restructuredtext","begin":"(?i)(?\u003c=:file:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"include":"#role-variable"}]},"role-guilabel":{"name":"string.other.ui-label.restructuredtext","begin":"(?xi) (?: (?\u003c=:guilabel:`) | (?\u003c=:menuselection:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"name":"constant.character.escape.ampersand.restructuredtext","match":"\u0026\u0026"},{"name":"meta.accelerator.restructuredtext","match":"(\u0026)([^\\\\`]|(\\\\`))","captures":{"1":{"name":"keyword.operator.menu.accelerator.restructuredtext"},"2":{"name":"string.other.link.restructuredtext"},"3":{"patterns":[{"include":"#escape"}]}}},{"name":"keyword.operator.menu.separator.restructuredtext","match":"--\u003e"},{"include":"#escape"}]},"role-html":{"name":"text.embedded.html.basic","begin":"(?xi) (?: (?\u003c=:html:`) | (?\u003c=:raw-html:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"text.html.basic"}]},"role-kbd":{"name":"meta.keystrokes.restructuredtext","begin":"(?i)(?\u003c=:kbd:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"name":"meta.separator.combinator.restructuredtext","match":"[-+^]"},{"name":"entity.name.tag.keystroke.restructuredtext","match":"(?xi) (?:\\G|(?\u003c=[-+^\\s`])) ( caps \\s+ lock | page \\s+ down | page \\s+ up | scroll \\s+ lock | num \\s+ lock | sys \\s+ rq | back \\s+ space | ((?:[^-+^\\s\\\\`]|\\\\.)++) ) (?=$|[-+^\\s`])","captures":{"1":{"name":"markup.inserted.keystroke.restructuredtext"},"2":{"patterns":[{"include":"#escape"}]}}}]},"role-literal":{"name":"markup.raw.monospace.literal.restructuredtext","begin":"(?i)(?\u003c=:literal:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-mailheader":{"name":"markup.italic.mail-header.restructuredtext","begin":"(?i)(?\u003c=:mailheader:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-makevar":{"name":"markup.bold.make-variable.restructuredtext","begin":"(?i)(?\u003c=:makevar:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-manpage":{"name":"meta.manpage.link.inline.restructuredtext","begin":"(?i)(?\u003c=:manpage:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"hidden.manref"},{"match":"([-.\\w]+)(\\()(\\d+(?!\\d)|(?:[lnop]|tcl)(?=[/\\)]))([\\w:/]*?(?:/(?!/)[-\\w:./]+)?)(\\))","captures":{"1":{"name":"markup.bold.manpage-name.restructuredtext"},"2":{"name":"punctuation.section.round.bracket.begin.restructuredtext"},"3":{"name":"constant.language.manpage-section.restructuredtext"},"4":{"name":"constant.language.manpage-group.restructuredtext"},"5":{"name":"punctuation.section.round.bracket.end.restructuredtext"}}}]},"role-math":{"name":"markup.math.inline.restructuredtext","begin":"(?i)(?\u003c=:math:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"text.tex#math"}]},"role-mimetype":{"name":"markup.italic.mime-type.restructuredtext","begin":"(?i)(?\u003c=:mimetype:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-newsgroup":{"name":"markup.italic.newsgroup.link.restructuredtext","begin":"(?i)(?\u003c=:newsgroup:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-numref":{"name":"meta.numref.restructuredtext","begin":"(?i)(?\u003c=:numref:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#link"}]},"role-numreg":{"name":"meta.registry-link.${1:/downcase}${2:/downcase}${3:/downcase}${4:/downcase}-reference.restructuredtext","begin":"(?xi) (?: (?\u003c= :(pep):`) | (?\u003c= :(rfc):`) | (?\u003c= :(pep)-reference:`) | (?\u003c= :(rfc)-reference:`) ) \\G","end":"(?=^\\s*$)|(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"match":"(?:\\G|^)(?:((?:[^`\\\\]|\\\\.)+?)\\s*)?(\u003c(?:[^`\\\\]|\\\\.)*\u003e)(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","captures":{"1":{"name":"entity.name.link-label.restructuredtext","patterns":[{"include":"#escape"}]},"2":{"patterns":[{"include":"#role-numreg-destination"}]}}},{"name":"constant.other.reference.link.restructuredtext","match":"(?:\\G|^)\\d+(?:[ \\s]*#((?:[^`\\\\]|\\\\.)*))?(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","captures":{"1":{"patterns":[{"include":"#escape"}]}}},{"name":"constant.other.reference.link.restructuredtext","begin":"\\G\\d+\\s*#","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},{"contentName":"entity.name.link-label.restructuredtext","begin":"\\G","end":"(?=^[ \\t]*$)|(\u003c(?:[^`\\\\]|\\\\.)*\u003e)?(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}],"endCaptures":{"1":{"patterns":[{"include":"#role-numreg-destination"}]}}}]},"role-numreg-destination":{"name":"meta.link-destination.restructuredtext","begin":"(?:\\G|^)\u003c","end":"\u003e$|(?=^[ \\t]*$)","patterns":[{"name":"constant.other.reference.link.restructuredtext","begin":"\\G\\d+(?=\u003e?$|#)","end":"(?=\u003e$)","patterns":[{"include":"#escape"}]},{"name":"invalid.illegal.invalid-proposal.restructuredtext","begin":"\\G","end":"(?=\u003e$|^[ \\t]*$)"}],"beginCaptures":{"0":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"}},"endCaptures":{"0":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},"role-other":{"name":"string.interpolated.restructuredtext","begin":"(?\u003c=:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-ref":{"begin":"(?xi) (?: (?\u003c=:ref:`) | (?\u003c=:doc:`) | (?\u003c=:download:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#link"}]},"role-regexp":{"name":"string.regexp.restructuredtext","begin":"(?i)(?\u003c=:regexp:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"source.regexp"},{"include":"source.regexp.python"}]},"role-samp":{"name":"markup.raw.monospace.literal.samp.restructuredtext","begin":"(?i)(?\u003c=:samp:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"},{"include":"#role-variable"}]},"role-strong":{"name":"markup.bold.emphasis.strong.restructuredtext","begin":"(?i)(?\u003c=:strong:`)\\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-subscript":{"name":"markup.subscript.restructuredtext","begin":"(?xi) (?: (?\u003c=:sub:`) | (?\u003c=:subscript:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-superscript":{"name":"markup.superscript.restructuredtext","begin":"(?xi) (?: (?\u003c=:sup:`) | (?\u003c=:superscript:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-term":{"name":"variable.parameter.reference.restructuredtext","begin":"(?xi) (?: (?\u003c=:term:`) | (?\u003c=:envvar:`) | (?\u003c=:keyword:`) | (?\u003c=:option:`) | (?\u003c=:token:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-titleref":{"name":"markup.italic.title-reference.restructuredtext","begin":"(?xi) (?: (?\u003c= :t:`) | (?\u003c= :title:`) | (?\u003c= :title-reference:`) ) \\G","end":"(?=`(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))","patterns":[{"include":"#escape"}]},"role-variable":{"name":"meta.embedded.line.restructuredtext","match":"({)((?:[^\\\\}]|\\\\.)*+)(})","captures":{"1":{"name":"punctuation.section.embedded.begin.restructuredtext"},"2":{"name":"variable.parameter.placeholder.restructuredtext","patterns":[{"include":"#escape"}]},"3":{"name":"punctuation.section.embedded.end.restructuredtext"}}},"roles":{"patterns":[{"include":"#role-abbr"},{"include":"#role-code"},{"include":"#role-command"},{"include":"#role-dfn"},{"include":"#role-emphasis"},{"include":"#role-file"},{"include":"#role-guilabel"},{"include":"#role-html"},{"include":"#role-kbd"},{"include":"#role-literal"},{"include":"#role-mailheader"},{"include":"#role-makevar"},{"include":"#role-manpage"},{"include":"#role-math"},{"include":"#role-mimetype"},{"include":"#role-newsgroup"},{"include":"#role-numref"},{"include":"#role-numreg"},{"include":"#role-ref"},{"include":"#role-regexp"},{"include":"#role-samp"},{"include":"#role-strong"},{"include":"#role-subscript"},{"include":"#role-superscript"},{"include":"#role-term"},{"include":"#role-titleref"},{"include":"#role-other"}]},"substitution-definition":{"patterns":[{"name":"meta.substitution-definition.image.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(\\|)(?=[^|\\s])(.+?)((?\u003c=\\S)\\|)\\s+(image)(::)\\s*(\\S+)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#image-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.substitution.start.restructuredtext"},"4":{"name":"entity.name.substitution.restructuredtext"},"5":{"name":"punctuation.definition.substitution.end.restructuredtext"},"6":{"name":"support.directive.restructuredtext"},"7":{"name":"punctuation.separator.key-value.restructuredtext"},"8":{"name":"constant.other.reference.link.restructuredtext"}}},{"name":"meta.substitution-definition.unicode.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(\\|)(?=[^|\\s])(.+?)((?\u003c=\\S)\\|)\\s+(unicode)(::)[ \\t]*","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"name":"meta.unicode-option.${1:/downcase}.restructuredtext","match":"(?i)(:[lr]?trim:)(?=$|\\s)","captures":{"1":{"patterns":[{"include":"#tag-name"}]}}},{"include":"#directive-options"},{"include":"#unicode-innards"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.substitution.start.restructuredtext"},"4":{"name":"entity.name.substitution.restructuredtext"},"5":{"name":"punctuation.definition.substitution.end.restructuredtext"},"6":{"name":"support.directive.restructuredtext"},"7":{"name":"punctuation.separator.key-value.restructuredtext"}}},{"name":"meta.substitution-definition.restructuredtext","begin":"^(\\s*)(\\.\\.)\\s+(\\|)(?=[^|\\s])(.+?)((?\u003c=\\S)\\|)\\s+(\\S+.*(?=::))(::)(.*)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"include":"#directive-options"}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"punctuation.definition.substitution.start.restructuredtext"},"4":{"name":"entity.name.substitution.restructuredtext"},"5":{"name":"punctuation.definition.substitution.end.restructuredtext"},"6":{"name":"support.directive.restructuredtext"},"7":{"name":"punctuation.separator.key-value.restructuredtext"},"8":{"name":"string.unquoted.substitution.data.restructuredtext","patterns":[{"include":"#inlines"}]}}}]},"substitution-reference":{"patterns":[{"include":"#substitution-reference-singleline"},{"include":"#substitution-reference-multiline"}]},"substitution-reference-multiline":{"name":"meta.substitution-reference.restructuredtext","contentName":"entity.name.substitution.restructuredtext","begin":"(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))(\\|)(?=[^|\\s])","end":"(?=^\\s*$)|(\\|)(?:(__)\\b|(_)\\b)?(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","beginCaptures":{"1":{"name":"punctuation.definition.substitution.start.restructuredtext"}},"endCaptures":{"1":{"name":"punctuation.definition.substitution.end.restructuredtext"},"2":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"3":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"substitution-reference-singleline":{"name":"meta.substitution-reference.restructuredtext","match":"(?x)\n(?:^|(?\u003c=[-:/'\"\u003c(\\[{\\s«»༺⟬⟮⸠⸡⸢⸤⸦⸨‚„‟‛])|(?\u003c![\\x00-\\x9F])(?\u003c=[\\p{Ps}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}]))\n(\\|)(?=[^|\\s])(.+?)(?\u003c!\\s)(\\|)\n(?:(__)\\b|(_)\\b)?\n(?=$|[-.,:;!?\\\\/'\")\\]}\u003e\\s«»༻⟭⟯⸡⸠⸣⸥⸧⸩‚„‟‛]|(?![\\x00-\\x9F])[\\p{Pe}\\p{Pi}\\p{Pf}\\p{Pd}\\p{Po}])","captures":{"1":{"name":"punctuation.definition.substitution.start.restructuredtext"},"2":{"name":"entity.name.substitution.restructuredtext"},"3":{"name":"punctuation.definition.substitution.end.restructuredtext"},"4":{"name":"punctuation.definition.reference.anonymous.restructuredtext"},"5":{"name":"punctuation.definition.reference.named.restructuredtext"}}},"table-grid":{"name":"meta.table.grid.restructuredtext","begin":"(?:\\G|^)(?=\\s*\\+-+(?:\\+-+)*+\\+\\s*$)","end":"(?=^\\s*$)","patterns":[{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c!-|=)\\+-+(?:\\+[-=]+)*+\\+(?!-|=)","captures":{"0":{"name":"punctuation.definition.table.grid-divider.horizontal.thin.restructuredtext","patterns":[{"name":"invalid.illegal.mixed-border-styles.restructuredtext","match":"=+"}]}}},{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c!-|=)\\+=+(?:\\+[-=]+)*+\\+(?!-|=)","captures":{"0":{"name":"punctuation.definition.table.grid-divider.horizontal.thick.restructuredtext","patterns":[{"name":"invalid.illegal.mixed-border-styles.restructuredtext","match":"-+"}]}}},{"name":"meta.separator.table.grid.restructuredtext","match":"(?\u003c=\\s)\\|(?=\\s)|^\\s*\\||\\|[ \\t]*$","captures":{"0":{"patterns":[{"name":"punctuation.definition.table.grid-divider.vertical.restructuredtext","match":"\\|"}]}}},{"name":"meta.table-cell.restructuredtext","match":"(?x)\n(?\u003c= ^ \\|\n| \\s \\|\n| [-=]\\+ \\|\n| [-=]\\+\n)\n\n(?: \\| [^|\\s]\n| [^|\\s] \\|\n| [^|+]\n| \\+ (?!(?:-+|=+)\\+)\n)++\n\n(?= (?\u003c=\\s) \\|\n| (?\u003c!\\s) \\| \\s* $\n| (?\u003c!-|=) \\+ (?:-+|=+) \\+\n)","captures":{"0":{"patterns":[{"match":"^\\s*(?:\\.\\.(?=$|\\s).*?)(?=\\s*$)","captures":{"0":{"patterns":[{"include":"#directives"},{"include":"#comments"}]}}},{"include":"#inlines"},{"include":"#table-simple"},{"include":"#table-simple-continuation"},{"name":"constant.character.escape.backslash.restructuredtext","match":"\\\\$"}]}}}]},"table-simple":{"patterns":[{"name":"meta.table.simple.indented.restructuredtext","begin":"(?=^\\s+={2,}(?:\\s+={2,})++[ \\t]*$)","end":"(?!\\G)","patterns":[{"name":"meta.table-head.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"\\G(\\s+)(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"(?=^\\1={2,}(?:\\s+={2,})*+[ \\t]*$)","patterns":[{"include":"#table-simple-innards"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"name":"meta.table-body.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"^(\\s+)(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"^\\1(={2,}(?:\\s+={2,})++)[ \\t]*$|(?=^\\s*$|^\\S|^(?!\\1)\\s+\\S)","patterns":[{"include":"#table-simple-body"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}},"endCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"2":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}}],"applyEndPatternLast":true},{"name":"meta.table.simple.unindented.restructuredtext","begin":"(?=^={2,}(?:\\s+={2,})++[ \\t]*$)","end":"(?!\\G)","patterns":[{"name":"meta.table-head.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"\\G(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"(?=^={2,}(?:\\s+={2,})*+[ \\t]*$)","patterns":[{"include":"#table-simple-innards"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"name":"meta.table-body.restructuredtext","contentName":"markup.other.table.restructuredtext","begin":"^(={2,}(?:\\s+={2,})++)[ \\t]*$","end":"^(={2,}(?:\\s+={2,})++)[ \\t]*$|(?=^\\s*$)","patterns":[{"include":"#table-simple-body"}],"beginCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}},"endCaptures":{"0":{"name":"meta.separator.table.simple.restructuredtext"},"1":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}}],"applyEndPatternLast":true}]},"table-simple-body":{"patterns":[{"begin":"\\G$","end":"^"},{"begin":"$","end":"^\\s*$|(?=^\\s*\\S)"},{"include":"#table-simple-innards"},{"name":"comment.block.double-dot.truncated.restructuredtext","match":"(?:^|(?\u003c=\\s))\\.\\.(?=$|\\s)(?!\\s+\\w+::)","captures":{"0":{"name":"punctuation.definition.comment.restructuredtext"}}}]},"table-simple-continuation":{"name":"meta.separator.table.simple.restructuredtext","match":"^\\s*(-{2,}(?:\\s+-{2,})*+)[ \\t]*$","captures":{"1":{"name":"punctuation.definition.table.column-span.restructuredtext"}}},"table-simple-innards":{"patterns":[{"include":"#table-simple-continuation"},{"name":"meta.separator.table.simple.nested.restructuredtext","match":"(?\u003c=\\s)(?\u003c!^)={2,}(?:\\s+={2,})*+(?=$|\\s)","captures":{"0":{"name":"punctuation.definition.table.simple-divider.restructuredtext"}}},{"match":"(?:^|(?\u003c=\\s{2}))\\|(?=$|\\s)(?:\\s\\S+)*+","captures":{"0":{"patterns":[{"include":"#line-block"}]}}},{"include":"#inlines"}]},"tables":{"patterns":[{"include":"#table-grid"},{"include":"#table-simple"}]},"tag-name":{"name":"entity.name.tag.restructuredtext","match":"(:)[A-Za-z][\\w\\s=.-]*(:)","captures":{"1":{"name":"punctuation.definition.field.restructuredtext"},"2":{"name":"punctuation.definition.field.restructuredtext"}}},"toctree":{"name":"meta.toctree.restructuredtext","begin":"(?i)^(\\s*)(\\.\\.)\\s+(toctree)(::)(?=\\s*$)","end":"^(?!\\s*$|\\1[ \\t]+\\S)","patterns":[{"name":"meta.field-list.restructuredtext","begin":"(?\u003c=::)\\G","end":"^(?=[ \\t]*$)","patterns":[{"include":"#toctree-caption"},{"include":"#toctree-depth"},{"include":"#doctree-options"},{"include":"#directive-options"}]},{"name":"meta.entry.restructuredtext","match":"^\\s+(?!\\G)(\\S.*?)\\s+(\u003c.*?\u003e)[ \\s]*$","captures":{"1":{"name":"markup.list.description.restructuredtext"},"2":{"patterns":[{"include":"#toctree-target"}]}}},{"name":"meta.entry.restructuredtext","match":"^\\s+(?!\\G)(\\S.*?)[ \\s]*$","captures":{"1":{"patterns":[{"include":"#toctree-target"}]}}}],"beginCaptures":{"2":{"name":"punctuation.definition.directive.restructuredtext"},"3":{"name":"support.directive.restructuredtext"},"4":{"name":"punctuation.separator.key-value.restructuredtext"}}},"toctree-caption":{"name":"meta.toctree-option.caption.restructuredtext","contentName":"string.unquoted.caption.restructuredtext","begin":"(?i)(:caption:)\\s+(?=\\S)","end":"$","beginCaptures":{"1":{"patterns":[{"include":"#tag-name"}]}}},"toctree-depth":{"name":"meta.toctree-option.$2.restructuredtext","begin":"(?i)(:((?:min|max)depth):)\\s+","end":"$","patterns":[{"name":"constant.numeric.integer.restructuredtext","match":"\\G-?\\d+(?=\\s*$)"},{"name":"invalid.illegal.bad-integer.restructuredtext","match":"\\G(\\S.+?)(?=\\s*$)"}],"beginCaptures":{"1":{"patterns":[{"include":"#tag-name"}]}}},"toctree-target":{"patterns":[{"match":"(?:^|\\G)(\u003c)(.*)(\u003e)$","captures":{"1":{"name":"punctuation.definition.angle.bracket.begin.restructuredtext"},"2":{"patterns":[{"include":"#toctree-target"}]},"3":{"name":"punctuation.definition.angle.bracket.end.restructuredtext"}}},{"match":"(?:^|\\G)(?:(!)|(~))?(?!\u003c)((.+))(?\u003c!\u003c)$","captures":{"1":{"name":"keyword.operator.suppress-reference.restructuredtext"},"2":{"name":"keyword.operator.last-component-only.restructuredtext"},"3":{"name":"string.other.link.destination.restructuredtext"},"4":{"patterns":[{"name":"keyword.operator.glob.wildcard.restructuredtext","match":"\\*"}]}}}]},"unicode-innards":{"patterns":[{"name":"constant.numeric.integer.codepoint.hexadecimal.restructuredtext","match":"(?i)(?:^|(?\u003c=\\s))(?:0x|(\\\\)?[ux]|U\\+)[0-9A-F]+(?=$|\\s)","captures":{"1":{"name":"constant.character.escape.backslash.restructuredtext"}}},{"name":"constant.numeric.integer.codepoint.decimal.restructuredtext","match":"(?:^|(?\u003c=\\s))[0-9]+(?=$|\\s)"},{"name":"constant.character.entity.xml","match":"(?i)(?:^|(?\u003c=\\s))(\u0026)(#x[0-9A-F]+)(;)(?=$|\\s)","captures":{"1":{"name":"punctuation.definition.constant.xml"},"2":{"name":"entity.name.other.codepoint.hexadecimal.xml"},"3":{"name":"punctuation.definition.entity.end.xml"}}},{"name":"comment.line.double-dot.trailing.restructuredtext","begin":"\\s+(\\.\\.)[ \\t]+(?=\\S)","end":"(?=\\s*$)","beginCaptures":{"1":{"name":"punctuation.definition.comment.restructuredtext"}}},{"name":"string.unquoted.substitution.data.restructuredtext","match":"(?:^|(?\u003c=\\s))(?!\\.\\.\\s+\\S)[^\\s]+"}]}},"injections":{"L:meta.numref.restructuredtext":{"patterns":[{"name":"constant.other.placeholder.figure-number.restructuredtext","match":"(%)s","captures":{"1":{"name":"punctuation.definition.placeholder.restructuredtext"}}},{"name":"constant.other.placeholder.figure-$2.restructuredtext","match":"({)(name|number)(})","captures":{"1":{"name":"punctuation.definition.placeholder.begin.restructuredtext"},"3":{"name":"punctuation.definition.placeholder.end.restructuredtext"}}}]}}}
|
data/grammars/text.sfd.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Spline Font Database","scopeName":"text.sfd","patterns":[{"include":"#main"}],"repository":{"address":{"name":"constant.numeric.hexadecimal.sfd","match":"\\d+[xX][A-Fa-f0-9]+"},"colour":{"name":"constant.other.hex.colour.sfd","match":"(#)[A-Fa-f0-9]{3,}|(?\u003c=\\s)[A-Fa-f0-9]{6,8}","captures":{"1":{"name":"punctuation.definition.colour.sfd"}}},"comment":{"name":"meta.user-comments.sfd","contentName":"comment.line.field.sfd","begin":"^(U?Comments?)(:)","end":"$","patterns":[{"include":"#source.fontforge#stringEscapes"}],"beginCaptures":{"1":{"name":"variable.
|
1
|
+
{"name":"Spline Font Database","scopeName":"text.sfd","patterns":[{"include":"#main"}],"repository":{"address":{"name":"constant.numeric.hexadecimal.sfd","match":"\\d+[xX][A-Fa-f0-9]+"},"colour":{"name":"constant.other.hex.colour.sfd","match":"(#)[A-Fa-f0-9]{3,}|(?\u003c=\\s)[A-Fa-f0-9]{6,8}","captures":{"1":{"name":"punctuation.definition.colour.sfd"}}},"comment":{"name":"meta.user-comments.sfd","contentName":"comment.line.field.sfd","begin":"^(U?Comments?)(:)","end":"$","patterns":[{"include":"#source.fontforge#stringEscapes"}],"beginCaptures":{"1":{"name":"variable.assignment.property.sfd"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"}}},"control":{"name":"keyword.control.${1:/downcase}.sfd","match":"\\b(Fore|Back|SplineSet|^End\\w+)\\b"},"copyright":{"name":"meta.copyright-string.sfd","contentName":"string.unquoted.copyright.info.sfd","begin":"^(Copyright)(:)","end":"$","patterns":[{"include":"source.fontforge#stringEscapes"}],"beginCaptures":{"1":{"name":"variable.assignment.property.sfd"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"}}},"encoding":{"name":"constant.language.encoding.sfd","match":"(?i)\\b(ISO[-\\w]+)(?\u003c=\\d)(?=\\s|$)"},"gaspTable":{"name":"meta.gasp-table.sfd","begin":"^(GaspTable)(:|(?=\\s))","end":"$","patterns":[{"include":"#main"}],"beginCaptures":{"1":{"name":"variable.assignment.property.sfd"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"}}},"header":{"name":"meta.header.sfd","match":"^(SplineFontDB)(:)","captures":{"1":{"name":"keyword.control.start.file.afm"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"}}},"image":{"name":"meta.image.sfd","contentName":"string.unquoted.raw.data.sfd","begin":"^(Image)(?=:)(.+)$","end":"^(EndImage)\\b","beginCaptures":{"1":{"name":"keyword.control.begin.image.sfd"},"2":{"patterns":[{"include":"#main"}]}},"endCaptures":{"1":{"name":"keyword.control.end.image.sfd"}}},"main":{"patterns":[{"include":"#punctuation"},{"include":"#private"},{"include":"#header"},{"include":"#names"},{"include":"#image"},{"include":"#pickleData"},{"include":"#sections"},{"include":"#copyright"},{"include":"#comment"},{"include":"#gaspTable"},{"include":"#property"},{"include":"#control"},{"include":"#address"},{"include":"#encoding"},{"include":"source.fontforge#shared"},{"include":"#colour"},{"include":"#unquoted"}]},"names":{"name":"meta.dictionary.key-value.sfd","match":"^((\\w+)Name)(:)\\s*(\\S+.*?)\\s$","captures":{"1":{"name":"variable.assignment.property.sfd"},"3":{"name":"punctuation.separator.dictionary.key-value.sfd"},"4":{"name":"entity.name.${2:/downcase},sfd"}}},"pickleData":{"name":"meta.pickle-data.sfd","begin":"^(PickledData)(:)\\s*(\")","end":"\"","patterns":[{"name":"constant.character.escape.sfd","match":"\\\\."}],"beginCaptures":{"1":{"name":"variable.assignment.property.sfd"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"},"3":{"name":"punctuation.definition.string.begin.sfd"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sfd"}}},"private":{"name":"meta.section.private.sfd","begin":"^BeginPrivate(?=:)","end":"^EndPrivate\\b","patterns":[{"name":"entity.name.private.property.sfd","match":"^\\S+"},{"include":"#main"}],"beginCaptures":{"0":{"name":"keyword.control.begin.private.sfd"}},"endCaptures":{"0":{"name":"keyword.control.end.private.sfd"}}},"property":{"name":"meta.dictionary.key-value.sfd","match":"^([^:]+)(:)","captures":{"1":{"name":"variable.assignment.property.sfd"},"2":{"name":"punctuation.separator.dictionary.key-value.sfd"}}},"punctuation":{"patterns":[{"name":"punctuation.definition.brackets.angle.sfd","match":"\u003c|\u003e"},{"name":"punctuation.definition.brackets.curly.sfd","match":"[{}]"}]},"sections":{"name":"meta.section.${2:/downcase}.sfd","begin":"^(Start|Begin)([A-Z]\\w+)(?=:)","end":"^(End\\2)\\b","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"keyword.control.begin.${2:/downcase}.sfd"}},"endCaptures":{"0":{"name":"keyword.control.end.${2:/downcase}.sfd"}}},"unquoted":{"name":"string.unquoted.property.sfd","match":"\\S+"}}}
|
data/grammars/text.xml.svg.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"SVG","scopeName":"text.xml.svg","patterns":[{"
|
1
|
+
{"name":"SVG","scopeName":"text.xml.svg","patterns":[{"include":"#main"}],"repository":{"attr":{"name":"meta.attribute.${0:/downcase}.xml.svg","begin":"[A-Za-z_:][-\\w.:]*","end":"(?=\\s*(?:/?\u003e|[^\\s=]))|(?\u003c=[\"'])","patterns":[{"include":"#attrValueCSS"},{"include":"#attrValuePlain"}],"beginCaptures":{"0":{"patterns":[{"include":"#attrName"}]}}},"attrName":{"patterns":[{"match":"(?:^|\\G)([-\\w.]+)(:)(?=[-\\w.:])","captures":{"1":{"name":"entity.other.attribute-name.namespace.xml.svg"},"2":{"name":"punctuation.separator.namespace.xml.svg"}}},{"name":"entity.other.attribute-name.localname.xml.svg","match":"[A-Za-z_:][-\\w.:]*"}]},"attrValueCSS":{"begin":"(?i)(?\u003c=style)\\G\\s*(=)","end":"(?=\\s*(?:[%?/]?\u003e))|(?\u003c=[\"'])([^\\s\u003e]*)|(?:\\G|^)\\s*([^\\s\"'\u003e]+)","patterns":[{"match":"(?:\\G|^)\\s+(?!/?\u003e)"},{"name":"string.quoted.double.xml.svg","begin":"\"","end":"\"","patterns":[{"name":"source.css.style.xml.svg","match":"[^\"]+","captures":{"0":{"patterns":[{"include":"#entity"},{"include":"source.css#rule-list-innards"}]}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xml.svg"}}},{"name":"string.quoted.single.xml.svg","begin":"'","end":"'","patterns":[{"name":"source.css.style.xml.svg","match":"[^']+","captures":{"0":{"patterns":[{"include":"#entity"},{"include":"source.css#rule-list-innards"}]}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xml.svg"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.key-value.xml.svg"}},"endCaptures":{"1":{"name":"invalid.illegal.syntax.xml.svg"},"2":{"name":"string.unquoted.xml.svg","patterns":[{"include":"source.css#rule-list-innards"}]}}},"attrValuePlain":{"begin":"\\s*(=)","end":"(?=\\s*(?:[%?/]?\u003e))|(?\u003c=[\"'])([^\\s\u003e]*)|(?:\\G|^)\\s*([^\\s\"'\u003e]+)","patterns":[{"match":"(?:\\G|^)\\s+(?!/?\u003e)"},{"name":"string.quoted.double.xml.svg","begin":"\"","end":"\"","patterns":[{"include":"#entity"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xml.svg"}}},{"name":"string.quoted.single.xml.svg","begin":"'","end":"'","patterns":[{"include":"#entity"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xml.svg"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.key-value.xml.svg"}},"endCaptures":{"1":{"name":"invalid.illegal.syntax.xml.svg"},"2":{"name":"string.unquoted.xml.svg"}}},"cdata":{"name":"string.unquoted.cdata.xml.svg","begin":"\u003c!\\[CDATA\\[","end":"\\]\\]\u003e","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xml.svg"}}},"commands":{"patterns":[{"name":"keyword.operator.drawing-command.xml.svg","match":"(?i)[MLHVCSQTAZ]"},{"name":"constant.numeric.number.xml.svg","match":"-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)"},{"name":"punctuation.separator.coordinates.comma.xml.svg","match":","}]},"comment":{"name":"comment.block.xml.svg","begin":"\u003c!--","end":"--\u003e","patterns":[{"name":"invalid.illegal.bad-comment.xml.svg","match":"--(?!\u003e)"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.xml.svg"}}},"doctype":{"name":"meta.tag.sgml.doctype.xml.svg","begin":"(\u003c!)(DOCTYPE)\\s+([:a-zA-Z_][-:\\w.]*)","end":"\\s*(\u003e)","patterns":[{"include":"text.xml#internalSubset"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.xml.svg"},"2":{"name":"keyword.other.doctype.xml.svg"},"3":{"name":"variable.language.documentroot.xml.svg"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.end.xml.svg"}}},"entity":{"patterns":[{"include":"text.xml#entity"},{"include":"text.xml#bare-ampersand"}]},"main":{"patterns":[{"include":"#comment"},{"include":"#cdata"},{"include":"#doctype"},{"include":"text.xml#EntityDecl"},{"include":"text.xml#parameterEntity"},{"include":"#entity"},{"include":"#preprocessor"},{"include":"#scriptTag"},{"include":"#styleTag"},{"include":"#tag"},{"include":"#unmatchedTag"}]},"preprocessor":{"name":"meta.tag.preprocessor.xml.svg","begin":"(\u003c\\?)\\s*","end":"\\?\u003e","patterns":[{"begin":"\\G","end":"([-\\w]+)|(?=\\s*\\?\u003e)","endCaptures":{"1":{"name":"entity.name.tag.xml.svg"}}},{"include":"#attr"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.xml.svg"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.xml.svg"}}},"scriptTag":{"patterns":[{"include":"#scriptTagPlain"},{"include":"#scriptTagJS"}]},"scriptTagJS":{"name":"meta.tag.script.xml.svg","begin":"(?i)(\u003c)(script)(?=$|\\s|/?\u003e)","end":"(?i)(\u003c/)(script)\\s*(\u003e)|(/\u003e)","patterns":[{"include":"#tagAttr"},{"contentName":"source.js.embedded.xml.svg","begin":"(?\u003c=\u003e)","end":"(?i)(?=\\s*\u003c/script\\s*\u003e)","patterns":[{"include":"source.js"},{"include":"#entity"}]}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.opening.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag.closing.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]},"3":{"name":"punctuation.definition.tag.closing.end.xml.svg"},"4":{"name":"punctuation.definition.tag.self-closing.end.xml.svg"}}},"scriptTagPlain":{"name":"meta.tag.script.xml.svg","begin":"(?x)\n(\u003c)((?i)script)\n(\n\t\\s+[^\u003e]*?\n\t(?\u003c=\\s)(?i:type)\\s*=\\s*\n\t([\"'])?\n\t(?! module\n\t| application/(?:x-)?(?:ecma|java)script\n\t| text/\n\t\t(?: javascript(?:1.[0-5])?\n\t\t| (?:j|ecma|live)script\n\t\t| x-(?:ecma|java)script\n\t\t)\n\t)\n\t(?: (?\u003c=\")(?:[^\"\u003e]+)\"\n\t| (?\u003c=')(?:[^'\u003e]+)'\n\t| [^\\s\"'\u003e]+\n\t)\n\t(?=\\s|/?\u003e)\n)","end":"(?i)(\u003c/)(script)\\s*(\u003e)|(/\u003e)","patterns":[{"include":"#tagAttr"},{"include":"#main"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.opening.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]},"3":{"patterns":[{"include":"#attr"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag.closing.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]},"3":{"name":"punctuation.definition.tag.closing.end.xml.svg"},"4":{"name":"punctuation.definition.tag.self-closing.end.xml.svg"}}},"styleTag":{"name":"meta.tag.style.xml.svg","begin":"(?i)(\u003c)(style)(?=$|\\s|/?\u003e)","end":"(?i)(\u003c/)(style)\\s*(\u003e)|(/\u003e)","patterns":[{"include":"#tagAttr"},{"contentName":"source.css.embedded.xml.svg","begin":"(?\u003c=\u003e)","end":"(?i)(?=\\s*\u003c/style\\s*\u003e)","patterns":[{"include":"source.css"},{"include":"#entity"}]}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.opening.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag.closing.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]},"3":{"name":"punctuation.definition.tag.closing.end.xml.svg"},"4":{"name":"punctuation.definition.tag.self-closing.end.xml.svg"}}},"tag":{"name":"meta.tag.${2:/downcase}.xml.svg","begin":"(?i)(\u003c)([A-Za-z_:][-\\w.:]*)(?=$|\\s|/?\u003e)","end":"(?i)(\u003c/)(\\2)\\s*(\u003e)|(/\u003e)","patterns":[{"include":"#tagAttr"},{"include":"#main"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.opening.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag.closing.begin.xml.svg"},"2":{"patterns":[{"include":"#tagName"}]},"3":{"name":"punctuation.definition.tag.closing.end.xml.svg"},"4":{"name":"punctuation.definition.tag.self-closing.end.xml.svg"}}},"tagAttr":{"begin":"\\G(?!\\s*/\u003e)","end":"\u003e|(?=\\s*/\u003e)","patterns":[{"include":"#attr"}],"endCaptures":{"0":{"name":"punctuation.definition.tag.opening.end.xml.svg"}}},"tagName":{"patterns":[{"match":"(?:^|\\G)([A-Za-z_][-\\w.]*)(:)(?=[-\\w.:])","captures":{"1":{"name":"entity.name.tag.namespace.xml.svg"},"2":{"name":"punctuation.separator.namespace.xml.svg"}}},{"name":"entity.name.tag.localname.xml.svg","match":"[A-Za-z_:][-\\w.:]*"}]},"unmatchedTag":{"name":"invalid.illegal.unmatched-tag.xml.svg","match":"(\u003c/)([A-Za-z_:][-\\w.:]*)\\s*(\u003e)"}},"injections":{"R:meta.attribute.d.xml.svg string":{"patterns":[{"include":"#commands"}]}}}
|
data/grammars/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.25.0
|
data/lib/linguist/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.25.0
|
data/lib/linguist/generated.rb
CHANGED
@@ -60,6 +60,7 @@ module Linguist
|
|
60
60
|
generated_net_specflow_feature_file? ||
|
61
61
|
composer_lock? ||
|
62
62
|
cargo_lock? ||
|
63
|
+
flake_lock? ||
|
63
64
|
node_modules? ||
|
64
65
|
go_vendor? ||
|
65
66
|
go_lock? ||
|
@@ -466,6 +467,13 @@ module Linguist
|
|
466
467
|
!!name.match(/Cargo\.lock/)
|
467
468
|
end
|
468
469
|
|
470
|
+
# Internal: Is the blob a generated Nix flakes lock file?
|
471
|
+
#
|
472
|
+
# Returns true or false
|
473
|
+
def flake_lock?
|
474
|
+
!!name.match(/(^|\/)flake\.lock$/)
|
475
|
+
end
|
476
|
+
|
469
477
|
# Is the blob a VCR Cassette file?
|
470
478
|
#
|
471
479
|
# Returns true or false
|