github-linguist 7.25.0 → 7.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +14 -17
  3. data/ext/linguist/lex.linguist_yy.h +2 -2
  4. data/ext/linguist/tokenizer.l +0 -1
  5. data/grammars/inline.graphql.scala.json +1 -0
  6. data/grammars/markdown.curry.codeblock.json +1 -1
  7. data/grammars/markdown.d2.codeblock.json +1 -0
  8. data/grammars/markdown.talon.codeblock.json +1 -0
  9. data/grammars/source.abap.json +1 -1
  10. data/grammars/source.abl.json +1 -1
  11. data/grammars/source.acucobol.json +1 -1
  12. data/grammars/source.aidl.json +1 -1
  13. data/grammars/source.apex.json +1 -0
  14. data/grammars/source.astro.json +1 -1
  15. data/grammars/source.ballerina.json +1 -1
  16. data/grammars/source.bicep.json +1 -1
  17. data/grammars/source.brs.json +1 -1
  18. data/grammars/source.bsl.json +1 -1
  19. data/grammars/source.cds.json +1 -1
  20. data/grammars/source.clar.json +1 -1
  21. data/grammars/source.cobol.json +1 -1
  22. data/grammars/source.cs.json +1 -1
  23. data/grammars/source.d2.json +1 -0
  24. data/grammars/source.dart.json +1 -1
  25. data/grammars/source.denizenscript.json +1 -1
  26. data/grammars/source.did.json +1 -0
  27. data/grammars/source.directivesmf.json +1 -0
  28. data/grammars/source.dm.json +1 -1
  29. data/grammars/source.earthfile.json +1 -1
  30. data/grammars/source.emacs.lisp.json +1 -1
  31. data/grammars/source.fsharp.json +1 -1
  32. data/grammars/source.gfm.blade.json +1 -1
  33. data/grammars/source.gleam.json +1 -1
  34. data/grammars/source.igor.json +1 -1
  35. data/grammars/source.julia.json +1 -1
  36. data/grammars/source.kotlin.json +1 -1
  37. data/grammars/source.lolcode.json +1 -0
  38. data/grammars/source.matlab.json +1 -1
  39. data/grammars/source.mdx.json +1 -0
  40. data/grammars/source.mo.json +1 -1
  41. data/grammars/source.move.json +1 -1
  42. data/grammars/source.nasal.json +1 -0
  43. data/grammars/source.nim.json +1 -1
  44. data/grammars/source.nushell.json +1 -0
  45. data/grammars/source.pact.json +1 -0
  46. data/grammars/source.pddl.json +1 -1
  47. data/grammars/source.pic.json +1 -1
  48. data/grammars/source.pnlgrp.json +1 -1
  49. data/grammars/source.prisma.json +1 -1
  50. data/grammars/source.ql.json +1 -1
  51. data/grammars/source.raku.json +1 -1
  52. data/grammars/source.rbs.json +1 -0
  53. data/grammars/source.rescript.json +1 -1
  54. data/grammars/source.rez.json +1 -0
  55. data/grammars/source.rmcobol.json +1 -0
  56. data/grammars/source.rpgle.json +1 -1
  57. data/grammars/source.scala.json +1 -1
  58. data/grammars/source.scenic.json +1 -1
  59. data/grammars/source.smithy.json +1 -1
  60. data/grammars/source.solidity.json +1 -1
  61. data/grammars/source.soql.json +1 -0
  62. data/grammars/source.stan.json +1 -1
  63. data/grammars/source.talon.json +1 -1
  64. data/grammars/source.tlverilog.json +1 -0
  65. data/grammars/source.toc.json +1 -1
  66. data/grammars/source.ts.json +1 -1
  67. data/grammars/source.tsx.json +1 -1
  68. data/grammars/source.turtle.json +1 -1
  69. data/grammars/source.typst.json +1 -0
  70. data/grammars/source.vba.json +1 -0
  71. data/grammars/source.vyper.json +1 -1
  72. data/grammars/source.wgsl.json +1 -0
  73. data/grammars/source.wit.json +1 -0
  74. data/grammars/source.wwb.json +1 -0
  75. data/grammars/source.yul.json +1 -1
  76. data/grammars/text.adblock.json +1 -1
  77. data/grammars/text.haml.json +1 -1
  78. data/grammars/text.hash-commented.json +1 -1
  79. data/grammars/text.html.markdown.d2.json +1 -0
  80. data/grammars/text.marko.json +1 -1
  81. data/grammars/text.md.json +1 -0
  82. data/grammars/text.pseudoxml.json +1 -0
  83. data/grammars/text.tex.latex.sweave.json +1 -0
  84. data/grammars/text.xml.svg.json +1 -1
  85. data/grammars/version +1 -1
  86. data/lib/linguist/VERSION +1 -1
  87. data/lib/linguist/generated.rb +10 -0
  88. data/lib/linguist/heuristics.rb +2 -0
  89. data/lib/linguist/heuristics.yml +83 -42
  90. data/lib/linguist/languages.json +1 -1
  91. data/lib/linguist/languages.yml +203 -19
  92. data/lib/linguist/samples.json +1 -1
  93. data/lib/linguist/vendor.yml +4 -1
  94. metadata +39 -16
  95. data/grammars/source.gfm.json +0 -1
  96. data/grammars/source.nim_filter.json +0 -1
  97. data/grammars/source.nimcfg.json +0 -1
