github-linguist 7.25.0 → 7.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +14 -17
- data/ext/linguist/lex.linguist_yy.h +2 -2
- data/ext/linguist/tokenizer.l +0 -1
- data/grammars/inline.graphql.scala.json +1 -0
- data/grammars/markdown.curry.codeblock.json +1 -1
- data/grammars/markdown.talon.codeblock.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.acucobol.json +1 -1
- data/grammars/source.apex.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.bicep.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.cds.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.d2.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.did.json +1 -0
- data/grammars/source.dm.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gfm.blade.json +1 -1
- data/grammars/source.gleam.json +1 -1
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.lolcode.json +1 -0
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mdx.json +1 -0
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -1
- data/grammars/source.nasal.json +1 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nushell.json +1 -0
- data/grammars/source.pact.json +1 -0
- data/grammars/source.pddl.json +1 -1
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rbs.json +1 -0
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rmcobol.json +1 -0
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.scenic.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.soql.json +1 -0
- data/grammars/source.talon.json +1 -1
- data/grammars/source.tlverilog.json +1 -0
- data/grammars/source.toc.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.turtle.json +1 -1
- data/grammars/source.vba.json +1 -0
- data/grammars/source.wgsl.json +1 -0
- data/grammars/source.wit.json +1 -0
- data/grammars/source.wwb.json +1 -0
- data/grammars/text.adblock.json +1 -1
- data/grammars/text.haml.json +1 -1
- data/grammars/text.html.markdown.d2.json +1 -0
- data/grammars/text.marko.json +1 -1
- data/grammars/text.md.json +1 -0
- data/grammars/text.pseudoxml.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/heuristics.yml +68 -36
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +140 -19
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +4 -1
- metadata +27 -8
- data/grammars/source.gfm.json +0 -1
- data/grammars/source.nim_filter.json +0 -1
data/grammars/source.turtle.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Turtle","scopeName":"source.turtle","patterns":[{"include":"#turtleDoc"}],"repository":{"ANON":{"name":"meta.spec.ANON.turtle"},"BLANK_NODE_LABEL":{"name":"meta.spec.BLANK_NODE_LABEL.turtle","captures":{"1":{"name":"keyword.other.BLANK_NODE_LABEL.turtle"},"2":{"name":"variable.other.BLANK_NODE_LABEL.turtle"}}},"BlankNode":{"name":"meta.spec.BlankNode.turtle","patterns":[{"include":"#BLANK_NODE_LABEL"},{"include":"#ANON"}]},"IRIREF":{"name":"entity.name.type.IRIREF.turtle","match":"(?x) (\\\u003c) (?:[^\\x00-\\x20\\\u003c\\\u003e\\\\\\\"\\{\\}\\|\\^`] | (?:\\\\u[0-9A-Fa-f]{4}|\\\\U[0-9A-Fa-f]{8}))* (\\\u003e)","captures":{"1":{"name":"punctuation.definition.entity.begin.turtle"},"2":{"name":"punctuation.definition.entity.end.turtle"}}},"PNAME_LN":{"name":"meta.spec.PNAME_LN.turtle","captures":{"PNAME_NS":{"name":"variable.other.PNAME_NS.turtle"},"PN_LOCAL":{"name":"support.variable.PN_LOCAL.turtle"}}},"PNAME_NS":{"name":"variable.other.PNAME_NS.turtle"},"PN_LOCAL":{"name":"support.variable.PN_LOCAL.turtle"},"PrefixedName":{"name":"meta.spec.PrefixedName.turtle","patterns":[{"include":"#PNAME_LN"},{"include":"#PNAME_NS"}]},"blankNodePropertyList":{"name":"meta.spec.blankNodePropertyList.turtle","begin":"\\b(\\[)\\b","end":"\\b(\\])(?=\\b|\\s|[.;,])","patterns":[{"name":"punctuation.terminator.stmt.turtle","match":"((?\u003c=\\s)[.;,](?=\\b))"},{"include":"#literal"},{"include":"#blankNodePropertyList"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"(?\u003c=[ ])(a)(?=[ ])"}],"captures":{"1":{"name":"punctuation.terminator.blankNodePropertyList.turtle"}}},"collection":{"name":"meta.spec.collection.turtle","begin":"(\\b\\(\\b)","end":"(\\b\\)\\b)","patterns":[{"include":"#literal"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"(?\u003c=[ ])(a)(?=[ ])"},{"include":"#blankNodePropertyList"}],"captures":{"1":{"name":"punctuation.terminator.collection.turtle"}}},"directive":{"name":"meta.spec.directive.turtle","begin":"(?i)(^(?=@prefix|@base|PREFIX|BASE))","end":"($)","patterns":[{"name":"meta.spec.prefixID.turtle","begin":"^(@prefix)(?=\\s)","end":"(\\.?)$","patterns":[{"include":"#IRIREF"},{"include":"#PNAME_NS"}],"beginCaptures":{"1":{"name":"keyword.other.directive.prefix.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.directive.turtle"}}},{"name":"meta.spec.base.turtle","begin":"^(@base)","end":"(\\.?)$","patterns":[{"include":"#IRIREF"}],"beginCaptures":{"1":{"name":"keyword.other.directive.base.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.directive.turtle"}}},{"name":"meta.spec.sparqlPrefix.turtle","begin":"^(?i)(PREFIX)(?=\\b)","end":"$","patterns":[{"include":"#IRIREF"},{"include":"#PNAME_NS"}],"beginCaptures":{"1":{"name":"keyword.other.directive.sparqlPrefix.turtle"}}},{"name":"meta.spec.sparqlBase.turtle","begin":"^(?i)(BASE)(?=\\b)","end":"$","patterns":[{"include":"#IRIREF"}],"beginCaptures":{"1":{"name":"keyword.other.directive.sparqlBase.turtle"}}}]},"iri":{"name":"meta.spec.iri.turtle","patterns":[{"include":"#IRIREF"},{"include":"#PrefixedName"}]},"literal":{"name":"meta.spec.literal.turtle","patterns":[{"name":"constant.numeric.turtle","match":"(?x)\n\t\t\t\t\t\t(?\u003c=\\s)[+-]?\n\t\t\t\t\t\t( (?: \\d+?\\.?\\d*[eE][+-]?\\d+) | \\d*\\.\\d+ | \\d+)\n\t\t\t\t\t\t(?=[ ]*[,.;]?)\n\t\t\t\t\t"},{"name":"constant.language.boolean.turtle","match":"(?\u003c=\\s)(true|false)(?=[ ]*[,.;]?)"},{"name":"meta.spec.RDFLiteral.turtle","patterns":[{"include":"#literal_triple"},{"include":"#literal_double"},{"include":"#literal_single"}]}]},"literal_double":{"name":"string.quoted.double.turtle","match":"(?x)\n\t\t\t\t(\")[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*(\")\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t","captures":{"1":{"name":"punctuation.definition.string.begin.turtle"},"2":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"literal_single":{"name":"string.quoted.single.turtle","match":"(?x)\n\t\t\t\t(')[^'\\\\]*(?:\\.[^'\\\\]*)*(')\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t","captures":{"1":{"name":"punctuation.definition.string.begin.turtle"},"2":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"literal_triple":{"name":"string.quoted.triple.turtle","begin":"(['\"]{3})","end":"(?x)\n\t\t\t\t(\\1)\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t\t(?=[ ]*[.;,]?)\n\t\t\t","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.turtle"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"sparqlClausedKeywords":{"begin":"(?x)(\n\t\t\t\t(?# Special case because FILTER can have clauses what makes the lexer dizzy)\n\t\t\t\tFILTER\n\t\t\t)\\s*(\\((?=\\s*))","end":"\\s*(\\))","patterns":[{"include":"#sparqlVars"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"}],"beginCaptures":{"1":{"name":"keyword.control.sparql.turtle"},"2":{"name":"punctuation.terminator.sparqlKeyword.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.sparqlKeyword.turtle"}}},"sparqlFilterFns":{"begin":"(?x)(\n\t\t\t\t(?# Special case because FILTER can have clauses what makes the lexer dizzy)\n\t\t\t\tFILTER|\n\t\t\t\t(?# Builtin callables )\n\t\t\t\tSTR|LANG|LANGMATCHES|DATATYPE|BOUND|IRI|URI|BNODE|RAND|ABS|CEIL|FLOOR|ROUND|CONCAT|STRLEN|UCASE|LCASE|ENCODE_FOR_URI|CONTAINS|STRSTARTS|STRENDS|STRBEFORE|STRAFTER|YEAR|MONTH|DAY|HOURS|MINUTES|SECONDS|TIMEZONE|TZ|NOW|UUID|STRUUID|MD5|SHA1|SHA256|SHA384|SHA512|COALESCE|IF|STRLANG|STRDT|sameTerm|isIRI|isURI|isBLANK|isLITERAL|isNUMERIC|COUNT|SUM|MIN|MAX|AVG|SAMPLE|GROUP_CONCAT|\n\t\t\t\tBOUND|COALESCE|NOT EXISTS|EXISTS|REGEX|SUBSTR|REPLACE\n\t\t\t)\\s*(\\((?=\\s*))","end":"\\s*(\\))","patterns":[{"include":"#sparqlVars"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"}],"beginCaptures":{"1":{"name":"support.function.sparql.turtle"},"2":{"name":"punctuation.terminator.sparqlFunc.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.sparqlFunc.turtle"}}},"sparqlKeywords":{"name":"keyword.control.sparql.turtle","match":"(?x)(\n\t\t\t\t\t(?# SPARQL )\n\t\t\t\t\tSELECT|ASK|CONSTRUCT|DESCRIBE|FROM|NAMED|WHERE|GRAPH|AS|\n\t\t\t\t\tUNION|FILTER|HAVING|VALUES|\n\t\t\t\t\tOPTIONAL|SERVICE|\n\t\t\t\t\t(?# SPARUL )\n\t\t\t\t\tSILENT|DATA|\n\t\t\t\t\tADD|MOVE|COPY|\n\t\t\t\t\tINSERT|DELETE|\n\t\t\t\t\tLOAD|INTO|\n\t\t\t\t\tGRAPH|ALL|DEFAULT|\n\t\t\t\t\tCLEAR|CREATE|DROP|\n\t\t\t\t\tWITH|USING|\n\t\t\t\t\t(?# Solution sequence modifiers )\n\t\t\t\t\tDISTINCT|REDUCED|\n\t\t\t\t\tORDER|ASC|DESC|OFFSET|LIMITED|REDUCED|\n\t\t\t\t\tGROUP|BY|LIMIT\n\t\t\t\t)"},"sparqlLangConsts":{"name":"constant.language.sparql.turtle","match":"(true|false)"},"sparqlVars":{"name":"constant.variable.sparql.turtle","match":"(\\?\\w+|\\*)"},"triples":{"name":"meta.spec.triples.turtle","begin":"(?i)^(?!@|\\#|PREFIX|BASE)","end":"([.;,]?)$","patterns":[{"name":"comment.line.number-sign.turtle","match":"(#.+$)","captures":{"1":{"name":"punctuation.definition.comment.turtle"}}},{"name":"punctuation.terminator.stmt.turtle","match":"[.;,](?=\\s|\\b)"},{"include":"#literal"},{"include":"#sparqlVars"},{"include":"#sparqlClausedKeywords"},{"include":"#sparqlKeywords"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"},{"include":"#blankNodePropertyList"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"\\b(a)(?=[ ])"}],"beginCaptures":{"1":{"name":"meta.spec.triples.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.triple.turtle"}}},"turtleDoc":{"name":"meta.spec.turtleDoc.turtle","begin":"^","end":"\\z","patterns":[{"name":"comment.line.number-sign.turtle","match":"^(#).+$","captures":{"1":{"name":"punctuation.definition.comment.turtle"}}},{"include":"#directive"},{"include":"#sparqlClausedKeywords"},{"include":"#sparqlKeywords"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"},{"include":"#sparqlVars"},{"include":"#triples"}]}}}
|
1
|
+
{"name":"Turtle","scopeName":"source.turtle","patterns":[{"include":"#turtleDoc"}],"repository":{"ANON":{"name":"meta.spec.ANON.turtle"},"BLANK_NODE_LABEL":{"name":"meta.spec.BLANK_NODE_LABEL.turtle","captures":{"1":{"name":"keyword.other.BLANK_NODE_LABEL.turtle"},"2":{"name":"variable.other.BLANK_NODE_LABEL.turtle"}}},"BlankNode":{"name":"meta.spec.BlankNode.turtle","patterns":[{"include":"#BLANK_NODE_LABEL"},{"include":"#ANON"}]},"IRIREF":{"name":"entity.name.type.IRIREF.turtle","match":"(?x) (\\\u003c) (?:[^\\x00-\\x20\\\u003c\\\u003e\\\\\\\"\\{\\}\\|\\^`] | (?:\\\\u[0-9A-Fa-f]{4}|\\\\U[0-9A-Fa-f]{8}))* (\\\u003e)","captures":{"1":{"name":"punctuation.definition.entity.begin.turtle"},"2":{"name":"punctuation.definition.entity.end.turtle"}}},"PNAME_LN":{"name":"meta.spec.PNAME_LN.turtle","captures":{"PNAME_NS":{"name":"variable.other.PNAME_NS.turtle"},"PN_LOCAL":{"name":"support.variable.PN_LOCAL.turtle"}}},"PNAME_NS":{"name":"variable.other.PNAME_NS.turtle"},"PN_LOCAL":{"name":"support.variable.PN_LOCAL.turtle"},"PrefixedName":{"name":"meta.spec.PrefixedName.turtle","patterns":[{"include":"#PNAME_LN"},{"include":"#PNAME_NS"}]},"blankNodePropertyList":{"name":"meta.spec.blankNodePropertyList.turtle","begin":"\\b(\\[)\\b","end":"\\b(\\])(?=\\b|\\s|[.;,])","patterns":[{"name":"punctuation.terminator.stmt.turtle","match":"((?\u003c=\\s)[.;,](?=\\b))"},{"include":"#literal"},{"include":"#blankNodePropertyList"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"(?\u003c=[ ])(a)(?=[ ])"}],"captures":{"1":{"name":"punctuation.terminator.blankNodePropertyList.turtle"}}},"collection":{"name":"meta.spec.collection.turtle","begin":"(\\b\\(\\b)","end":"(\\b\\)\\b)","patterns":[{"include":"#literal"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"(?\u003c=[ ])(a)(?=[ ])"},{"include":"#blankNodePropertyList"}],"captures":{"1":{"name":"punctuation.terminator.collection.turtle"}}},"directive":{"name":"meta.spec.directive.turtle","begin":"(?i)(^(?=@prefix|@base|PREFIX|BASE))","end":"($)","patterns":[{"name":"meta.spec.prefixID.turtle","begin":"^(@prefix)(?=\\s)","end":"(\\.?)$","patterns":[{"include":"#IRIREF"},{"include":"#PNAME_NS"}],"beginCaptures":{"1":{"name":"keyword.other.directive.prefix.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.directive.turtle"}}},{"name":"meta.spec.base.turtle","begin":"^(@base)","end":"(\\.?)$","patterns":[{"include":"#IRIREF"}],"beginCaptures":{"1":{"name":"keyword.other.directive.base.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.directive.turtle"}}},{"name":"meta.spec.sparqlPrefix.turtle","begin":"^(?i)(PREFIX)(?=\\b)","end":"$","patterns":[{"include":"#IRIREF"},{"include":"#PNAME_NS"}],"beginCaptures":{"1":{"name":"keyword.other.directive.sparqlPrefix.turtle"}}},{"name":"meta.spec.sparqlBase.turtle","begin":"^(?i)(BASE)(?=\\b)","end":"$","patterns":[{"include":"#IRIREF"}],"beginCaptures":{"1":{"name":"keyword.other.directive.sparqlBase.turtle"}}}]},"iri":{"name":"meta.spec.iri.turtle","patterns":[{"include":"#IRIREF"},{"include":"#PrefixedName"}]},"literal":{"name":"meta.spec.literal.turtle","patterns":[{"name":"constant.numeric.turtle","match":"(?x)\n\t\t\t\t\t\t(?\u003c=\\s)[+-]?\t\t\t\t\t\t\n\t\t\t\t\t\t( (?: \\d+?\\.?\\d*[eE][+-]?\\d+) | \\d*\\.\\d+ | \\d+)\n\t\t\t\t\t\t(?=[ ]*[,.;]?)\n\t\t\t\t\t"},{"name":"constant.language.boolean.turtle","match":"(?\u003c=\\s)(true|false)(?=[ ]*[,.;]?)"},{"name":"meta.spec.RDFLiteral.turtle","patterns":[{"include":"#literal_triple"},{"include":"#literal_double"},{"include":"#literal_single"}]}]},"literal_double":{"name":"string.quoted.double.turtle","match":"(?x)\n\t\t\t\t(\")[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*(\")\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t","captures":{"1":{"name":"punctuation.definition.string.begin.turtle"},"2":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"literal_single":{"name":"string.quoted.single.turtle","match":"(?x)\n\t\t\t\t(')[^'\\\\]*(?:\\.[^'\\\\]*)*(')\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t","captures":{"1":{"name":"punctuation.definition.string.begin.turtle"},"2":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"literal_triple":{"name":"string.quoted.triple.turtle","begin":"(['\"]{3})","end":"(?x)\n\t\t\t\t(\\1)\n\t\t\t\t(?\u003clang\u003e@(?:[a-z]{2}(?:-[a-z0-9]{2})*)?)?\n\t\t\t\t(?\u003cdt\u003e\\^\\^\\w*:\\w*|\\\u003c[^\\\u003e]+\\\u003e)?\n\t\t\t\t(?=[ ]*[.;,]?)\n\t\t\t","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.turtle"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.turtle"},"dt":{"name":"storage.type.datatype.turtle"},"lang":{"name":"constant.language.language_tag.turtle"}}},"sparqlClausedKeywords":{"begin":"(?x)(\n\t\t\t\t(?# Special case because FILTER can have clauses what makes the lexer dizzy)\n\t\t\t\tFILTER\n\t\t\t)\\s*(\\((?=\\s*))","end":"\\s*(\\))","patterns":[{"include":"#sparqlVars"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"}],"beginCaptures":{"1":{"name":"keyword.control.sparql.turtle"},"2":{"name":"punctuation.terminator.sparqlKeyword.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.sparqlKeyword.turtle"}}},"sparqlFilterFns":{"begin":"(?x)(\n\t\t\t\t(?# Special case because FILTER can have clauses what makes the lexer dizzy)\n\t\t\t\tFILTER|\n\t\t\t\t(?# Builtin callables )\n\t\t\t\tSTR|LANG|LANGMATCHES|DATATYPE|BOUND|IRI|URI|BNODE|RAND|ABS|CEIL|FLOOR|ROUND|CONCAT|STRLEN|UCASE|LCASE|ENCODE_FOR_URI|CONTAINS|STRSTARTS|STRENDS|STRBEFORE|STRAFTER|YEAR|MONTH|DAY|HOURS|MINUTES|SECONDS|TIMEZONE|TZ|NOW|UUID|STRUUID|MD5|SHA1|SHA256|SHA384|SHA512|COALESCE|IF|STRLANG|STRDT|sameTerm|isIRI|isURI|isBLANK|isLITERAL|isNUMERIC|COUNT|SUM|MIN|MAX|AVG|SAMPLE|GROUP_CONCAT|\n\t\t\t\tBOUND|COALESCE|NOT EXISTS|EXISTS|REGEX|SUBSTR|REPLACE\n\t\t\t)\\s*(\\((?=\\s*))","end":"\\s*(\\))","patterns":[{"include":"#sparqlVars"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"}],"beginCaptures":{"1":{"name":"support.function.sparql.turtle"},"2":{"name":"punctuation.terminator.sparqlFunc.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.sparqlFunc.turtle"}}},"sparqlKeywords":{"name":"keyword.control.sparql.turtle","match":"(?x)(\n\t\t\t\t\t(?# SPARQL )\n\t\t\t\t\tSELECT|ASK|CONSTRUCT|DESCRIBE|FROM|NAMED|WHERE|GRAPH|AS|\n\t\t\t\t\tUNION|FILTER|HAVING|VALUES|\n\t\t\t\t\tOPTIONAL|SERVICE|\t\t\t \n\t\t\t\t\t(?# SPARUL )\n\t\t\t\t\tSILENT|DATA|\t\t\t\t\t\n\t\t\t\t\tADD|MOVE|COPY|\n\t\t\t\t\tINSERT|DELETE|\n\t\t\t\t\tLOAD|INTO|\n\t\t\t\t\tGRAPH|ALL|DEFAULT|\t\t\t\t\t\n\t\t\t\t\tCLEAR|CREATE|DROP|\n\t\t\t\t\tWITH|USING|\n\t\t\t\t\t(?# Solution sequence modifiers )\n\t\t\t\t\tDISTINCT|REDUCED|\n\t\t\t\t\tORDER|ASC|DESC|OFFSET|LIMITED|REDUCED|\n\t\t\t\t\tGROUP|BY|LIMIT\t\t\t\t\t\n\t\t\t\t)"},"sparqlLangConsts":{"name":"constant.language.sparql.turtle","match":"(true|false)"},"sparqlVars":{"name":"constant.variable.sparql.turtle","match":"(\\?\\w+|\\*)"},"triples":{"name":"meta.spec.triples.turtle","begin":"(?i)^(?!@|\\#|PREFIX|BASE)","end":"([.;,]?)$","patterns":[{"name":"comment.line.number-sign.turtle","match":"(#.+$)","captures":{"1":{"name":"punctuation.definition.comment.turtle"}}},{"name":"punctuation.terminator.stmt.turtle","match":"[.;,](?=\\s|\\b)"},{"include":"#literal"},{"include":"#sparqlVars"},{"include":"#sparqlClausedKeywords"},{"include":"#sparqlKeywords"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"},{"include":"#blankNodePropertyList"},{"include":"#iri"},{"include":"#BlankNode"},{"include":"#collection"},{"name":"keyword.other.typeOf.turtle","match":"\\b(a)(?=[ ])"}],"beginCaptures":{"1":{"name":"meta.spec.triples.turtle"}},"endCaptures":{"1":{"name":"punctuation.terminator.triple.turtle"}}},"turtleDoc":{"name":"meta.spec.turtleDoc.turtle","begin":"^","end":"\\z","patterns":[{"name":"comment.line.number-sign.turtle","match":"^(#).+$","captures":{"1":{"name":"punctuation.definition.comment.turtle"}}},{"include":"#directive"},{"include":"#sparqlClausedKeywords"},{"include":"#sparqlKeywords"},{"include":"#sparqlFilterFns"},{"include":"#sparqlLangConsts"},{"include":"#sparqlVars"},{"include":"#triples"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Visual Basic for Applications","scopeName":"source.vba","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#numbers"},{"include":"#storage"},{"include":"#strings"},{"include":"#types"},{"include":"#functions"},{"name":"constant.other.vba","match":"_(?=\\s*\\n)"}],"repository":{"comments":{"begin":"(?=')|(?:^(?:|(\\d*)\\s*|[a-zA-Z][a-zA-Z0-9]{0,254}:\\s*)|:\\s*)(?=(?i:Rem ))","end":"(?\u003c!\\s_)$\n","patterns":[{"name":"comment.line.quote","match":"'.*"},{"name":"comment.line.rem","match":"Rem .*"},{"name":"comment.line.continuation","match":"^.*"}],"beginCaptures":{"1":{"name":"constant.numeric.decimal"}}},"functions":{"name":"entity.name.function.vba","match":"(?i:\\b(?:(?\u003c=Call )|(?\u003c=Function )|(?\u003c=Sub ))[a-zA-Z][a-zA-Z0-9_]*\\b)(?=\\(\\)?)"},"keywords":{"patterns":[{"name":"keyword.other.option.vba","match":"(?i)\\bOption (Base [01]|Compare (Binary|Text)|Explicit|Private Module)\\b"},{"name":"keyword.conditional.vba","match":"(?i:\\b(Do(( While)|( Until))?|While|Case( Else)?|Else(If)?|For( Each)?|(I)?If|In|New|(Select )?Case|Then|To|Step|With)\\b)"},{"name":"keyword.conditional.end.vba","match":"(?i:\\b(End( )?If|End (Select|With)|Next|Wend|Loop(( While)|( Until))?|Exit (For|Do|While))\\b)"},{"name":"keyword.control.vba","match":"(?i:(\\b(Exit (Function|Property|Sub)|As|And|By(Ref|Val)|Goto|Is|Like|Mod|Not|On Error|Optional|Or|Resume Next|Stop|Xor|Eqv|Imp|TypeOf|AddressOf)\\b)|(\\b(End)\\b(?=\\n)))"},{"name":"keyword.other.vba","match":"(?i:\\b(Attribute|Call|End (Function|Property|Sub|Type|Enum)|(Static )?(Const|Function|Property|Sub|Type|Enum)|Declare|PtrSafe|WithEvents|Event|RaiseEvent)\\b)"},{"name":"keyword.other.visibility.vba","match":"(?i:\\b(Private|Public|Friend)\\b)"},{"name":"constant.language.vba","match":"(?i)\\b(Empty|False|Nothing|Null|True)\\b"}]},"numbers":{"patterns":[{"name":"constant.numeric.date","match":"(?i)#((Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)|[0-9]{1,2})(-|/)[0-9]{1,2}((-|/)[0-9]{1,4})?#"},{"name":"constant.numeric.decimal","match":"(?\u003c!\\w)-?\\d+(\\.\\d+)?"},{"name":"constant.numeric.octal","match":"(?i)-?\u0026O[0-7]+"},{"name":"constant.numeric.hexadecimal","match":"(?i)-?\u0026H[0-9A-F]+"}]},"storage":{"patterns":[{"name":"storage.modifier.vba","match":"(?i)\\b(Class|Const|Dim|(G|L|S)et|ReDim( Preserve)?|Erase)\\b"}]},"strings":{"name":"string.quoted.double","begin":"\"","end":"\""},"types":{"patterns":[{"name":"support.type.builtin.vba","match":"(?i)\\b(Any|Byte|Boolean|Currency|Collection|Date|Double|Integer|Long(Long|Ptr)?|Object|Single|String|Variant)\\b"},{"match":"(?i)(?\u003c= As )([a-zA-Z]+)","captures":{"1":{"name":"support.type"}}}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"WGSL","scopeName":"source.wgsl","patterns":[{"include":"#line_comments"},{"include":"#keywords"},{"include":"#functions"},{"include":"#function_calls"},{"include":"#constants"},{"include":"#types"},{"include":"#variables"},{"include":"#punctuation"}],"repository":{"constants":{"patterns":[{"name":"constant.numeric.float.wgsl","match":"(-?\\b[0-9][0-9]*\\.[0-9][0-9]*)([eE][+-]?[0-9]+)?\\b"},{"name":"constant.numeric.decimal.wgsl","match":"-?\\b0x[0-9a-fA-F]+\\b|\\b0\\b|-?\\b[1-9][0-9]*\\b"},{"name":"constant.numeric.decimal.wgsl","match":"\\b0x[0-9a-fA-F]+u\\b|\\b0u\\b|\\b[1-9][0-9]*u\\b"},{"name":"constant.language.boolean.wgsl","match":"\\b(true|false)\\b"}]},"function_calls":{"patterns":[{"name":"meta.function.call.wgsl","begin":"([A-Za-z0-9_]+)(\\()","end":"\\)","patterns":[{"include":"#line_comments"},{"include":"#keywords"},{"include":"#function_calls"},{"include":"#constants"},{"include":"#types"},{"include":"#variables"},{"include":"#punctuation"}],"beginCaptures":{"1":{"name":"entity.name.function.wgsl"},"2":{"name":"punctuation.brackets.round.wgsl"}},"endCaptures":{"0":{"name":"punctuation.brackets.round.wgsl"}}}]},"functions":{"patterns":[{"name":"meta.function.definition.wgsl","begin":"\\b(fn)\\s+([A-Za-z0-9_]+)((\\()|(\u003c))","end":"\\{","patterns":[{"include":"#line_comments"},{"include":"#keywords"},{"include":"#function_calls"},{"include":"#constants"},{"include":"#types"},{"include":"#variables"},{"include":"#punctuation"}],"beginCaptures":{"1":{"name":"keyword.other.fn.wgsl"},"2":{"name":"entity.name.function.wgsl"},"4":{"name":"punctuation.brackets.round.wgsl"}},"endCaptures":{"0":{"name":"punctuation.brackets.curly.wgsl"}}}]},"keywords":{"patterns":[{"name":"keyword.control.wgsl","match":"\\b(bitcast|block|break|case|continue|continuing|default|discard|else|elseif|enable|fallthrough|for|function|if|loop|override|private|read|read_write|return|storage|switch|uniform|while|workgroup|write)\\b"},{"name":"keyword.control.wgsl","match":"\\b(asm|const|do|enum|handle|mat|premerge|regardless|typedef|unless|using|vec|void)\\b"},{"name":"keyword.other.wgsl storage.type.wgsl","match":"\\b(let|var)\\b"},{"name":"keyword.declaration.type.wgsl storage.type.wgsl","match":"\\b(type)\\b"},{"name":"keyword.declaration.enum.wgsl storage.type.wgsl","match":"\\b(enum)\\b"},{"name":"keyword.declaration.struct.wgsl storage.type.wgsl","match":"\\b(struct)\\b"},{"name":"keyword.other.fn.wgsl","match":"\\bfn\\b"},{"name":"keyword.operator.logical.wgsl","match":"(\\^|\\||\\|\\||\u0026\u0026|\u003c\u003c|\u003e\u003e|!)(?!=)"},{"name":"keyword.operator.borrow.and.wgsl","match":"\u0026(?![\u0026=])"},{"name":"keyword.operator.assignment.wgsl","match":"(\\+=|-=|\\*=|/=|%=|\\^=|\u0026=|\\|=|\u003c\u003c=|\u003e\u003e=)"},{"name":"keyword.operator.assignment.equal.wgsl","match":"(?\u003c![\u003c\u003e])=(?!=|\u003e)"},{"name":"keyword.operator.comparison.wgsl","match":"(=(=)?(?!\u003e)|!=|\u003c=|(?\u003c!=)\u003e=)"},{"name":"keyword.operator.math.wgsl","match":"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!\u003e))|(/(?!/))"},{"name":"keyword.operator.access.dot.wgsl","match":"\\.(?!\\.)"},{"name":"keyword.operator.arrow.skinny.wgsl","match":"-\u003e"}]},"line_comments":{"name":"comment.line.double-slash.wgsl","match":"\\s*//.*"},"punctuation":{"patterns":[{"name":"punctuation.comma.wgsl","match":","},{"name":"punctuation.brackets.curly.wgsl","match":"[{}]"},{"name":"punctuation.brackets.round.wgsl","match":"[()]"},{"name":"punctuation.semi.wgsl","match":";"},{"name":"punctuation.brackets.square.wgsl","match":"[\\[\\]]"},{"name":"punctuation.brackets.angle.wgsl","match":"(?\u003c!=)[\u003c\u003e]"}]},"types":{"name":"storage.type.wgsl","patterns":[{"name":"storage.type.wgsl","match":"\\b(bool|i32|u32|f32)\\b"},{"name":"storage.type.wgsl","match":"\\b(i64|u64|f64)\\b"},{"name":"storage.type.wgsl","match":"\\b(vec[2-4]|mat[2-4]x[2-4])\\b"},{"name":"storage.type.wgsl","match":"\\b(atomic)\\b"},{"name":"storage.type.wgsl","match":"\\b(array)\\b"},{"name":"entity.name.type.wgsl","match":"\\b([A-Z][A-Za-z0-9]*)\\b"}]},"variables":{"patterns":[{"name":"variable.other.wgsl","match":"\\b(?\u003c!(?\u003c!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"WIT","scopeName":"source.wit","patterns":[{"include":"#comment"},{"include":"#world"},{"include":"#interface"}],"repository":{"block-comments":{"patterns":[{"name":"comment.block.empty.wit","match":"/\\*\\*/"},{"name":"comment.block.documentation.wit","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#block-comments"}]},{"name":"comment.block.wit","begin":"/\\*(?!\\*)","end":"\\*/","patterns":[{"include":"#block-comments"}]}]},"boolean":{"name":"entity.name.type.boolean.wit","match":"\\s*\\b(bool)\\b"},"comment":{"patterns":[{"include":"#block-comments"},{"include":"#doc-comment"},{"include":"#line-comment"}]},"container":{"name":"meta.container.ty.wit","patterns":[{"include":"#tuple"},{"include":"#list"},{"include":"#option"},{"include":"#result"},{"include":"#handle"}]},"doc-comment":{"name":"comment.line.documentation.wit","match":"^\\s*///.*"},"enum":{"name":"meta.enum-items.wit","begin":"\\s*\\b(enum)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#enum-cases"}],"beginCaptures":{"1":{"name":"keyword.other.enum.enum-items.wit"},"2":{"name":"entity.name.type.id.enum-items.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"enum-cases":{"name":"meta.enum-cases.wit","patterns":[{"include":"#comment"},{"name":"variable.other.enummember.id.enum-cases.wit","match":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}]},"extern":{"name":"meta.extern-type.wit","patterns":[{"name":"meta.interface-type.wit","patterns":[{"begin":"\\s*\\b(interface)\\b\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#interface-items"}],"beginCaptures":{"1":{"name":"keyword.other.interface.interface-type.wit"},"2":{"name":"ppunctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}}}]},{"include":"#function-definition"},{"include":"#use-path"}]},"flags":{"name":"meta.flags-items.wit","begin":"\\s*\\b(flags)\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#flags-fields"}],"beginCaptures":{"1":{"name":"keyword.other.flags.flags-items.wit"},"2":{"name":"entity.name.type.id.flags-items.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"flags-fields":{"name":"meta.flags-fields.wit","patterns":[{"include":"#comment"},{"name":"variable.other.enummember.id.flags-fields.wit","match":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}]},"function":{"name":"meta.func-item.wit","begin":"\\s*\\b(static\\s+)?((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\:)\\s*","end":"\\s*(?\u003c=\\n)","patterns":[{"include":"#function-definition"}],"beginCaptures":{"1":{"name":"storage.modifier.static.func-item.wit"},"2":{"name":"entity.name.function.id.func-item.wit"},"3":{"name":"meta.word.wit"},"5":{"name":"meta.word-separator.wit"},"6":{"name":"meta.word.wit"},"7":{"name":"keyword.operator.key-value.wit"}},"applyEndPatternLast":true},"function-definition":{"name":"meta.func-type.wit","patterns":[{"name":"meta.function.wit","begin":"\\s*\\b(func)\\b\\s*(\\()\\s*","end":"\\s*(\\))\\s*((\\-\\\u003e)(.+))?\\s*","patterns":[{"include":"#comment"},{"name":"meta.named-type-list.wit","begin":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b\\s*(\\:)\\s*","end":"\\s*(\\,)?\\s*","patterns":[{"include":"#comment"},{"name":"meta.types.named-type-list.wit","include":"#types"}],"beginCaptures":{"1":{"name":"variable.parameter.id.named-type.wit"},"6":{"name":"keyword.operator.key-value.wit"}},"endCaptures":{"1":{"name":"punctuation.comma.wit"}},"applyEndPatternLast":true}],"beginCaptures":{"1":{"name":"keyword.other.func.func-type.wit"},"2":{"name":"punctuation.brackets.round.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.round.end.wit"},"2":{"name":"meta.result-list.wit"},"3":{"name":"keyword.operator.arrow.skinny.wit"},"4":{"name":"meta.types.result-list.wit","patterns":[{"include":"#comment"},{"include":"#types"}]}},"applyEndPatternLast":true}]},"handle":{"name":"meta.handle.ty.wit","match":"\\s*\\b(borrow)\\b(\\\u003c)\\s*((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\\u003e)\\s*","captures":{"1":{"name":"entity.name.type.borrow.handle.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"},"3":{"name":"entity.name.type.id.handle.wit"},"8":{"name":"punctuation.brackets.angle.end.wit"}}},"identifier":{"name":"entity.name.type.id.wit","match":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b"},"interface":{"name":"meta.interface-item.wit","begin":"^\\b(default\\s+)?(interface)\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#interface-items"}],"beginCaptures":{"1":{"name":"storage.modifier.default.interface-item.wit"},"2":{"name":"keyword.declaration.interface.interface-item.wit storage.type.wit"},"3":{"name":"entity.name.type.id.interface-item.wit"},"8":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}}},"interface-items":{"name":"meta.interface-items.wit","patterns":[{"include":"#typedef-item"},{"include":"#use"},{"include":"#function"}]},"line-comment":{"name":"comment.line.double-slash.wit","match":"\\s*//.*"},"list":{"name":"meta.list.ty.wit","begin":"\\s*\\b(list)\\b(\\\u003c)\\s*","end":"\\s*(\\\u003e)\\s*","patterns":[{"include":"#comment"},{"name":"meta.types.list.wit","include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.list.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.angle.end.wit"}},"applyEndPatternLast":true},"numeric":{"name":"entity.name.type.numeric.wit","match":"\\s*\\b(u8|u16|u32|u64|s8|s16|s32|s64|float32|float64)\\b"},"operator":{"patterns":[{"name":"punctuation.equal.wit","match":"\\="},{"name":"punctuation.comma.wit","match":"\\,"},{"name":"keyword.operator.key-value.wit","match":"\\:"},{"name":"punctuation.semicolon.wit","match":"\\;"},{"name":"punctuation.brackets.round.begin.wit","match":"\\("},{"name":"punctuation.brackets.round.end.wit","match":"\\)"},{"name":"punctuation.brackets.curly.begin.wit","match":"\\{"},{"name":"punctuation.brackets.curly.end.wit","match":"\\}"},{"name":"punctuation.brackets.angle.begin.wit","match":"\\\u003c"},{"name":"punctuation.brackets.angle.end.wit","match":"\\\u003e"},{"name":"keyword.operator.star.wit","match":"\\*"},{"name":"keyword.operator.arrow.skinny.wit","match":"\\-\\\u003e"}]},"option":{"name":"meta.option.ty.wit","begin":"\\s*\\b(option)\\b(\\\u003c)\\s*","end":"\\s*(\\\u003e)\\s*","patterns":[{"include":"#comment"},{"name":"meta.types.option.wit","include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.option.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.angle.end.wit"}},"applyEndPatternLast":true},"primitive":{"name":"meta.primitive.ty.wit","patterns":[{"include":"#numeric"},{"include":"#boolean"},{"include":"#string"}]},"record":{"name":"meta.record-item.wit","begin":"\\s*\\b(record)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#record-fields"}],"beginCaptures":{"1":{"name":"keyword.declaration.record.record-item.wit"},"2":{"name":"entity.name.type.id.record-item.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"record-fields":{"name":"meta.record-fields.wit","begin":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b\\s*(\\:)\\s*","end":"\\s*(\\,)?\\s*","patterns":[{"include":"#comment"},{"name":"meta.types.record-fields.wit","include":"#types"}],"beginCaptures":{"1":{"name":"variable.declaration.id.record-fields.wit"},"6":{"name":"keyword.operator.key-value.wit"}},"endCaptures":{"1":{"name":"punctuation.comma.wit"}},"applyEndPatternLast":true},"resource":{"name":"meta.resource.wit","begin":"\\s*\\b(resource)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#function"}],"beginCaptures":{"1":{"name":"keyword.other.resource.wit"},"2":{"name":"entity.name.type.id.resource.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}}},"result":{"name":"meta.result.ty.wit","begin":"\\s*\\b(result)\\b(\\\u003c)?\\s*","end":"\\s*(\\\u003e)?\\s*","patterns":[{"include":"#comment"},{"name":"variable.other.inferred-type.result.wit","match":"\\s*(?\u003c!\\w)(\\_)(?!\\w)"},{"name":"meta.types.result.wit","include":"#types"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}],"beginCaptures":{"1":{"name":"entity.name.type.result.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.angle.end.wit"}},"applyEndPatternLast":true},"string":{"name":"entity.name.type.string.wit","match":"\\s*\\b(string|char)\\b"},"tuple":{"name":"meta.tuple.ty.wit","begin":"\\s*\\b(tuple)\\b(\\\u003c)\\s*","end":"\\s*(\\\u003e)\\s*","patterns":[{"include":"#comment"},{"patterns":[{"name":"meta.types.tuple.wit","include":"#types"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}]}],"beginCaptures":{"1":{"name":"entity.name.type.tuple.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.angle.end.wit"}},"applyEndPatternLast":true},"type-definition":{"name":"meta.type-item.wit","begin":"\\s*\\b(type)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\=)\\s*","end":"\\s*(?\u003c=\\n)","patterns":[{"name":"meta.types.type-item.wit","include":"#types"}],"beginCaptures":{"1":{"name":"keyword.declaration.type.type-item.wit storage.type.wit"},"2":{"name":"entity.name.type.id.type-item.wit"},"7":{"name":"punctuation.equal.wit"}},"applyEndPatternLast":true},"typedef-item":{"name":"meta.typedef-item.wit","patterns":[{"include":"#resource"},{"include":"#variant"},{"include":"#record"},{"include":"#union"},{"include":"#flags"},{"include":"#enum"},{"include":"#type-definition"}]},"types":{"name":"meta.ty.wit","patterns":[{"include":"#primitive"},{"include":"#container"},{"include":"#identifier"}]},"union":{"name":"meta.union-items.wit","begin":"\\s*\\b(union)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"name":"meta.types.union-cases.wit","include":"#types"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}],"beginCaptures":{"1":{"name":"keyword.other.union.union-items.wit"},"2":{"name":"entity.name.type.declaration.id.union-items.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"use":{"name":"meta.use-item.wit","begin":"\\s*\\b(use)\\b\\s+([^\\s]+)(\\.)(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"name":"entity.name.type.declaration.use-names-item.use-item.wit","match":"\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b"},{"name":"punctuation.comma.wit","match":"\\s*(\\,)"}],"beginCaptures":{"1":{"name":"keyword.other.use.use-item.wit"},"2":{"patterns":[{"include":"#use-path"}]},"3":{"name":"keyword.operator.namespace-separator.use-item.wit"},"4":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}}},"use-path":{"name":"meta.use-path.wit","patterns":[{"name":"variable.language.self.use-path.wit","match":"(?\u003c!\\.)\\b(self|pkg)\\b"},{"name":"entity.name.namespace.id.use-path.wit","match":"\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b"},{"name":"keyword.operator.namespace-separator.use-path.wit","match":"\\."}]},"variant":{"name":"meta.variant.wit","begin":"\\s*\\b(variant)\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"include":"#variant-cases"},{"include":"#enum-cases"}],"beginCaptures":{"1":{"name":"keyword.other.variant.wit"},"2":{"name":"entity.name.type.id.variant.wit"},"7":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"variant-cases":{"name":"meta.variant-cases.wit","begin":"\\s*\\b((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\b\\s*(\\()\\s*","end":"\\s*(\\))\\s*(\\,)?\\s*","patterns":[{"name":"meta.types.variant-cases.wit","include":"#types"}],"beginCaptures":{"1":{"name":"variable.other.enummember.id.variant-cases.wit"},"6":{"name":"punctuation.brackets.round.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.round.end.wit"},"2":{"name":"punctuation.comma.wit"}},"applyEndPatternLast":true},"world":{"name":"meta.world-item.wit","begin":"^\\b(default\\s+)?(world)\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\{)\\s*","end":"\\s*(\\})\\s*","patterns":[{"include":"#comment"},{"name":"meta.export-item.wit","begin":"\\s*\\b(export)\\b\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\:)\\s*","end":"\\s*(?\u003c=\\n)","patterns":[{"include":"#extern"}],"beginCaptures":{"1":{"name":"keyword.control.export.export-item.wit"},"2":{"name":"variable.other.constant.id.export-item.wit"},"7":{"name":"keyword.operator.key-value.wit"}},"applyEndPatternLast":true},{"name":"meta.import-item.wit","begin":"\\s*\\b(import)\\s+((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\:)","end":"\\s*(?\u003c=\\n)","patterns":[{"include":"#extern"}],"beginCaptures":{"1":{"name":"keyword.control.import.import-item.wit"},"2":{"name":"variable.other.id.import-item.wit"},"7":{"name":"keyword.operator.key-value.wit"}},"applyEndPatternLast":true},{"include":"#use"},{"include":"#typedef-item"}],"beginCaptures":{"1":{"name":"storage.modifier.default.world-item.wit"},"2":{"name":"keyword.declaration.world.world-item.wit storage.type.wit"},"3":{"name":"entity.name.type.id.world-item.wit"},"8":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"scopeName":"source.wwb","patterns":[{"include":"#keywords"},{"include":"#types"},{"include":"source.vba"}],"repository":{"keywords":{"patterns":[{"name":"keyword.control.wwb","match":"((?i)\\b(AndAlso|OrElse|IsNot|Return)\\b)"}]},"types":{"patterns":[{"name":"support.type.builtin.wwb","match":"((?i)\\b(Decimal|Huge_|PortInt|SByte|UHuge_|UInteger|ULong)\\b)"}]}}}
|
data/grammars/text.adblock.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Adblock","scopeName":"text.adblock","patterns":[{"include":"#adblockAgent"},{"include":"#preprocessor"},{"include":"#comments"},{"include":"#snippetRulesABP"},{"include":"#cssRules"},{"include":"#scriptletRules"},{"include":"#scriptletRulesUBO"},{"include":"#jsRules"},{"include":"#contentRules"},{"include":"#elemhideRules"},{"include":"#basicRulesNoUrl"},{"include":"#basicRulesRegex"},{"include":"#basicRules"}],"repository":{"adblockAgent":{"patterns":[{"match":"^(\\[)([^\\]]+)(\\])\\s*$","captures":{"1":{"name":"punctuation.definition.array.start.ablock.agent"},"2":{"patterns":[{"include":"#adblockData"},{"name":"punctuation.separator","match":";"},{"name":"invalid.illegal","match":".*"}]},"3":{"name":"punctuation.definition.array.end.ablock.agent"}}}]},"adblockData":{"patterns":[{"match":"(?:\\s*)([Aa]d[Bb]lock(?:\\s[Pp]lus)?|u[Bb]lock(?:\\s[Oo]rigin)?|[Aa]d[Gg]uard)(?:\\s+(\\d+(?:\\.\\d+)*+\\+?))?(?:\\s*)","captures":{"1":{"name":"constant.language.agent.adblocker.name"},"2":{"name":"constant.numeric.decimal"}}}]},"appListPipeSeparated":{"patterns":[{"match":"((~?)([a-zA-Z0-9.-_]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"basicRules":{"patterns":[{"match":"^(.+?)((\\$(?!\\/))(.*))?$","captures":{"1":{"patterns":[{"include":"#urlPattern"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"basicRulesNoUrl":{"patterns":[{"match":"^(\\$)(.+)$","captures":{"1":{"name":"keyword.control.adblock"},"2":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"basicRulesOptions":{"patterns":[{"name":"keyword.other.adblock","match":"replace=((\\/)(((\\\\\\/)|[^,/]|(\\\\,))+?)(\\/)(((\\\\\\/)|[^,/]|(\\\\,))*?)(\\/)([a-z]*))","captures":{"1":{"name":"string.regexp.adblock"}}},{"match":"(domain|denyallow|from|to)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#domainListPipeSeparated"}]}}},{"match":"(app)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#appListPipeSeparated"}]}}},{"match":"(dnstype)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#dnsTypesPipeSeparated"}]}}},{"match":"(client|ctag)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#dnsClientsPipeSeparated"}]}}},{"name":"keyword.other.adblock","match":"(redirect|redirect-rule|csp|cookie)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"string.unquoted.adblock"}}},{"name":"keyword.other.adblock","match":"(dnsrewrite)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"keyword.other.delimiter","match":";"},{"name":"string.unquoted.adblock","match":"[^;]*"}]}}},{"name":"keyword.other.adblock","match":"(removeheader)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"keyword.other.delimiter","match":":"},{"name":"string.unquoted.adblock","match":"[^:]*"}]}}},{"name":"keyword.other.adblock","match":"(rewrite)(=)(abp-resource:)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"keyword.other.adblock"},"4":{"name":"string.unquoted.adblock"}}},{"name":"keyword.other.adblock","match":"(removeparam|queryprune)(=)(~)?(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"keyword.other.adblock"},"4":{"name":"string.unquoted.adblock"}}},{"match":"(method)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"string.unquoted.adblock","match":"(?i)(connect|delete|get|head|options|patch|post|put)"},{"name":"keyword.operator.adblock","match":"~|\\|"},{"name":"invalid.illegal.method-value","match":".+"}]}}},{"name":"keyword.other.adblock","match":"(inline-script|inline-font|mp4|empty|badfilter|genericblock|generichide|network|popup|popunder|important|cookie|csp|replace|stealth|removeparam|queryprune)"},{"name":"keyword.other.adblock","match":"(~?)(xhr|first-party|third-party|match-case|elemhide|content|jsinject|urlblock|document|image|stylesheet|script|object-subrequest|object|font|media|subdocument|xmlhttprequest|websocket|other|webrtc|ping|extension|all|1p|3p|css|frame|ghide|ehide|shide|specifichide)"},{"name":"punctuation.definition.adblock","match":","},{"name":"invalid.illegal.redundant.modifier.separator","match":"\\$"}]},"basicRulesRegex":{"patterns":[{"match":"^(\\/[^\\/\\\\]*(?:\\\\.[^\\/\\\\]*)*\\/[dgimsuy]*)(?:(\\$)(.+))?$","captures":{"1":{"patterns":[{"include":"#regularExpression"}]},"2":{"name":"keyword.control.adblock"},"3":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"comments":{"patterns":[{"name":"comment.line","match":"^!.*"},{"name":"comment.line.batch-style","match":"^# .*"},{"name":"comment.line.batch-style","match":"^#$"}]},"contentAttributes":{"patterns":[{"match":"(\\[)([^\"=]+?)(\\=)(\".+?\")(\\])","captures":{"1":{"name":"punctuation.section.adblock"},"2":{"name":"keyword.other.adblock"},"3":{"name":"keyword.operator.adblock"},"4":{"name":"string.quoted.adblock"},"5":{"name":"punctuation.section.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"contentRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(\\$@?\\$)(.+?)(\\[.+)?$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"name":"entity.name.function.adblock"},"5":{"patterns":[{"include":"#contentAttributes"}]}}}]},"cosmeticRulesOptions":{"match":"(\\[)(.+?)(\\])","captures":{"1":{"name":"keyword.control.adblock"},"2":{"patterns":[{"match":"(path)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"string.unquoted.adblock"}}},{"match":"(domain)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#domainListPipeSeparated"}]}}},{"match":"(app)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#appListPipeSeparated"}]}}},{"name":"keyword.control.adblock","match":"\\$"},{"name":"punctuation.definition.adblock","match":","},{"name":"invalid.illegal.adblock","match":".*"}]},"3":{"name":"keyword.control.adblock"}}},"cssRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?\\$\\??#)(.+)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#cssStyle"}]}}}]},"cssSelector":{"patterns":[{"name":"entity.name.function.adblock","match":".+"}]},"cssStyle":{"patterns":[{"match":"(@media[\\s]+[^\\{]*)(\\{)([\\s]*[^\\{]*)(\\{)([\\s]*[^\\}]*)(\\})[\\s]*(\\})","captures":{"1":{"name":"entity.name.function.adblock"},"2":{"name":"punctuation.section.adblock"},"3":{"name":"entity.name.function.adblock"},"4":{"name":"punctuation.section.adblock"},"5":{"name":"string.quoted.adblock"},"6":{"name":"punctuation.section.adblock"},"7":{"name":"punctuation.section.adblock"}}},{"match":"([^{}]+)\\s*((\\{)(.+?)(\\}))","captures":{"1":{"name":"entity.name.function.adblock"},"3":{"name":"punctuation.section.adblock"},"4":{"name":"string.quoted.adblock"},"5":{"name":"punctuation.section.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"dnsClientsPipeSeparated":{"patterns":[{"match":"((~?)([^|]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"dnsTypesPipeSeparated":{"patterns":[{"match":"((~?)([a-zA-Z0-9.-_]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"domainListCommaSeparated":{"patterns":[{"match":"(~?)([^,]+)(,?)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"string.unquoted.adblock"},"3":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.domain-list","match":".*"}]},"domainListPipeSeparated":{"patterns":[{"match":"(~?)([^|]+)(\\|?)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"string.unquoted.adblock"},"3":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.domain-list","match":".*"}]},"elemhideRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?\\??#\\^?)(.+)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#cssSelector"}]}}}]},"jsFunction":{"patterns":[{"name":"constant.character.jscode.adblock","match":".+"}]},"jsRules":{"patterns":[{"match":"^(.*?)(#@?%#)(.+)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"patterns":[{"include":"#jsFunction"}]}}}]},"preprocessor":{"patterns":[{"match":"^(!#if) (.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"patterns":[{"name":"constant.language.platform.name","match":"(adguard_app_windows|adguard_app_mac|adguard_app_android|adguard_app_ios|adguard_ext_chromium|adguard_ext_firefox|adguard_ext_edge|adguard_ext_safari|adguard_ext_opera|adguard_ext_android_cb|adguard|ext_abp|ext_ublock|env_chromium|env_edge|env_firefox|env_mobile|env_safari|false|cap_html_filtering|cap_user_stylesheet|env_legacy)"},{"name":"keyword.control.characters","match":"(\u0026\u0026|!|\\|\\|| )"},{"name":"keyword.control.characters","match":"(\\(|\\))"},{"name":"invalid.illegal","match":".*"}]}}},{"match":"^(!#include) (.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"name":"string.unquoted"}}},{"name":"keyword.preprocessor.directive","match":"^!#endif\\s*$"},{"match":"^(!#safari_cb_affinity)(.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"patterns":[{"name":"constant.language.contentblocker.name","match":"(all|general|privacy|social|security|other|custom)"},{"name":"keyword.control.characters","match":"(\\(|\\)|,)"},{"name":"invalid.illegal","match":".*"}]}}},{"match":"^(!\\+) (.*)$","captures":{"1":{"name":"keyword.preprocessor.hint"},"2":{"patterns":[{"name":"keyword.control.hint.name","match":"(NOT_OPTIMIZED|OPTIMIZED|PLATFORM|NOT_PLATFORM)"},{"name":"constant.language.platform.name","match":"(windows|mac|android|ios|ext_chromium|ext_ff|ext_edge|ext_opera|ext_ublock|ext_safari|ext_android_cb)"},{"name":"keyword.control.characters","match":"(\\(|\\)|,)"}]}}},{"name":"invalid.illegal.preprocessor","match":"^!#(?!#).+$"}]},"regularExpression":{"patterns":[{"contentName":"string.regexp","begin":"(/)","end":"((?\u003c!\\\\)/)([dgimsuy]*)?","patterns":[{"name":"keyword.control.regex","match":"(?\u003c!\\\\)([/\\^\\$\\|])"}],"beginCaptures":{"1":{"name":"keyword.other.regex.begin"}},"endCaptures":{"1":{"name":"keyword.other.regex.end"},"2":{"name":"keyword.other.regex"}}}]},"scriptletFunction":{"patterns":[{"match":"((['|\"])(.*?)(?\u003c!\\\\)(\\2))(,\\s*)?","captures":{"1":{"name":"string.quoted.adblock"},"5":{"name":"keyword.operator.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"scriptletFunctionUBO":{"patterns":[{"match":"([^,]*)(,\\s*)?","captures":{"1":{"name":"string.quoted.adblock"},"2":{"name":"keyword.operator.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"scriptletRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?%#)(\\/\\/scriptlet)(\\()(.+)(\\)\\s*)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"name":"entity.name.function.adblock"},"5":{"name":"punctuation.section.adblock"},"6":{"patterns":[{"include":"#scriptletFunction"}]},"7":{"name":"punctuation.section.adblock"}}}]},"scriptletRulesUBO":{"patterns":[{"match":"^(.*?)(##)(\\+js)(\\()(.+)(\\)\\s*)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"name":"entity.name.function.adblock"},"4":{"name":"punctuation.section.adblock"},"5":{"patterns":[{"include":"#scriptletFunctionUBO"}]},"6":{"name":"punctuation.section.adblock"}}}]},"snippetRulesABP":{"patterns":[{"match":"^(.*?)(#\\$#)([^{]+)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"name":"constant.character.snippet.adblock"}}}]},"urlPattern":{"patterns":[{"name":"string.regexp.adblock","match":"^(@@)?(\\/)(.+)\\/$","captures":{"1":{"name":"keyword.other.adblock"}}},{"name":"keyword.other.adblock","match":"^@@\\|?\\|?"},{"name":"keyword.other.adblock","match":"^\\|\\|"},{"name":"keyword.other.adblock","match":"^\\|"},{"name":"keyword.other.adblock","match":"\\|$"},{"name":"keyword.other.adblock","match":"\\^"},{"name":"keyword.other.adblock","match":"\\*"}]}}}
|
1
|
+
{"name":"Adblock","scopeName":"text.adblock","patterns":[{"include":"#adblockAgent"},{"include":"#preprocessor"},{"include":"#comments"},{"include":"#snippetRulesABP"},{"include":"#cssRules"},{"include":"#scriptletRules"},{"include":"#scriptletRulesUBO"},{"include":"#jsRules"},{"include":"#contentRules"},{"include":"#elemhideRules"},{"include":"#basicRulesNoUrl"},{"include":"#basicRulesRegex"},{"include":"#basicRules"}],"repository":{"adblockAgent":{"patterns":[{"match":"^(\\[)([^\\]]+)(\\])\\s*$","captures":{"1":{"name":"punctuation.definition.array.start.adblock.agent"},"2":{"patterns":[{"include":"#adblockData"},{"name":"punctuation.separator","match":";"},{"name":"invalid.illegal","match":".*"}]},"3":{"name":"punctuation.definition.array.end.adblock.agent"}}}]},"adblockData":{"patterns":[{"match":"(?x)\n (?:\\s*)\n (\n [Aa]d[Bb]lock(?:\\s[Pp]lus)?\n |u[Bb]lock(?:\\s[Oo]rigin)?\n |[Aa]d[Gg]uard\n )\n (?:\\s+(\\d+(?:\\.\\d+)*+\\+?))?\n (?:\\s*)","captures":{"1":{"name":"constant.language.agent.adblocker.name"},"2":{"name":"constant.numeric.decimal"}}}]},"appListPipeSeparated":{"patterns":[{"match":"((~?)([a-zA-Z0-9.-_]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"basicRules":{"patterns":[{"match":"^(.+?)((\\$(?!\\/))(.*))?$","captures":{"1":{"patterns":[{"include":"#urlPattern"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"basicRulesNoUrl":{"patterns":[{"match":"^(\\$)(.+)$","captures":{"1":{"name":"keyword.control.adblock"},"2":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"basicRulesOptions":{"patterns":[{"name":"keyword.other.adblock","match":"replace=((\\/)(((\\\\\\/)|[^,/]|(\\\\,))+?)(\\/)(((\\\\\\/)|[^,/]|(\\\\,))*?)(\\/)([a-z]*))","captures":{"1":{"name":"string.regexp.adblock"}}},{"match":"(domain|denyallow|from|to)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#domainListPipeSeparated"}]}}},{"match":"(app)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#appListPipeSeparated"}]}}},{"match":"(dnstype)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#dnsTypesPipeSeparated"}]}}},{"match":"(client|ctag)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#dnsClientsPipeSeparated"}]}}},{"name":"keyword.other.adblock","match":"(redirect|redirect-rule|csp|cookie)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"string.unquoted.adblock"}}},{"name":"keyword.other.adblock","match":"(dnsrewrite)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"keyword.other.delimiter","match":";"},{"name":"string.unquoted.adblock","match":"[^;]*"}]}}},{"name":"keyword.other.adblock","match":"(removeheader)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"keyword.other.delimiter","match":":"},{"name":"string.unquoted.adblock","match":"[^:]*"}]}}},{"name":"keyword.other.adblock","match":"(rewrite)(=)(abp-resource:)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"keyword.other.adblock"},"4":{"name":"string.unquoted.adblock"}}},{"name":"keyword.other.adblock","match":"(removeparam|queryprune)(=)(~)?(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"keyword.other.adblock"},"4":{"name":"string.unquoted.adblock"}}},{"match":"(method)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"name":"string.unquoted.adblock","match":"(?i)(connect|delete|get|head|options|patch|post|put)"},{"name":"keyword.operator.adblock","match":"~|\\|"},{"name":"invalid.illegal.method-value","match":".+"}]}}},{"name":"keyword.other.adblock","match":"(inline-script|inline-font|mp4|empty|badfilter|genericblock|generichide|network|popup|popunder|important|cookie|csp|replace|stealth|removeparam|queryprune)"},{"name":"keyword.other.adblock","match":"(~?)(xhr|first-party|third-party|match-case|elemhide|content|jsinject|urlblock|document|image|stylesheet|script|object-subrequest|object|font|media|subdocument|xmlhttprequest|websocket|other|webrtc|ping|extension|all|1p|3p|css|frame|ghide|ehide|shide|specifichide)"},{"name":"punctuation.definition.adblock","match":","},{"name":"invalid.illegal.redundant.modifier.separator","match":"\\$"}]},"basicRulesRegex":{"patterns":[{"match":"^(\\/[^\\/\\\\]*(?:\\\\.[^\\/\\\\]*)*\\/[dgimsuy]*)(?:(\\$)(.+))?$","captures":{"1":{"patterns":[{"include":"#regularExpression"}]},"2":{"name":"keyword.control.adblock"},"3":{"patterns":[{"include":"#basicRulesOptions"}]}}}]},"comments":{"patterns":[{"name":"comment.line","match":"^!.*"},{"name":"comment.line.batch-style","match":"^# .*"},{"name":"comment.line.batch-style","match":"^#$"}]},"contentAttributes":{"patterns":[{"match":"(\\[)([^\"=]+?)(\\=)(\".+?\")(\\])","captures":{"1":{"name":"punctuation.section.adblock"},"2":{"name":"keyword.other.adblock"},"3":{"name":"keyword.operator.adblock"},"4":{"name":"string.quoted.adblock"},"5":{"name":"punctuation.section.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"contentRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(\\$@?\\$)(.+?)(\\[.+)?$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"name":"entity.name.function.adblock"},"5":{"patterns":[{"include":"#contentAttributes"}]}}}]},"cosmeticRulesOptions":{"match":"(\\[)(.+?)(\\])","captures":{"1":{"name":"keyword.control.adblock"},"2":{"patterns":[{"match":"(path)(=)(((\\\\,)|[^,])+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"name":"string.unquoted.adblock"}}},{"match":"(domain)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#domainListPipeSeparated"}]}}},{"match":"(app)(=)([^,]+)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"keyword.operator.adblock"},"3":{"patterns":[{"include":"#appListPipeSeparated"}]}}},{"name":"keyword.control.adblock","match":"\\$"},{"name":"punctuation.definition.adblock","match":","},{"name":"invalid.illegal.adblock","match":".*"}]},"3":{"name":"keyword.control.adblock"}}},"cssRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?\\$\\??#)(.+)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#cssStyle"}]}}}]},"cssSelector":{"patterns":[{"name":"entity.name.function.adblock","match":".+"}]},"cssStyle":{"patterns":[{"match":"(@media[\\s]+[^\\{]*)(\\{)([\\s]*[^\\{]*)(\\{)([\\s]*[^\\}]*)(\\})[\\s]*(\\})","captures":{"1":{"name":"entity.name.function.adblock"},"2":{"name":"punctuation.section.adblock"},"3":{"name":"entity.name.function.adblock"},"4":{"name":"punctuation.section.adblock"},"5":{"name":"string.quoted.adblock"},"6":{"name":"punctuation.section.adblock"},"7":{"name":"punctuation.section.adblock"}}},{"match":"([^{}]+)\\s*((\\{)(.+?)(\\}))","captures":{"1":{"name":"entity.name.function.adblock"},"3":{"name":"punctuation.section.adblock"},"4":{"name":"string.quoted.adblock"},"5":{"name":"punctuation.section.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"dnsClientsPipeSeparated":{"patterns":[{"match":"((~?)([^|]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"dnsTypesPipeSeparated":{"patterns":[{"match":"((~?)([a-zA-Z0-9.-_]+)(\\|?))","captures":{"2":{"name":"keyword.other.adblock"},"3":{"name":"string.unquoted.adblock"},"4":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.app-list","match":".*"}]},"domainListCommaSeparated":{"patterns":[{"match":"(~?)([^,]+)(,?)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"string.unquoted.adblock"},"3":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.domain-list","match":".*"}]},"domainListPipeSeparated":{"patterns":[{"match":"(~?)([^|]+)(\\|?)","captures":{"1":{"name":"keyword.other.adblock"},"2":{"name":"string.unquoted.adblock"},"3":{"name":"punctuation.definition.adblock"}}},{"name":"invalid.illegal.domain-list","match":".*"}]},"elemhideRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?\\??#\\^?)(.+)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"patterns":[{"include":"#cssSelector"}]}}}]},"jsRules":{"patterns":[{"contentName":"source.js","begin":"^(.*?)(#@?%#(?!\\/\\/scriptlet))","end":"$","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"}}},{"match":"^(.*?)(#@?%#)(.+)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"name":"invalid.illegal"}}}]},"preprocessor":{"patterns":[{"match":"^(!#if) (.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"patterns":[{"name":"constant.language.platform.name","match":"(?x)\n(\n adguard_app_windows\n |adguard_app_mac\n |adguard_app_android\n |adguard_app_ios\n |adguard_ext_chromium\n |adguard_ext_firefox\n |adguard_ext_edge\n |adguard_ext_safari\n |adguard_ext_opera\n |adguard_ext_android_cb\n |adguard|ext_abp\n |ext_ublock\n |env_chromium\n |env_edge\n |env_firefox\n |env_mobile\n |env_safari\n |false\n |cap_html_filtering\n |cap_user_stylesheet\n |env_legacy\n)"},{"name":"keyword.control.characters","match":"(\u0026\u0026|!|\\|\\|| )"},{"name":"keyword.control.characters","match":"(\\(|\\))"},{"name":"invalid.illegal","match":".*"}]}}},{"match":"^(!#include) (.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"name":"string.unquoted"}}},{"name":"keyword.preprocessor.directive","match":"^!#endif\\s*$"},{"match":"^(!#safari_cb_affinity)(.*)$","captures":{"1":{"name":"keyword.preprocessor.directive"},"2":{"patterns":[{"name":"constant.language.contentblocker.name","match":"(all|general|privacy|social|security|other|custom)"},{"name":"keyword.control.characters","match":"(\\(|\\)|,)"},{"name":"invalid.illegal","match":".*"}]}}},{"match":"^(!\\+) (.*)$","captures":{"1":{"name":"keyword.preprocessor.hint"},"2":{"patterns":[{"name":"keyword.control.hint.name","match":"(NOT_OPTIMIZED|OPTIMIZED|PLATFORM|NOT_PLATFORM)"},{"name":"constant.language.platform.name","match":"(windows|mac|android|ios|ext_chromium|ext_ff|ext_edge|ext_opera|ext_ublock|ext_safari|ext_android_cb)"},{"name":"keyword.control.characters","match":"(\\(|\\)|,)"}]}}},{"name":"invalid.illegal.preprocessor","match":"^!#(?!#).+$"}]},"regularExpression":{"patterns":[{"contentName":"string.regexp","begin":"(/)","end":"((?\u003c!\\\\)/)([dgimsuy]*)?","patterns":[{"name":"keyword.control.regex","match":"(?\u003c!\\\\)([/\\^\\$\\|])"}],"beginCaptures":{"1":{"name":"keyword.other.regex.begin"}},"endCaptures":{"1":{"name":"keyword.other.regex.end"},"2":{"name":"keyword.other.regex"}}}]},"scriptletFunction":{"patterns":[{"match":"((['|\"])(.*?)(?\u003c!\\\\)(\\2))(,\\s*)?","captures":{"1":{"name":"string.quoted.adblock"},"5":{"name":"keyword.operator.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"scriptletFunctionUBO":{"patterns":[{"match":"([^,]*)(,\\s*)?","captures":{"1":{"name":"string.quoted.adblock"},"2":{"name":"keyword.operator.adblock"}}},{"name":"invalid.illegal.adblock","match":".*"}]},"scriptletRules":{"patterns":[{"match":"^(\\[.+?\\])?(.*?)(#@?%#)(\\/\\/scriptlet)(\\()(.+)(\\)\\s*)$","captures":{"1":{"patterns":[{"include":"#cosmeticRulesOptions"}]},"2":{"patterns":[{"include":"#domainListCommaSeparated"}]},"3":{"name":"keyword.control.adblock"},"4":{"name":"entity.name.function.adblock"},"5":{"name":"punctuation.section.adblock"},"6":{"patterns":[{"include":"#scriptletFunction"}]},"7":{"name":"punctuation.section.adblock"}}}]},"scriptletRulesUBO":{"patterns":[{"match":"^(.*?)(##)(\\+js)(\\()(.+)(\\)\\s*)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"name":"entity.name.function.adblock"},"4":{"name":"punctuation.section.adblock"},"5":{"patterns":[{"include":"#scriptletFunctionUBO"}]},"6":{"name":"punctuation.section.adblock"}}}]},"snippetRulesABP":{"patterns":[{"match":"^(.*?)(#\\$#)([^{]+)$","captures":{"1":{"patterns":[{"include":"#domainListCommaSeparated"}]},"2":{"name":"keyword.control.adblock"},"3":{"name":"constant.character.snippet.adblock"}}}]},"urlPattern":{"patterns":[{"name":"string.regexp.adblock","match":"^(@@)?(\\/)(.+)\\/$","captures":{"1":{"name":"keyword.other.adblock"}}},{"name":"keyword.other.adblock","match":"^@@\\|?\\|?"},{"name":"keyword.other.adblock","match":"^\\|\\|"},{"name":"keyword.other.adblock","match":"^\\|"},{"name":"keyword.other.adblock","match":"\\|$"},{"name":"keyword.other.adblock","match":"\\^"},{"name":"keyword.other.adblock","match":"\\*"}]}}}
|
data/grammars/text.haml.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Ruby Haml","scopeName":"text.haml","patterns":[{"begin":"^\\s*==","end":"$\\n?","patterns":[{"include":"#interpolated_ruby"}],"captures":{"1":{"name":"string.quoted.double.ruby"}}},{"include":"#continuation"},{"name":"meta.prolog.haml","match":"^(!!!)($|\\s.*)","captures":{"1":{"name":"punctuation.definition.prolog.haml"}}},{"name":"meta.embedded.ruby","match":"(?\u003c=\\#\\{)([^#]+)(?=\\})","captures":{"1":{"patterns":[{}]}}},{"name":"comment.line.slash.haml","match":"^(\\s*)(\\/\\[[^\\]].*?$\\n?)","captures":{"1":{"name":"punctuation.section.comment.haml"}}},{"name":"comment.line.slash.haml","begin":"^(\\s*)(\\-\\#|\\/|\\-\\s*\\/\\*+)","end":"^(?!\\1\\s+|$\\n?)","captures":{"2":{"name":"punctuation.section.comment.haml"}}},{"begin":"^\\s*(?:((%)([-\\w:]+))|(?=\\.|#))","end":"$|(?!\\.|#|\\{|\\(|\\[|\u0026amp;|=|-|~|!=|\u0026=|/)","patterns":[{"name":"string.quoted.double.ruby","contentName":"string.quoted.double.ruby","begin":"==","end":"$\\n?","patterns":[{"include":"#interpolated_ruby"}]},{"name":"entity.name.tag.class.haml","match":"\\.[\\w-]+"},{"name":"entity.name.tag.id.haml","match":"#[\\w-]+"},{"name":"meta.section.attributes.haml","begin":"(?\u003c!\\#)\\{(?=.+(,|(do)|\\{|\\}|\\||(\\#.*))\\s*)","end":"\\s*\\}(?!,)","patterns":[{"include":"#continuation"},{},{"include":"#rubyline"}]},{"name":"meta.section.attributes.haml","begin":"\\(","end":"\\)","patterns":[{"name":"constant.other.symbol.ruby","match":"([\\w-]+)"},{"name":"punctuation","match":"\\="},{"include":"#variables"},{"name":"string.quoted.double.ruby","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"},{"include":"#interpolated_ruby"}]},{"name":"string.quoted.double.ruby","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"},{"include":"#interpolated_ruby"}]},{"include":"#interpolated_ruby"}]},{"name":"meta.section.object.haml","begin":"\\[(?=.+(,|\\[|\\]|\\||(\\#.*))\\s*)","end":"\\s*\\](?!.*(?!\\#\\[)\\])","patterns":[{"include":"#continuation"},{},{"include":"#rubyline"}]},{"include":"#rubyline"},{"name":"punctuation.terminator.tag.haml","match":"/"}],"captures":{"1":{"name":"meta.tag.haml"},"2":{"name":"punctuation.definition.tag.haml"},"3":{"name":"entity.name.tag.haml"}}},{"match":"^\\s*(\\.)","captures":{"1":{"name":"meta.escape.haml"}}},{"begin":"^\\s*(?==|-|~|!=|\u0026=)","end":"$","patterns":[{"include":"#rubyline"}]},{"name":"meta.embedded.php","begin":"^(\\s*)(:php)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"text.html.php#language"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.ruby","begin":"^(\\s*)(:ruby)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.ruby"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.markdown","begin":"^(\\s*)(:markdown)$","end":"^(?!\\1\\s+|\\n)","patterns":[{
|
1
|
+
{"name":"Ruby Haml","scopeName":"text.haml","patterns":[{"begin":"^\\s*==","end":"$\\n?","patterns":[{"include":"#interpolated_ruby"}],"captures":{"1":{"name":"string.quoted.double.ruby"}}},{"include":"#continuation"},{"name":"meta.prolog.haml","match":"^(!!!)($|\\s.*)","captures":{"1":{"name":"punctuation.definition.prolog.haml"}}},{"name":"meta.embedded.ruby","match":"(?\u003c=\\#\\{)([^#]+)(?=\\})","captures":{"1":{"patterns":[{}]}}},{"name":"comment.line.slash.haml","match":"^(\\s*)(\\/\\[[^\\]].*?$\\n?)","captures":{"1":{"name":"punctuation.section.comment.haml"}}},{"name":"comment.line.slash.haml","begin":"^(\\s*)(\\-\\#|\\/|\\-\\s*\\/\\*+)","end":"^(?!\\1\\s+|$\\n?)","captures":{"2":{"name":"punctuation.section.comment.haml"}}},{"begin":"^\\s*(?:((%)([-\\w:]+))|(?=\\.|#))","end":"$|(?!\\.|#|\\{|\\(|\\[|\u0026amp;|=|-|~|!=|\u0026=|/)","patterns":[{"name":"string.quoted.double.ruby","contentName":"string.quoted.double.ruby","begin":"==","end":"$\\n?","patterns":[{"include":"#interpolated_ruby"}]},{"name":"entity.name.tag.class.haml","match":"\\.[\\w-]+"},{"name":"entity.name.tag.id.haml","match":"#[\\w-]+"},{"name":"meta.section.attributes.haml","begin":"(?\u003c!\\#)\\{(?=.+(,|(do)|\\{|\\}|\\||(\\#.*))\\s*)","end":"\\s*\\}(?!,)","patterns":[{"include":"#continuation"},{},{"include":"#rubyline"}]},{"name":"meta.section.attributes.haml","begin":"\\(","end":"\\)","patterns":[{"name":"constant.other.symbol.ruby","match":"([\\w-]+)"},{"name":"punctuation","match":"\\="},{"include":"#variables"},{"name":"string.quoted.double.ruby","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"},{"include":"#interpolated_ruby"}]},{"name":"string.quoted.double.ruby","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"},{"include":"#interpolated_ruby"}]},{"include":"#interpolated_ruby"}]},{"name":"meta.section.object.haml","begin":"\\[(?=.+(,|\\[|\\]|\\||(\\#.*))\\s*)","end":"\\s*\\](?!.*(?!\\#\\[)\\])","patterns":[{"include":"#continuation"},{},{"include":"#rubyline"}]},{"include":"#rubyline"},{"name":"punctuation.terminator.tag.haml","match":"/"}],"captures":{"1":{"name":"meta.tag.haml"},"2":{"name":"punctuation.definition.tag.haml"},"3":{"name":"entity.name.tag.haml"}}},{"match":"^\\s*(\\.)","captures":{"1":{"name":"meta.escape.haml"}}},{"begin":"^\\s*(?==|-|~|!=|\u0026=)","end":"$","patterns":[{"include":"#rubyline"}]},{"name":"meta.embedded.php","begin":"^(\\s*)(:php)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"text.html.php#language"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.ruby","begin":"^(\\s*)(:ruby)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.ruby"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.markdown","begin":"^(\\s*)(:markdown)$","end":"^(?!\\1\\s+|\\n)","patterns":[{}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.coffee","begin":"^(\\s*)(:coffee(script)?)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.coffee"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.js","begin":"^(\\s*)(:(javascript|es6))$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.js"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.css","begin":"^(\\s*)(:(css|styles?))$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.css"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.ruby2js","begin":"^(\\s*)(:ruby2js)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.ruby"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.sass","begin":"^(\\s*)(:sass)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.sass"}],"captures":{"2":{"name":"entity.name.tag.haml"}}},{"name":"meta.embedded.scss","begin":"^(\\s*)(:scss)$","end":"^(?!\\1\\s+|\\n)","patterns":[{"include":"source.css.scss"}],"captures":{"2":{"name":"entity.name.tag.haml"}}}],"repository":{"continuation":{"match":"(\\|)\\s*$\\n?","captures":{"1":{"name":"punctuation.separator.continuation.haml"}}},"interpolated_ruby":{"patterns":[{"name":"meta.section.object.haml","begin":"\\#\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"},{"include":"source.ruby"}],"captures":{"1":{"name":"punctuation.section.embedded.ruby"}}},{"include":"#variables"}]},"nest_curly_and_self":{"patterns":[{"name":"meta.section.object.haml","begin":"\\{","end":"\\}","patterns":[{"include":"#nest_curly_and_self"},{"include":"source.ruby"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}}]},"rubyline":{"name":"meta.line.ruby.haml","contentName":"source.ruby.embedded.haml","begin":"(\u0026amp|!)?(=|-|~)","end":"((do|\\{)( \\|[.*]+\\|)?)$|$|^(?!.*\\|\\s*)$\\n?","patterns":[{"match":"\\s+((elseif|foreach|switch|declare|default|use))(?=\\s|\\()","captures":{"1":{"name":"keyword.control.php"}}},{"match":"\\s+(require_once|include_once)(?=\\s|\\()","captures":{"1":{"name":"keyword.control.import.include.php"}}},{"name":"keyword.control.exception.php","match":"\\s+(catch|try|throw|exception|finally|die)(?=\\s|\\(|\\n)"},{"match":"\\s+(function\\s*)((?=\\())","captures":{"1":{"name":"storage.type.function.php"}}},{"match":"\\s+(use\\s*)((?=\\())","captures":{"1":{"name":"keyword.control.php"}}},{"name":"string.quoted.double.ruby","begin":"\"","end":"\"","patterns":[{"include":"source.ruby#interpolated_ruby"},{"include":"source.ruby#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"source.ruby","match":"(\\||,|\u003c|do|\\{)\\s*(\\#.*)?$\\n?","captures":{"0":{"patterns":[{"include":"#rubyline"}]}}},{"name":"comment.line.number-sign.ruby","match":"#.*$"},{},{"include":"#continuation"}],"endCaptures":{"1":{"name":"source.ruby.embedded.haml"},"2":{"name":"keyword.control.ruby.start-block"}}},"variables":{"patterns":[{"name":"variable.other.readwrite.instance.ruby","match":"(@)[a-zA-Z_]\\w+","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.class.ruby","match":"(@@)[a-zA-Z_]\\w+","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.global.ruby","match":"(\\$)[a-zA-Z_]\\w+","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"markdown.d2","scopeName":"text.html.markdown.d2","patterns":[{"include":"#frontMatter"},{"include":"#block"}],"repository":{"ampersand":{"name":"meta.other.valid-ampersand.markdown","match":"\u0026(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)"},"block":{"patterns":[{"include":"#separator"},{"include":"#heading"},{"include":"#blockquote"},{"include":"#fenced_code_block"},{"include":"#link-def"},{"include":"#html"},{"include":"#paragraph"}]},"blockquote":{"name":"markup.quote.markdown","begin":"((?!.*`\\|)(?:^|\\G))\\s*(\u003e) ?","while":"((?!.*`\\|)(?:^|\\G))\\s*(\u003e) ?","patterns":[{"include":"#block"}],"captures":{"2":{"name":"punctuation.definition.quote.begin.markdown"}}},"bold":{"name":"markup.bold.markdown","begin":"(?x) (?\u003copen\u003e(\\*\\*(?=\\w)|(?\u003c!\\w)\\*\\*|(?\u003c!\\w)\\b__))(?=\\S) (?=\n (\n \u003c[^\u003e]*+\u003e # HTML tags\n | (?\u003craw\u003e`+)([^`]|(?!(?\u003c!`)\\k\u003craw\u003e(?!`))`)*+\\k\u003craw\u003e\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\-\u003e]?+ # Escapes\n | \\[\n (\n (?\u003csquare\u003e # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g\u003csquare\u003e*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whitespace\n \u003c?(.*?)\u003e? # URL\n [ \\t]*+ # Optional whitespace\n ( # Optional Title\n (?\u003ctitle\u003e['\"])\n (.*?)\n \\k\u003ctitle\u003e\n )?\n \\)\n )\n )\n )\n | (?!(?\u003c=\\S)\\k\u003copen\u003e). # Everything besides\n # style closer\n )++\n (?\u003c=\\S)(?=__\\b|\\*\\*)\\k\u003copen\u003e # Close\n)\n","end":"(?\u003c=\\S)(\\1)","patterns":[{"begin":"(?=\u003c[^\u003e]*?\u003e)","end":"(?\u003c=\u003e)","patterns":[{}],"applyEndPatternLast":true},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}],"captures":{"1":{"name":"punctuation.definition.bold.markdown"}}},"bracket":{"name":"meta.other.valid-bracket.markdown","match":"\u003c(?![a-zA-Z/?\\$!])"},"escape":{"name":"constant.character.escape.markdown","match":"\\\\[-`*_#+.!(){}\\[\\]\\\\\u003e]"},"fenced_code_block":{"patterns":[{"include":"#fenced_code_block_d2"},{"include":"#fenced_code_block_css"},{"include":"#fenced_code_block_basic"},{"include":"#fenced_code_block_ini"},{"include":"#fenced_code_block_java"},{"include":"#fenced_code_block_lua"},{"include":"#fenced_code_block_makefile"},{"include":"#fenced_code_block_perl"},{"include":"#fenced_code_block_r"},{"include":"#fenced_code_block_ruby"},{"include":"#fenced_code_block_php"},{"include":"#fenced_code_block_sql"},{"include":"#fenced_code_block_vs_net"},{"include":"#fenced_code_block_xml"},{"include":"#fenced_code_block_xsl"},{"include":"#fenced_code_block_yaml"},{"include":"#fenced_code_block_dosbatch"},{"include":"#fenced_code_block_clojure"},{"include":"#fenced_code_block_coffee"},{"include":"#fenced_code_block_c"},{"include":"#fenced_code_block_cpp"},{"include":"#fenced_code_block_diff"},{"include":"#fenced_code_block_dockerfile"},{"include":"#fenced_code_block_git_commit"},{"include":"#fenced_code_block_git_rebase"},{"include":"#fenced_code_block_go"},{"include":"#fenced_code_block_groovy"},{"include":"#fenced_code_block_pug"},{"include":"#fenced_code_block_js"},{"include":"#fenced_code_block_js_regexp"},{"include":"#fenced_code_block_json"},{"include":"#fenced_code_block_jsonc"},{"include":"#fenced_code_block_less"},{"include":"#fenced_code_block_objc"},{"include":"#fenced_code_block_swift"},{"include":"#fenced_code_block_scss"},{"include":"#fenced_code_block_perl6"},{"include":"#fenced_code_block_powershell"},{"include":"#fenced_code_block_python"},{"include":"#fenced_code_block_regexp_python"},{"include":"#fenced_code_block_rust"},{"include":"#fenced_code_block_scala"},{"include":"#fenced_code_block_shell"},{"include":"#fenced_code_block_ts"},{"include":"#fenced_code_block_tsx"},{"include":"#fenced_code_block_csharp"},{"include":"#fenced_code_block_fsharp"},{"include":"#fenced_code_block_dart"},{"include":"#fenced_code_block_handlebars"},{"include":"#fenced_code_block_markdown"},{"include":"#fenced_code_block_log"},{"include":"#fenced_code_block_erlang"},{"include":"#fenced_code_block_elixir"},{"include":"#fenced_code_block_latex"},{"include":"#fenced_code_block_bibtex"},{"include":"#fenced_code_block_unknown"}]},"fenced_code_block_basic":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.html","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.basic"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_bibtex":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(bibtex)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.bibtex","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.bibtex"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_c":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(c|h)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.c","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.c"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_clojure":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(clj|cljs|clojure)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.clojure","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.clojure"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_coffee":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.coffee","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.coffee"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_cpp":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(cpp|c\\+\\+|cxx)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.cpp source.cpp","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.c++"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_csharp":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(cs|csharp|c#)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.csharp","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.cs"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_css":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.css","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_d2":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:d2((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.d2","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.d2"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dart":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dart","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.dart"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_diff":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.diff","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.diff"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dockerfile":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(dockerfile|Dockerfile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dockerfile","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.dockerfile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dosbatch":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(bat|batch)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dosbatch","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.batchfile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_elixir":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(elixir)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.elixir","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.elixir"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_erlang":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(erlang)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.erlang","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.erlang"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_fsharp":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(fs|fsharp|f#)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.fsharp","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.fsharp"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_git_commit":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(COMMIT_EDITMSG|MERGE_MSG)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.git_commit","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_git_rebase":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.git_rebase","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_go":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(go|golang)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.go","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.go"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_groovy":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(groovy|gvy)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.groovy","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.groovy"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_handlebars":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(handlebars|hbs)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.handlebars","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.handlebars"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ini":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.ini","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ini"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_java":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.java","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.java"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_js":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|\\{\\.js.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.javascript","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.js"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_js_regexp":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.js_regexp","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.js.regexp"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_json":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(json|json5|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.json","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.json"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_jsonc":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonc)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.jsonc","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_latex":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(latex|tex)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.latex","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.tex.latex"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_less":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(less)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.less","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css.less"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_log":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(log)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.log","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_lua":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.lua","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.lua"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_makefile":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.makefile","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.makefile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_markdown":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(markdown|md)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.gfm"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_objc":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|m|h)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.objc","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.objc"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_perl":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.perl","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.perl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_perl6":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.perl6","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.perl.6"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_php":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(php|php3|php4|php5|phpt|phtml|aw|ctp)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.php","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.basic"},{"include":"text.html.php"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_powershell":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(powershell|ps1|psm1|psd1)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.powershell","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.powershell"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_pug":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.pug","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.jade"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_python":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi|\\{\\.python.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.python","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.python"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_r":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile|\\{\\.r.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.r","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.r"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_regexp_python":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.regexp_python","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.regexp.python"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ruby":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rb|rbx|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.ruby","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ruby"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_rust":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.rust","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.rust"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_scala":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(scala|sbt)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.scala","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.scala"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_scss":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.scss","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css.scss"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_shell":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?\\})((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.shellscript","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.shell"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_sql":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.sql","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.sql"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_swift":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.swift","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.swift"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ts":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(typescript|ts)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.typescript","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_tsx":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.typescriptreact","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.tsx"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_unknown":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_vs_net":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.vs_net","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_xml":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.xml","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.xml"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_xsl":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(xsl|xslt)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.xsl","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.xml.xsl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_yaml":{"name":"markup.fenced_code.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(`{3,}|~{3,})\\s*(?i:(yaml|yml)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"((?!.*`\\|)(?:^|\\G))(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.yaml","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)(.*)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.yaml"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"frontMatter":{"contentName":"meta.embedded.block.frontmatter","begin":"\\A-{3}\\s*$","end":"((?!.*`\\|)(?:^|\\G))-{3}|\\.{3}\\s*$","patterns":[{"include":"source.yaml"}]},"heading":{"name":"markup.heading.markdown","match":"(?:(?!.*`\\|)(?:^|\\G))\\s*(#{1,6}\\s+(.*?)(\\s+#{1,6})?\\s*)$","patterns":[{"include":"#inline"}],"captures":{"1":{"patterns":[{"name":"heading.6.markdown","match":"(#{6})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.5.markdown","match":"(#{5})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.4.markdown","match":"(#{4})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.3.markdown","match":"(#{3})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.2.markdown","match":"(#{2})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.1.markdown","match":"(#{1})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{}]},"3":{"name":"punctuation.definition.heading.markdown"}}}]}}},"heading-setext":{"patterns":[{"name":"markup.heading.setext.1.markdown","match":"^(={3,})(?=[ \\t]*$\\n?)"},{"name":"markup.heading.setext.2.markdown","match":"^(-{3,})(?=[ \\t]*$\\n?)"}]},"html":{"patterns":[{"name":"comment.block.html","begin":"((?!.*`\\|)(?:^|\\G))\\s*(\u003c!--)","end":"(--\u003e)","captures":{"1":{"name":"punctuation.definition.comment.html"},"2":{"name":"punctuation.definition.comment.html"}}},{"begin":"(?i)((?!.*`\\|)(?:^|\\G))\\s*(?=\u003c(script|style|pre)(\\s|$|\u003e)(?!.*?\u003c/(script|style|pre)\u003e))","end":"(?i)(.*)((\u003c/)(script|style|pre)(\u003e))","patterns":[{"begin":"(\\s*|$)","while":"(?i)^(?!.*\u003c/(script|style|pre)\u003e)","patterns":[{}]}],"endCaptures":{"1":{"patterns":[{}]},"2":{"name":"meta.tag.structure.$4.end.html"},"3":{"name":"punctuation.definition.tag.begin.html"},"4":{"name":"entity.name.tag.html"},"5":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(?i)((?!.*`\\|)(?:^|\\G))\\s*(?=\u003c/?[a-zA-Z]+[^\\s/\u0026gt;]*(\\s|$|/?\u003e))","while":"^(?!\\s*$)","patterns":[{}]},{"begin":"((?!.*`\\|)(?:^|\\G))\\s*(?=(\u003c[a-zA-Z0-9\\-](/?\u003e|\\s.*?\u003e)|\u003c/[a-zA-Z0-9\\-]\u003e)\\s*$)","while":"^(?!\\s*$)","patterns":[{}]}]},"image-inline":{"name":"meta.image.inline.markdown","match":"(?x)\n (\\!\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (\u003c?)(\\S+?)(\u003e?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n","captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"10":{"name":"punctuation.definition.string.markdown"},"11":{"name":"punctuation.definition.string.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.markdown"},"14":{"name":"punctuation.definition.string.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.markdown"},"17":{"name":"punctuation.definition.string.markdown"},"18":{"name":"punctuation.definition.metadata.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"6":{"name":"punctuation.definition.link.markdown"},"7":{"name":"markup.underline.link.image.markdown"},"8":{"name":"punctuation.definition.link.markdown"},"9":{"name":"string.other.link.description.title.markdown"}}},"image-ref":{"name":"meta.image.reference.markdown","match":"(\\!\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])[ ]?(\\[)(.*?)(\\])","captures":{"1":{"name":"punctuation.definition.link.description.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.link.description.end.markdown"},"5":{"name":"punctuation.definition.constant.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.markdown"}}},"inline":{"patterns":[{"include":"#ampersand"},{"include":"#bracket"},{"include":"#bold"},{"include":"#italic"},{"include":"#raw"},{"include":"#strikethrough"},{"include":"#escape"},{"include":"#image-inline"},{"include":"#image-ref"},{"include":"#link-email"},{"include":"#link-inet"},{"include":"#link-inline"},{"include":"#link-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref-shortcut"}]},"italic":{"name":"markup.italic.markdown","begin":"(?x) (?\u003copen\u003e(\\*(?=\\w)|(?\u003c!\\w)\\*|(?\u003c!\\w)\\b_))(?=\\S) # Open\n (?=\n (\n \u003c[^\u003e]*+\u003e # HTML tags\n | (?\u003craw\u003e`+)([^`]|(?!(?\u003c!`)\\k\u003craw\u003e(?!`))`)*+\\k\u003craw\u003e\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\-\u003e]?+ # Escapes\n | \\[\n (\n (?\u003csquare\u003e # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g\u003csquare\u003e*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whtiespace\n \u003c?(.*?)\u003e? # URL\n [ \\t]*+ # Optional whtiespace\n ( # Optional Title\n (?\u003ctitle\u003e['\"])\n (.*?)\n \\k\u003ctitle\u003e\n )?\n \\)\n )\n )\n )\n | \\k\u003copen\u003e\\k\u003copen\u003e # Must be bold closer\n | (?!(?\u003c=\\S)\\k\u003copen\u003e). # Everything besides\n # style closer\n )++\n (?\u003c=\\S)(?=_\\b|\\*)\\k\u003copen\u003e # Close\n )\n","end":"(?\u003c=\\S)(\\1)((?!\\1)|(?=\\1\\1))","patterns":[{"begin":"(?=\u003c[^\u003e]*?\u003e)","end":"(?\u003c=\u003e)","patterns":[{}],"applyEndPatternLast":true},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"},{"include":"#strikethrough"}],"captures":{"1":{"name":"punctuation.definition.italic.markdown"}}},"link-def":{"name":"meta.link.reference.def.markdown","match":"(?x)\n \\s* # Leading whitespace\n (\\[)([^]]+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (?:(\u003c)([^\\\u003e]+?)(\u003e)|(\\S+?)) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n","captures":{"1":{"name":"punctuation.definition.constant.markdown"},"10":{"name":"punctuation.definition.string.begin.markdown"},"11":{"name":"punctuation.definition.string.end.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.begin.markdown"},"14":{"name":"punctuation.definition.string.end.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.begin.markdown"},"17":{"name":"punctuation.definition.string.end.markdown"},"2":{"name":"constant.other.reference.link.markdown"},"3":{"name":"punctuation.definition.constant.markdown"},"4":{"name":"punctuation.separator.key-value.markdown"},"5":{"name":"punctuation.definition.link.markdown"},"6":{"name":"markup.underline.link.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"markup.underline.link.markdown"},"9":{"name":"string.other.link.description.title.markdown"}}},"link-email":{"name":"meta.link.email.lt-gt.markdown","match":"(\u003c)((?:mailto:)?[a-zA-Z0-9.!#$%\u0026'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)(\u003e)","captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"4":{"name":"punctuation.definition.link.markdown"}}},"link-inet":{"name":"meta.link.inet.markdown","match":"(\u003c)((?:https?|ftp)://.*?)(\u003e)","captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"3":{"name":"punctuation.definition.link.markdown"}}},"link-inline":{"name":"meta.link.inline.markdown","match":"(?x)\n (\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (\u003c?)((?\u003curl\u003e(?\u003e[^\\s()]+)|\\(\\g\u003curl\u003e*\\))*)(\u003e?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n","captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"10":{"name":"string.other.link.description.title.markdown"},"11":{"name":"punctuation.definition.string.begin.markdown"},"12":{"name":"punctuation.definition.string.end.markdown"},"13":{"name":"string.other.link.description.title.markdown"},"14":{"name":"punctuation.definition.string.begin.markdown"},"15":{"name":"punctuation.definition.string.end.markdown"},"16":{"name":"string.other.link.description.title.markdown"},"17":{"name":"punctuation.definition.string.begin.markdown"},"18":{"name":"punctuation.definition.string.end.markdown"},"19":{"name":"punctuation.definition.metadata.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"6":{"name":"punctuation.definition.link.markdown"},"7":{"name":"markup.underline.link.markdown"},"9":{"name":"punctuation.definition.link.markdown"}}},"link-ref":{"name":"meta.link.reference.markdown","match":"(\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])(\\[)([^\\]]*+)(\\])","captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.end.markdown"}}},"link-ref-literal":{"name":"meta.link.reference.literal.markdown","match":"(\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])[ ]?(\\[)(\\])","captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.link.title.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"punctuation.definition.constant.end.markdown"}}},"link-ref-shortcut":{"name":"meta.link.reference.markdown","match":"(\\[)(\\S+?)(\\])","captures":{"1":{"name":"punctuation.definition.link.title.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"3":{"name":"punctuation.definition.link.title.end.markdown"}}},"list_paragraph":{"name":"meta.paragraph.markdown","begin":"((?!.*`\\|)(?:^|\\G))(?=\\S)(?![*+-\u003e]\\s|[0-9]+\\.\\s)","while":"((?!.*`\\|)(?:^|\\G))(?!\\s*$|#|\\s*([-*_\u003e]\\s*){3,}[ \\t]*$\\n?|[ ]{0,3}[*+-\u003e]|[ ]{0,3}[0-9]+\\.)","patterns":[{"include":"#inline"},{},{"include":"#heading-setext"}]},"lists":{"patterns":[{"name":"markup.list.unnumbered.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)([*+-])([ \\t])","while":"(((?!.*`\\|)(?:^|\\G))(\\s*|\\t))|(^[ \\t]*$)","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}}},{"name":"markup.list.numbered.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*)([0-9]+\\.)([ \\t])","while":"(((?!.*`\\|)(?:^|\\G))(\\s*|\\t))|(^[ \\t]*$)","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}}}]},"raw":{"name":"markup.inline.raw.string.markdown","match":"(`+)((?:[^`]|(?!(?\u003c!`)\\1(?!`))`)*+)(\\1)","captures":{"1":{"name":"punctuation.definition.raw.markdown"},"3":{"name":"punctuation.definition.raw.markdown"}}},"raw_block":{"name":"markup.raw.block.markdown","begin":"((?!.*`\\|)(?:^|\\G))(\\s*|\\t)","while":"((?!.*`\\|)(?:^|\\G))(\\s*|\\t)"},"separator":{"name":"meta.separator.markdown","match":"((?!.*`\\|)(?:^|\\G))\\s*([\\*\\-\\_])(\\s*\\2){2,}[ \\t]*$\\n?"},"strikethrough":{"name":"markup.strikethrough.markdown","match":"(~+)((?:[^~]|(?!(?\u003c!~)\\1(?!~))~)*+)(\\1)","captures":{"1":{"name":"punctuation.definition.strikethrough.markdown"},"2":{"patterns":[{"begin":"(?=\u003c[^\u003e]*?\u003e)","end":"(?\u003c=\u003e)","patterns":[{}],"applyEndPatternLast":true},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"}]},"3":{"name":"punctuation.definition.strikethrough.markdown"}}}}}
|