@@ -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":"typst","scopeName":"source.typst","patterns":[{"include":"#markup"}],"repository":{"arguments":{"patterns":[{"name":"variable.parameter.typst","match":"\\b[[:alpha:]_][[:alnum:]_-]*(?=:)"},{"include":"#code"}]},"code":{"patterns":[{"include":"#common"},{"name":"meta.block.code.typst","begin":"{","end":"}","patterns":[{"include":"#code"}],"captures":{"0":{"name":"punctuation.definition.block.code.typst"}}},{"name":"meta.block.content.typst","begin":"\\[","end":"\\]","patterns":[{"include":"#markup"}],"captures":{"0":{"name":"punctuation.definition.block.content.typst"}}},{"name":"comment.line.double-slash.typst","begin":"//","end":"\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}}},{"name":"punctuation.separator.colon.typst","match":":"},{"name":"punctuation.separator.comma.typst","match":","},{"name":"keyword.operator.typst","match":"=\u003e|\\.\\."},{"name":"keyword.operator.relational.typst","match":"==|!=|\u003c=|\u003c|\u003e=|\u003e"},{"name":"keyword.operator.assignment.typst","match":"\\+=|-=|\\*=|/=|="},{"name":"keyword.operator.arithmetic.typst","match":"\\+|\\|/|(?\u003c![[:alpha:]])(?\u003c!\\w)(?\u003c!\\d)-(?![[:alnum:]-][[:alpha:]_])"},{"name":"keyword.operator.word.typst","match":"\\b(and|or|not)\\b"},{"name":"keyword.other.typst","match":"\\b(let|as|in|set|show)\\b"},{"name":"keyword.control.conditional.typst","match":"\\b(if|else)\\b"},{"name":"keyword.control.loop.typst","match":"\\b(for|while|break|continue)\\b"},{"name":"keyword.control.import.typst","match":"\\b(import|include|export)\\b"},{"name":"keyword.control.flow.typst","match":"\\b(return)\\b"},{"include":"#constants"},{"name":"entity.name.function.typst","match":"\\b[[:alpha:]_][[:alnum:]_-]*!?(?=\\[|\\()"},{"name":"entity.name.function.typst","match":"(?:\\bshow\\s*\\b([[:alpha:]][[:alnum:]-])(?=\\s[:.]))"},{"begin":"(?:\\b([[:alpha:]][[:alnum:]-]*!?)\\()","end":"\\)","patterns":[{"include":"#arguments"}],"captures":{"0":{"name":"punctuation.definition.group.typst"}}},{"name":"variable.other.typst","match":"\\b[[:alpha:]_][[:alnum:]_-]*\\b"},{"name":"meta.group.typst","begin":"\\(","end":"\\)|(?=;)","patterns":[{"include":"#code"}],"captures":{"0":{"name":"punctuation.definition.group.typst"}}}]},"comments":{"patterns":[{"name":"comment.block.typst","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments"}],"captures":{"0":{"name":"punctuation.definition.comment.typst"}}},{"name":"comment.line.double-slash.typst","begin":"(?\u003c!:)//","end":"\n","patterns":[{"include":"#comments"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}}}]},"common":{"patterns":[{"include":"#comments"}]},"constants":{"patterns":[{"name":"constant.language.none.typst","match":"\\bnone\\b"},{"name":"constant.language.auto.typst","match":"\\bauto\\b"},{"name":"constant.language.boolean.typst","match":"\\b(true|false)\\b"},{"name":"constant.numeric.length.typst","match":"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?(mm|pt|cm|in|em)\\b"},{"name":"constant.numeric.angle.typst","match":"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?(rad|deg)\\b"},{"name":"constant.numeric.percentage.typst","match":"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?%"},{"name":"constant.numeric.fr.typst","match":"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?fr"},{"name":"constant.numeric.integer.typst","match":"\\b\\d+\\b"},{"name":"constant.numeric.float.typst","match":"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?\\b"},{"name":"string.quoted.double.typst","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.string.typst","match":"\\\\([\\\\\"nrt]|u\\{?[0-9a-zA-Z]*\\}?)"}],"captures":{"0":{"name":"punctuation.definition.string.typst"}}},{"name":"string.other.math.typst","begin":"\\$","end":"\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}}}]},"markup":{"patterns":[{"include":"#common"},{"name":"constant.character.escape.content.typst","match":"\\\\([\\\\/\\[\\]{}#*_=~`$-.]|u\\{[0-9a-zA-Z]*\\}?)"},{"name":"punctuation.definition.linebreak.typst","match":"\\\\"},{"name":"punctuation.definition.nonbreaking-space.typst","match":"~"},{"name":"punctuation.definition.shy.typst","match":"-\\?"},{"name":"punctuation.definition.em-dash.typst","match":"---"},{"name":"punctuation.definition.en-dash.typst","match":"--"},{"name":"punctuation.definition.ellipsis.typst","match":"\\.\\.\\."},{"name":"constant.symbol.typst","match":":([a-zA-Z0-9]+:)+"},{"name":"markup.bold.typst","begin":"(^\\*|\\*$|((?\u003c=\\W|_)\\*)|(\\*(?=\\W|_)))","end":"(^\\*|\\*$|((?\u003c=\\W|_)\\*)|(\\*(?=\\W|_)))|\n|(?=\\])","patterns":[{"include":"#markup"}],"captures":{"0":{"name":"punctuation.definition.bold.typst"}}},{"name":"markup.italic.typst","begin":"(^_|_$|((?\u003c=\\W|_)_)|(_(?=\\W|_)))","end":"(^_|_$|((?\u003c=\\W|_)_)|(_(?=\\W|_)))|\n|(?=\\])","patterns":[{"include":"#markup"}],"captures":{"0":{"name":"punctuation.definition.italic.typst"}}},{"name":"markup.underline.link.typst","match":"https?://[0-9a-zA-Z~/%#\u0026=',;\\.\\+\\?]*"},{"name":"markup.raw.block.typst","begin":"`{3,}","end":"\\0","captures":{"0":{"name":"punctuation.definition.raw.typst"}}},{"name":"markup.raw.inline.typst","begin":"`","end":"`","captures":{"0":{"name":"punctuation.definition.raw.typst"}}},{"name":"string.other.math.typst","begin":"\\$","end":"\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}}},{"name":"markup.heading.typst","contentName":"entity.name.section.typst","begin":"^\\s*=+\\s+","end":"\n|(?=\u003c)","patterns":[{"include":"#markup"}],"beginCaptures":{"0":{"name":"punctuation.definition.heading.typst"}}},{"name":"punctuation.definition.list.unnumbered.typst","match":"^\\s*-\\s+"},{"name":"punctuation.definition.list.numbered.typst","match":"^\\s*([0-9]*\\.|\\+)\\s+"},{"match":"^\\s*(/)\\s+([^:]*:)","captures":{"1":{"name":"punctuation.definition.list.description.typst"},"2":{"name":"markup.list.term.typst"}}},{"name":"entity.other.label.typst","match":"\u003c[[:alpha:]_][[:alnum:]_-]*\u003e","captures":{"1":{"name":"punctuation.definition.label.typst"}}},{"name":"entity.other.reference.typst","match":"(@)[[:alpha:]_][[:alnum:]_-]*","captures":{"1":{"name":"punctuation.definition.reference.typst"}}},{"begin":"(#)(let|set|show)\\b","end":"\n|(;)|(?=])","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"keyword.other.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}}},{"name":"keyword.other.typst","match":"(#)(as|in)\\b","captures":{"1":{"name":"punctuation.definition.keyword.typst"}}},{"begin":"(?:(#)if|(?:}(?:\\s*)|](?:\\s*))else)\\b","end":"\n|(?=])|(?\u003c=}|])","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"keyword.control.conditional.typst"},"2":{"name":"punctuation.definition.keyword.typst"}}},{"begin":"(#)(for|while)\\b","end":"\n|(?=])|(?\u003c=}|])","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"keyword.control.loop.typst"},"1":{"name":"punctuation.definition.keyword.typst"}}},{"name":"keyword.control.loop.typst","match":"(#)(break|continue)\\b","captures":{"1":{"name":"punctuation.definition.keyword.typst"}}},{"begin":"(#)(import|include|export)\\b","end":"\n|(;)|(?=])","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"keyword.control.import.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}}},{"name":"keyword.control.flow.typst","match":"(#)(return)\\b","captures":{"1":{"name":"punctuation.definition.keyword.typst"}}},{"name":"entity.name.function.typst","match":"((#)[[:alpha:]_][[:alnum:]_-]*!?)(?=\\[|\\()","captures":{"2":{"name":"punctuation.definition.function.typst"}}},{"begin":"(?:#)([[A-Za-z]_][[0-9]_-]*!?(?=\\())\\(","end":"\\)","patterns":[{"include":"#arguments"}],"captures":{"0":{"name":"punctuation.definition.group.typst"}}},{"name":"entity.other.interpolated.typst","match":"(#)[[:alpha:]_][.[:alnum:]_-]*","captures":{"1":{"name":"punctuation.definition.variable.typst"}}},{"name":"meta.block.content.typst","begin":"#","end":"\\s","patterns":[{"include":"#code"}]}]}}}
@@ -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)|(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|Static)\\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][a-zA-Z0-9_]*)","captures":{"1":{"name":"support.type"}}}]}}}
@@ -1 +1 @@
1
- {"name":"Vyper","scopeName":"source.vyper","patterns":[{"name":"comment","match":"\\#.*"},{"name":"comment","begin":"(\\\"\\\"\\\")","end":"(\\\"\\\"\\\")"},{"name":"keyword.control","match":"\\b(event|indexed)\\b"},{"name":"keyword.control","match":"\\b(contract|interface|library|using|struct|constructor|modifier)(\\s+[A-Za-z_]\\w*)?(?:\\s+is\\s+((?:[A-Za-z_][\\,\\s]*)*))?\\b","captures":{"2":{"name":"entity.name.function"},"3":{"name":"entity.name.function"}}},{"name":"keyword","match":"\\b(def)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"},"3":{"name":"entity.name.function"}}},{"name":"constant.language","match":"\\b(True|False)\\b"},{"name":"markup.italic","match":"\\bself\\b"},{"name":"support.type","match":"\\b(address(?:\\s+payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\b"},{"name":"keyword.control","match":"\\b(import|constant|map|raise|payable|storage|memory|calldata|if|else|for|while|do|break|continue|return|private|public|immutable|pure|view|internal|external|this|suicide|selfdestruct|delegatecall|emit|new|is|throw|revert|assert|require|\\_)\\b"},{"name":"keyword","match":"\\b(not|and|or|pass|from|import|as)\\b"},{"name":"markup.italic","match":"(@[A-Za-z_]\\w*)\\b"},{"name":"keyword.operator","match":"(=|!|\u003e|\u003c|\\||\u0026|\\?|\\^|~|\\*|\\+|\\-|\\/|\\%|\\bhex\\b)"},{"match":"\\b(msg|block|tx)\\.([A-Za-z_]\\w*)\\b","captures":{"1":{"name":"support.type"},"2":{"name":"support.type"}}},{"match":"\\b(blockhash|gasleft)\\s*\\(","captures":{"1":{"name":"markup.italic"}}},{"match":"\\b([A-Za-z_]\\w*)(?:\\[(\\d*)\\])?(?:\\[(\\d*)\\])?\\(","captures":{"1":{"name":"entity.name.function"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"}}},{"name":"string.quoted","match":"([\\\"\\'].*?[\\\"\\'])"},{"name":"constant.numeric","match":"\\b(?:[+-]?\\.?\\d[\\d_eE]*)(?:\\.\\d+[\\deE]*)?\\b"},{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9]+)\\b"}]}
1
+ {"name":"Vyper","scopeName":"source.vyper","patterns":[{"name":"comment","match":"\\#.*"},{"name":"comment","begin":"(\\\"\\\"\\\")","end":"(\\\"\\\"\\\")"},{"name":"keyword.control","match":"\\b(event|indexed)\\b"},{"name":"keyword.control","match":"\\b(contract|interface|library|using|struct|constructor|modifier)(\\s+[A-Za-z_]\\w*)?(?:\\s+is\\s+((?:[A-Za-z_][\\,\\s]*)*))?\\b","captures":{"2":{"name":"entity.name.function"},"3":{"name":"entity.name.function"}}},{"name":"keyword","match":"\\b(def)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"},"3":{"name":"entity.name.function"}}},{"name":"constant.language","match":"\\b(True|False)\\b"},{"name":"markup.italic","match":"\\bself\\b"},{"name":"support.type","match":"\\b(address(?:\\s+payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\b"},{"name":"keyword.control","match":"\\b(import|constant|map|raise|payable|storage|memory|calldata|if|else|for|while|do|break|continue|return|private|public|immutable|pure|view|internal|external|this|suicide|selfdestruct|delegatecall|emit|new|is|throw|revert|assert|require|\\_)\\b"},{"name":"keyword","match":"\\b(not|and|or|pass|from|import|as)\\b"},{"name":"markup.italic","match":"(@[A-Za-z_]\\w*)\\b"},{"name":"keyword.operator","match":"(=|!|\u003e|\u003c|\\||\u0026|\\?|\\^|~|\\*|\\+|\\-|\\/|\\%|\\bhex\\b)"},{"match":"\\b(msg|block|tx)\\.([A-Za-z_]\\w*)\\b","captures":{"1":{"name":"support.type"},"2":{"name":"support.type"}}},{"match":"\\b(blockhash|gasleft)\\s*\\(","captures":{"1":{"name":"markup.italic"}}},{"match":"\\b([A-Za-z_]\\w*)(?:\\[(\\d*)\\])?(?:\\[(\\d*)\\])?\\(","captures":{"1":{"name":"entity.name.function"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"}}},{"name":"constant.numeric","match":"\\b(?:[+-]?\\.?\\d[\\d_eE]*)(?:\\.\\d+[\\deE]*)?\\b"},{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9]+)\\b"},{"name":"string.quoted","begin":"(?\u003c!\\\\)[\\\"\\']","end":"(?\u003c!\\\\)[\\\"\\']","patterns":[{"include":"#string"}]}],"repository":{"string":{"patterns":[{"name":"constant.character.escape","match":"\\\\\""},{"name":"constant.character.escape","match":"\\\\'"},{"name":"string.quoted","match":"."}]}}}
@@ -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":"#package"},{"include":"#toplevel-use"},{"include":"#world"},{"include":"#interface"},{"include":"#whitespace"}],"repository":{"block-comments":{"patterns":[{"name":"comment.block.empty.wit","match":"/\\*\\*/"},{"name":"comment.block.documentation.wit","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#block-comments"},{"include":"#markdown"},{"include":"#whitespace"}],"applyEndPatternLast":true},{"name":"comment.block.wit","begin":"/\\*(?!\\*)","end":"\\*/","patterns":[{"include":"#block-comments"},{"include":"#whitespace"}],"applyEndPatternLast":true}]},"boolean":{"name":"entity.name.type.boolean.wit","match":"\\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","begin":"^\\s*///","end":"$","patterns":[{"include":"#markdown"}]},"enum":{"name":"meta.enum-items.wit","begin":"\\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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#enum-cases"},{"include":"#whitespace"}],"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":"\\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":"(\\,)"},{"include":"#whitespace"}]},"extern":{"name":"meta.extern-type.wit","patterns":[{"name":"meta.interface-type.wit","patterns":[{"begin":"\\b(interface)\\b\\s*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#interface-items"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.other.interface.interface-type.wit"},"2":{"name":"ppunctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true}]},{"include":"#function-definition"},{"include":"#use-path"}]},"flags":{"name":"meta.flags-items.wit","begin":"\\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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#flags-fields"},{"include":"#whitespace"}],"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":"\\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":"(\\,)"},{"include":"#whitespace"}]},"function":{"name":"meta.func-item.wit","begin":"\\b%?((?\u003c![\\-\\w])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*)(([\\-])([a-z][0-9a-z]*|[A-Z][0-9A-Z]*))*)\\s*(\\:)","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#function-definition"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"entity.name.function.id.func-item.wit"},"2":{"name":"meta.word.wit"},"4":{"name":"meta.word-separator.wit"},"5":{"name":"meta.word.wit"},"6":{"name":"keyword.operator.key-value.wit"}},"applyEndPatternLast":true},"function-definition":{"name":"meta.func-type.wit","patterns":[{"name":"meta.function.wit","begin":"\\b(static\\s+)?(func)\\b","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#comment"},{"include":"#parameter-list"},{"include":"#result-list"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"storage.modifier.static.func-item.wit"},"2":{"name":"keyword.other.func.func-type.wit"}},"applyEndPatternLast":true}]},"handle":{"name":"meta.handle.ty.wit","match":"\\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)","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":"\\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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#interface-items"},{"include":"#whitespace"}],"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"}},"applyEndPatternLast":true},"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":"\\b(list)\\b(\\\u003c)","end":"(\\\u003e)","patterns":[{"include":"#comment"},{"name":"meta.types.list.wit","include":"#types"},{"include":"#whitespace"}],"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},"markdown":{"patterns":[{"match":"\\G\\s*(#+.*)$","captures":{"1":{"name":"markup.heading.markdown"}}},{"match":"\\G\\s*((\\\u003e)\\s+)+","captures":{"2":{"name":"punctuation.definition.quote.begin.markdown"}}},{"match":"\\G\\s*(\\-)\\s+","captures":{"1":{"name":"punctuation.definition.list.begin.markdown"}}},{"match":"\\G\\s*(([0-9]+\\.)\\s+)","captures":{"1":{"name":"markup.list.numbered.markdown"},"2":{"name":"punctuation.definition.list.begin.markdown"}}},{"match":"(`.*?`)","captures":{"1":{"name":"markup.italic.markdown"}}},{"match":"\\b(__.*?__)","captures":{"1":{"name":"markup.bold.markdown"}}},{"match":"\\b(_.*?_)","captures":{"1":{"name":"markup.italic.markdown"}}},{"match":"(\\*\\*.*?\\*\\*)","captures":{"1":{"name":"markup.bold.markdown"}}},{"match":"(\\*.*?\\*)","captures":{"1":{"name":"markup.italic.markdown"}}}]},"named-type-list":{"name":"meta.named-type-list.wit","begin":"\\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*(\\:)","end":"((\\,)|(?=\\))|(?=\\n))","patterns":[{"include":"#comment"},{"include":"#types"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"variable.parameter.id.named-type.wit"},"6":{"name":"keyword.operator.key-value.wit"}},"endCaptures":{"2":{"name":"punctuation.comma.wit"}},"applyEndPatternLast":true},"numeric":{"name":"entity.name.type.numeric.wit","match":"\\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":"\\b(option)\\b(\\\u003c)","end":"(\\\u003e)","patterns":[{"include":"#comment"},{"name":"meta.types.option.wit","include":"#types"},{"include":"#whitespace"}],"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},"package":{"name":"meta.package-decl.wit","match":"^(package)\\s+([^\\s]+)\\s*","captures":{"1":{"name":"storage.modifier.package-decl.wit"},"2":{"name":"meta.id.package-decl.wit","patterns":[{"name":"meta.package-identifier.wit","match":"([^\\:]+)(\\:)([^\\@]+)((\\@)([^\\s]+))?","captures":{"1":{"name":"entity.name.namespace.package-identifier.wit","patterns":[{"include":"#identifier"}]},"2":{"name":"keyword.operator.namespace.package-identifier.wit"},"3":{"name":"entity.name.type.package-identifier.wit","patterns":[{"include":"#identifier"}]},"5":{"name":"keyword.operator.versioning.package-identifier.wit"},"6":{"name":"constant.numeric.versioning.package-identifier.wit"}}}]}}},"parameter-list":{"name":"meta.param-list.wit","begin":"(\\()","end":"(\\))","patterns":[{"include":"#comment"},{"include":"#named-type-list"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"punctuation.brackets.round.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.round.end.wit"}},"applyEndPatternLast":true},"primitive":{"name":"meta.primitive.ty.wit","patterns":[{"include":"#numeric"},{"include":"#boolean"},{"include":"#string"}]},"record":{"name":"meta.record-item.wit","begin":"\\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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#record-fields"},{"include":"#whitespace"}],"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":"\\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*(\\:)","end":"((\\,)|(?=\\})|(?=\\n))","patterns":[{"include":"#comment"},{"name":"meta.types.record-fields.wit","include":"#types"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"variable.declaration.id.record-fields.wit"},"6":{"name":"keyword.operator.key-value.wit"}},"endCaptures":{"2":{"name":"punctuation.comma.wit"}},"applyEndPatternLast":true},"resource":{"name":"meta.resource-item.wit","begin":"\\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]*))*)","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#comment"},{"include":"#resource-methods"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.other.resource.wit"},"2":{"name":"entity.name.type.id.resource.wit"}},"applyEndPatternLast":true},"resource-methods":{"name":"meta.resource-methods.wit","begin":"(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"name":"meta.constructor-type.wit","begin":"\\b(constructor)\\b","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#comment"},{"include":"#parameter-list"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.other.constructor.constructor-type.wit"},"2":{"name":"punctuation.brackets.round.begin.wit"}},"applyEndPatternLast":true},{"include":"#function"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"result":{"name":"meta.result.ty.wit","begin":"\\b(result)\\b","end":"((?\u003c=\\n)|(?=\\,)|(?=\\}))","patterns":[{"include":"#comment"},{"name":"meta.inner.result.wit","begin":"(\\\u003c)","end":"(\\\u003e)","patterns":[{"include":"#comment"},{"name":"variable.other.inferred-type.result.wit","match":"(?\u003c!\\w)(\\_)(?!\\w)"},{"name":"meta.types.result.wit","include":"#types"},{"name":"punctuation.comma.wit","match":"(?\u003c!result)\\s*(\\,)"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"punctuation.brackets.angle.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.angle.end.wit"}},"applyEndPatternLast":true},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"entity.name.type.result.wit"},"2":{"name":"punctuation.brackets.angle.begin.wit"}},"applyEndPatternLast":true},"result-list":{"name":"meta.result-list.wit","begin":"(\\-\\\u003e)","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#comment"},{"include":"#types"},{"include":"#parameter-list"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.operator.arrow.skinny.wit"}},"applyEndPatternLast":true},"string":{"name":"entity.name.type.string.wit","match":"\\b(string|char)\\b"},"toplevel-use":{"name":"meta.toplevel-use-item.wit","match":"^(use)\\s+([^\\s]+)(\\s+(as)\\s+([^\\s]+))?\\s*","captures":{"1":{"name":"keyword.other.use.toplevel-use-item.wit"},"2":{"name":"meta.interface.toplevel-use-item.wit","patterns":[{"name":"entity.name.type.declaration.interface.toplevel-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":"meta.versioning.interface.toplevel-use-item.wit","match":"(\\@)((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)","captures":{"1":{"name":"keyword.operator.versioning.interface.toplevel-use-item.wit"},"2":{"name":"constant.numeric.versioning.interface.toplevel-use-item.wit"}}}]},"4":{"name":"keyword.control.as.toplevel-use-item.wit"},"5":{"name":"entity.name.type.toplevel-use-item.wit"}}},"tuple":{"name":"meta.tuple.ty.wit","begin":"\\b(tuple)\\b(\\\u003c)","end":"(\\\u003e)","patterns":[{"include":"#comment"},{"name":"meta.types.tuple.wit","include":"#types"},{"name":"punctuation.comma.wit","match":"(\\,)"},{"include":"#whitespace"}],"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":"\\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*(\\=)","end":"(?\u003c=\\n)","patterns":[{"name":"meta.types.type-item.wit","include":"#types"},{"include":"#whitespace"}],"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":"#flags"},{"include":"#enum"},{"include":"#type-definition"}]},"types":{"name":"meta.ty.wit","patterns":[{"include":"#primitive"},{"include":"#container"},{"include":"#identifier"}]},"use":{"name":"meta.use-item.wit","begin":"\\b(use)\\b\\s+([^\\s]+)(\\.)(\\{)","end":"(\\})","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":"(\\,)"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.other.use.use-item.wit"},"2":{"patterns":[{"include":"#use-path"},{"include":"#whitespace"}]},"3":{"name":"keyword.operator.namespace-separator.use-item.wit"},"4":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true},"use-path":{"name":"meta.use-path.wit","patterns":[{"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":"meta.versioning.id.use-path.wit","match":"(\\@)((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)","captures":{"1":{"name":"keyword.operator.versioning.id.use-path.wit"},"2":{"name":"constant.numeric.versioning.id.use-path.wit"}}},{"name":"keyword.operator.namespace-separator.use-path.wit","match":"\\."}]},"variant":{"name":"meta.variant.wit","begin":"\\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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"include":"#variant-cases"},{"include":"#enum-cases"},{"include":"#whitespace"}],"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":"\\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*(\\()","end":"(\\))\\s*(\\,)?","patterns":[{"name":"meta.types.variant-cases.wit","include":"#types"},{"include":"#whitespace"}],"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},"whitespace":{"name":"meta.whitespace.wit","match":"\\s+"},"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*(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"name":"meta.export-item.wit","begin":"\\b(export)\\b\\s+([^\\s]+)","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#extern"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.control.export.export-item.wit"},"2":{"name":"meta.id.export-item.wit","patterns":[{"name":"variable.other.constant.id.export-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":"meta.versioning.id.export-item.wit","match":"(\\@)((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)","captures":{"1":{"name":"keyword.operator.versioning.id.export-item.wit"},"2":{"name":"constant.numeric.versioning.id.export-item.wit"}}}]}},"applyEndPatternLast":true},{"name":"meta.import-item.wit","begin":"\\b(import)\\s+([^\\s]+)","end":"((?\u003c=\\n)|(?=\\}))","patterns":[{"include":"#extern"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.control.import.import-item.wit"},"2":{"name":"meta.id.import-item.wit","patterns":[{"name":"variable.other.id.import-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":"meta.versioning.id.import-item.wit","match":"(\\@)((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)","captures":{"1":{"name":"keyword.operator.versioning.id.import-item.wit"},"2":{"name":"constant.numeric.versioning.id.import-item.wit"}}}]}},"applyEndPatternLast":true},{"name":"meta.include-item.wit","begin":"\\b(include)\\s+([^\\s]+)\\s*","end":"(?\u003c=\\n)","patterns":[{"name":"meta.with.include-item.wit","begin":"\\b(with)\\b\\s+(\\{)","end":"(\\})","patterns":[{"include":"#comment"},{"name":"meta.include-names-item.wit","match":"([^\\s]+)\\s+(as)\\s+([^\\s\\,]+)","captures":{"1":{"name":"variable.other.id.include-names-item.wit"},"2":{"name":"keyword.control.as.include-names-item.wit"},"3":{"name":"entity.name.type.include-names-item.wit"}}},{"name":"punctuation.comma.wit","match":"(\\,)"},{"include":"#whitespace"}],"beginCaptures":{"1":{"name":"keyword.control.with.include-item.wit"},"2":{"name":"punctuation.brackets.curly.begin.wit"}},"endCaptures":{"1":{"name":"punctuation.brackets.curly.end.wit"}},"applyEndPatternLast":true}],"beginCaptures":{"1":{"name":"keyword.control.include.include-item.wit"},"2":{"name":"meta.use-path.include-item.wit","patterns":[{"include":"#use-path"}]}},"applyEndPatternLast":true},{"include":"#use"},{"include":"#typedef-item"},{"include":"#whitespace"}],"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"}},"applyEndPatternLast":true}}}
@@ -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)"}]}}}
@@ -1 +1 @@
1
- {"name":"Yul","scopeName":"source.yul","patterns":[{"name":"comment","match":"\\/\\/.*"},{"name":"comment","begin":"(\\/\\*)","end":"(\\*\\/)"},{"name":"keyword","match":"\\b(event|enum)\\s+([A-Za-z_]\\w*)\\b","captures":{"2":{"name":"entity.name.function"}}},{"name":"scope","begin":"\\b(object)\\s+(\\\"[A-Za-z_]\\w*\\\")(?:\\s+(is)\\s+)?","end":"\\{","patterns":[{"name":"string.quoted","match":"\\\"[A-Za-z_]\\w*\\\""},{"include":"#numbers"}],"beginCaptures":{"1":{"name":"keyword"},"2":{"name":"string.quoted"},"3":{"name":"keyword"}}},{"name":"keyword","match":"\\b(constructor|error|using|struct|type|modifier|fallback)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"}}},{"name":"keyword","match":"\\b(function)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"}}},{"match":"\\.(selector)\\b","captures":{"1":{"name":"markup.italic"}}},{"name":"markup.italic","match":"\\bthis\\b"},{"name":"markup.italic","match":"\\bsuper\\b"},{"match":"\\b(address(?:\\s+payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\s*(?:\\[(\\d*)\\])?\\s*(?:\\[(\\d*)\\])?\\s*(?:(indexed|memory|storage|calldata|payable|immutable)?\\s*(\\b[A-Za-z_]\\w*)?\\s*)?(?=[,\\)\\n])","captures":{"1":{"name":"constant.language"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"},"4":{"name":"keyword"},"5":{"name":"variable.parameter"}}},{"match":"\\b(?:(indexed|memory|storage|calldata|payable|immutable)\\s*(\\b[A-Za-z_]\\w*)?\\s*)(?=[,\\)\\n])","captures":{"1":{"name":"keyword"},"2":{"name":"variable.parameter"}}},{"name":"constant.language","match":"\\b(true|false)\\b"},{"match":"\\b(address(?:\\s*payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\b(?:(?:\\s*\\[(\\d*)\\])?(?:\\s*\\[(\\d*)\\])?(?:\\s*\\[(\\d*)\\])?\\s*((?:private\\s|public\\s|internal\\s|external\\s|constant\\s|immutable\\s|memory\\s|storage\\s)*)\\s*(?:[A-Za-z_]\\w*)\\s*(\\=))?","captures":{"1":{"name":"constant.language"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"},"4":{"name":"constant.numeric"},"5":{"name":"keyword"},"6":{"name":"keyword"}}},{"match":"\\b(payable)\\s*\\(","captures":{"1":{"name":"constant.language"}}},{"match":"\\b(from)\\s*(?=[\\'\\\"])","captures":{"1":{"name":"keyword"}}},{"match":"\\b(?:[A-Za-z_]\\w*)\\s+(as)\\s+(?:[A-Za-z_]\\w*)","captures":{"1":{"name":"keyword"}}},{"match":"\\b(global);","captures":{"1":{"name":"keyword"}}},{"name":"keyword","match":"\\b(var|solidity|constant|pragma\\s*(?:experimental|abicoder)?|code|data|hex|import|const|mstruct|mapping|payable|storage|memory|calldata|if|else|for|while|do|break|continue|returns?|try|catch|private|public|pure|view|internal|immutable|external|virtual|override|abstract|suicide|emit|is|throw|revert|assert|require|receive|delete)\\b"},{"include":"#numbers"},{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9]+)\\b"},{"name":"keyword.operator","match":"(=|:=|!|\u003e|\u003c|\\||\u0026|\\?|\\^|~|\\*|\\+|\\-|\\/|\\%)"},{"name":"markup.italic","match":"(\\bhex\\b|\\bunicode\\b)"},{"name":"keyword.operator","match":"\\s\\:\\s"},{"name":"support.type","match":"\\bnow\\b"},{"name":"keyword","match":"\\b_;"},{"match":"\\b(msg|block|tx)\\.([A-Za-z_]\\w*)\\b","captures":{"1":{"name":"support.type"},"2":{"name":"support.type"}}},{"name":"support.type","match":"\\b(abi)\\.([A-Za-z_]\\w*)\\b"},{"match":"\\b(blockhash|gasleft)\\s*\\(","captures":{"1":{"name":"support.type"}}},{"match":"\\b([A-Za-z_]\\w*)(?:\\s*\\[(\\d*)\\]\\s*)?(?:\\s*\\[(\\d*)\\]\\s*)?\\(","captures":{"1":{"name":"entity.name.function"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"}}},{"match":"(?:\\.|(new\\s+))([A-Za-z_]\\w*)\\{","captures":{"1":{"name":"keyword"},"2":{"name":"entity.name.function"}}},{"match":"\\b(wei|gwei|ether|seconds|minutes|hours|days|weeks)\\b","captures":{"1":{"name":"support.type"}}},{"name":"keyword","match":"\\bnew\\b"},{"name":"keyword","match":"\\banonymous\\b"},{"name":"keyword","match":"\\bunchecked\\b"},{"name":"keyword","match":"\\b(assembly|switch|let|case|default)\\b"},{"name":"string.quoted","match":"([\\\"].*?[\\\"])"},{"name":"string.quoted","match":"([\\'].*?[\\'])"}],"repository":{"numbers":{"patterns":[{"name":"constant.numeric","match":"\\b(?:[+-]?\\.?\\d[\\d_eE]*)(?:\\.\\d+[\\deE]*)?\\b"}]}}}
1
+ {"name":"Yul","scopeName":"source.yul","patterns":[{"name":"comment","match":"\\/\\/.*"},{"name":"comment","begin":"(\\/\\*)","end":"(\\*\\/)"},{"name":"keyword","match":"\\b(event|enum)\\s+([A-Za-z_]\\w*)\\b","captures":{"2":{"name":"entity.name.function"}}},{"name":"scope","begin":"\\b(object)\\s+(\\\"[A-Za-z_]\\w*\\\")(?:\\s+(is)\\s+)?","end":"\\{","patterns":[{"name":"string.quoted","match":"\\\"[A-Za-z_]\\w*\\\""},{"include":"#numbers"}],"beginCaptures":{"1":{"name":"keyword"},"2":{"name":"string.quoted"},"3":{"name":"keyword"}}},{"name":"keyword","match":"\\b(constructor|error|using|struct|type|modifier|fallback)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"}}},{"name":"keyword","match":"\\b(function)(\\s+[A-Za-z_]\\w*)?\\b","captures":{"2":{"name":"entity.name.function"}}},{"match":"\\.(selector)\\b","captures":{"1":{"name":"markup.italic"}}},{"name":"markup.italic","match":"\\bthis\\b"},{"name":"markup.italic","match":"\\bsuper\\b"},{"match":"\\b(address(?:\\s+payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\s*(?:\\[(\\d*)\\])?\\s*(?:\\[(\\d*)\\])?\\s*(?:(indexed|memory|storage|calldata|payable|immutable)?\\s*(\\b[A-Za-z_]\\w*)?\\s*)?(?=[,\\)\\n])","captures":{"1":{"name":"constant.language"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"},"4":{"name":"keyword"},"5":{"name":"variable.parameter"}}},{"match":"\\b(?:(indexed|memory|storage|calldata|payable|immutable)\\s*(\\b[A-Za-z_]\\w*)?\\s*)(?=[,\\)\\n])","captures":{"1":{"name":"keyword"},"2":{"name":"variable.parameter"}}},{"name":"constant.language","match":"\\b(true|false)\\b"},{"match":"\\b(address(?:\\s*payable)?|string|bytes?\\d*|int\\d*|uint\\d*|bool|u?fixed\\d+x\\d+)\\b(?:(?:\\s*\\[(\\d*)\\])?(?:\\s*\\[(\\d*)\\])?(?:\\s*\\[(\\d*)\\])?\\s*((?:private\\s|public\\s|internal\\s|external\\s|constant\\s|immutable\\s|memory\\s|storage\\s)*)\\s*(?:[A-Za-z_]\\w*)\\s*(\\=))?","captures":{"1":{"name":"constant.language"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"},"4":{"name":"constant.numeric"},"5":{"name":"keyword"},"6":{"name":"keyword"}}},{"match":"\\b(payable)\\s*\\(","captures":{"1":{"name":"constant.language"}}},{"match":"\\b(from)\\s*(?=[\\'\\\"])","captures":{"1":{"name":"keyword"}}},{"match":"\\b(?:[A-Za-z_]\\w*)\\s+(as)\\s+(?:[A-Za-z_]\\w*)","captures":{"1":{"name":"keyword"}}},{"match":"\\b(global);","captures":{"1":{"name":"keyword"}}},{"name":"keyword","match":"\\b(var|solidity|constant|pragma\\s*(?:experimental|abicoder)?|code|data|hex|import|const|mstruct|mapping|payable|storage|memory|calldata|if|else|for|while|do|break|continue|returns?|try|catch|private|public|pure|view|internal|immutable|external|virtual|override|abstract|suicide|emit|is|throw|revert|assert|require|receive|delete)\\b"},{"include":"#numbers"},{"name":"constant.numeric","match":"\\b(0[xX][a-fA-F0-9]+)\\b"},{"name":"keyword.operator","match":"(=|:=|!|\u003e|\u003c|\\||\u0026|\\?|\\^|~|\\*|\\+|\\-|\\/|\\%)"},{"name":"markup.italic","match":"(\\bhex\\b|\\bunicode\\b)"},{"name":"keyword.operator","match":"\\s\\:\\s"},{"name":"support.type","match":"\\bnow\\b"},{"name":"keyword","match":"\\b_;"},{"match":"\\b(msg|block|tx)\\.([A-Za-z_]\\w*)\\b","captures":{"1":{"name":"support.type"},"2":{"name":"support.type"}}},{"name":"support.type","match":"\\b(abi)\\.([A-Za-z_]\\w*)\\b"},{"match":"\\b(blockhash|gasleft)\\s*\\(","captures":{"1":{"name":"support.type"}}},{"match":"\\b([A-Za-z_]\\w*)(?:\\s*\\[(\\d*)\\]\\s*)?(?:\\s*\\[(\\d*)\\]\\s*)?\\(","captures":{"1":{"name":"entity.name.function"},"2":{"name":"constant.numeric"},"3":{"name":"constant.numeric"}}},{"match":"(?:\\.|(new\\s+))([A-Za-z_]\\w*)\\{","captures":{"1":{"name":"keyword"},"2":{"name":"entity.name.function"}}},{"match":"\\b(wei|gwei|ether|seconds|minutes|hours|days|weeks)\\b","captures":{"1":{"name":"support.type"}}},{"name":"keyword","match":"\\bnew\\b"},{"name":"keyword","match":"\\banonymous\\b"},{"name":"keyword","match":"\\bunchecked\\b"},{"name":"keyword","match":"\\b(assembly|switch|let|case|default)\\b"},{"name":"string.quoted","begin":"(?\u003c!\\\\)[\\\"\\']","end":"(?\u003c!\\\\)[\\\"\\']","patterns":[{"include":"#string"}]}],"repository":{"numbers":{"patterns":[{"name":"constant.numeric","match":"\\b(?:[+-]?\\.?\\d[\\d_eE]*)(?:\\.\\d+[\\deE]*)?\\b"}]},"string":{"patterns":[{"name":"constant.character.escape","match":"\\\\\""},{"name":"constant.character.escape","match":"\\\\'"},{"name":"string.quoted","match":"."}]}}}
@@ -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":"\\*"}]}}}
@@ -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":[{"include":"source.gfm"}],"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"}}}]}}}
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"}}}]}}}
@@ -1 +1 @@
1
- {"name":"Generic Hash-Commented","scopeName":"text.hash-commented","patterns":[{"include":"#main"}],"repository":{"comment":{"name":"comment.line.hash-commented","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.hash-commented"}}},"content":{"name":"meta.content.hash-commented","match":"^.+$"},"main":{"patterns":[{"include":"#comment"},{"include":"#content"}]}}}
1
+ {"name":"Generic Hash-Commented","scopeName":"text.hash-commented","patterns":[{"include":"#main"}],"repository":{"comment":{"name":"comment.line.hash-commented","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.hash-commented"}}},"main":{"patterns":[{"include":"#comment"}]}}}