github-linguist 7.14.0 → 7.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/github-linguist +115 -71
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1
- data/grammars/etc.json +1 -1
- data/grammars/go.mod.json +1 -0
- data/grammars/go.sum.json +1 -0
- data/grammars/hint.haskell.json +1 -1
- data/grammars/hint.message.haskell.json +1 -1
- data/grammars/hint.type.haskell.json +1 -1
- data/grammars/markdown.bicep.codeblock.json +1 -0
- data/grammars/markdown.codeblock.proto.json +1 -0
- data/grammars/markdown.mcfunction.codeblock.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.aidl.json +1 -0
- data/grammars/source.al.json +1 -1
- data/grammars/source.angelscript.json +1 -1
- data/grammars/source.avro.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.batchfile.json +1 -1
- data/grammars/source.bc.json +1 -0
- data/grammars/source.bicep.json +1 -1
- data/grammars/source.boo.json +1 -1
- data/grammars/source.bp.json +1 -0
- data/grammars/source.cil.json +1 -0
- data/grammars/source.cirru.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csound.json +1 -1
- data/grammars/source.css.json +1 -1
- data/grammars/source.cue.json +1 -0
- data/grammars/source.cuesheet.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.dc.json +1 -0
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.dotenv.json +1 -0
- data/grammars/source.ebnf.json +1 -1
- data/grammars/source.ecl.json +1 -0
- data/grammars/source.ed.json +1 -0
- data/grammars/source.fnl.json +1 -0
- data/grammars/source.fontforge.json +1 -1
- data/grammars/source.fstar.json +1 -1
- data/grammars/source.ftl.json +1 -0
- data/grammars/source.gcode.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.haskell.json +1 -1
- data/grammars/source.hlcode.json +1 -0
- data/grammars/source.hsig.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.hy.json +1 -1
- data/grammars/source.jest.snap.json +1 -0
- data/grammars/source.jq.json +1 -1
- data/grammars/source.json.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kakscript.json +1 -0
- data/grammars/source.keyvalues.json +1 -0
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.lean.json +1 -1
- data/grammars/source.m2.json +1 -1
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mcfunction.json +1 -1
- data/grammars/source.odin.json +1 -1
- data/grammars/source.opentype.json +1 -1
- data/grammars/source.pegjs.json +1 -0
- data/grammars/source.postscript.json +1 -1
- data/grammars/source.powershell.json +1 -1
- data/grammars/source.proto.json +1 -0
- data/grammars/source.purescript.json +1 -1
- data/grammars/source.regexp.json +1 -1
- data/grammars/source.regexp.oniguruma.json +1 -0
- data/grammars/source.rego.json +1 -1
- data/grammars/source.renpy.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.sed.json +1 -1
- data/grammars/source.sepolicy.json +1 -0
- data/grammars/source.shellcheckrc.json +1 -0
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.sy.json +1 -1
- data/grammars/source.tm-properties.json +1 -0
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.viml.json +1 -1
- data/grammars/source.webassembly.json +1 -1
- data/grammars/source.ws.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.xojo.json +1 -1
- data/grammars/source.yara.json +1 -1
- data/grammars/source.yasnippet.json +1 -1
- data/grammars/source.zig.json +1 -1
- data/grammars/text.html.astro.json +1 -0
- data/grammars/text.html.markdown.astro.json +1 -0
- data/grammars/text.info.json +1 -0
- data/grammars/text.lesshst.json +1 -0
- data/grammars/text.marko.json +1 -1
- data/grammars/text.sfd.json +1 -1
- data/grammars/text.tex.latex.haskell.json +1 -1
- data/grammars/text.xml.svg.json +1 -1
- data/grammars/textmate.format-string.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/documentation.yml +1 -0
- data/lib/linguist/generated.rb +13 -0
- data/lib/linguist/heuristics.rb +6 -2
- data/lib/linguist/heuristics.yml +18 -4
- data/lib/linguist/language.rb +6 -3
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +385 -43
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/linguist.so +0 -0
- data/lib/linguist/repository.rb +7 -3
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/shebang.rb +4 -1
- data/lib/linguist/strategy/modeline.rb +4 -0
- data/lib/linguist/vendor.yml +3 -0
- metadata +36 -5
- data/grammars/source.SASLog.json +0 -1
- data/grammars/source.mcfunction-snapshot.json +0 -1
- data/grammars/source.protobuf.json +0 -1
data/grammars/source.sy.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"SyON","scopeName":"source.sy","patterns":[{"include":"#blockInnards"}],"repository":{"array":{"name":"meta.array.sy","begin":"\\[","end":"\\]","patterns":[{"include":"#main"},{"name":"string.unquoted.sy","match":"(?:[^,\\[\\]{}\u003c\u003e\"'`\\s:]|:(?=\\S))+"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket.square.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.square.sy"}}},"block":{"patterns":[{"name":"meta.block.tagged.sy","begin":"((?:[^{}\\[\\]:\\s,]|[:#](?=\\S))(?:[^:{}]|:(?=\\S)|\\\\[{:])*?)({)","end":"}","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"1":{"name":"entity.name.block.tag.label.sy"},"2":{"name":"punctuation.section.scope.block.begin.bracket.curly.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.curly.sy"}}},{"name":"meta.block.sy","begin":"{","end":"}","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"0":{"name":"punctuation.section.scope.block.begin.bracket.curly.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.curly.sy"}}}]},"blockInnards":{"patterns":[{"include":"#fieldQuotedEarly"},{"include":"#main"},{"match":"((?:[^{}\\[\\]:\\s,]|[:#](?=\\S))(?:[^:{}]|:(?=\\S)|\\\\[{:])*?)","captures":{"1":{"name":"entity.name.tag.property.sy"}}}]},"boolean":{"patterns":[{"name":"constant.language.boolean.true.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:true|yes|on|TRUE|YES|ON)\n(?=$|[\\s\\]},])"},{"name":"constant.language.boolean.false.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:false|no|off|TRUE|YES|ON)\n(?=$|[\\s\\]},])"}]},"brackets":{"name":"meta.expression.sy","begin":"\\(","end":"\\)","patterns":[{"include":"#operator"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.section.scope.block.begin.bracket.round.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.round.sy"}}},"byteArray":{"patterns":[{"name":"meta.byte-array.base64.sy","begin":"(\u003c)(base64)(:)","end":"(\u003e)\\s*([^:,}\\]]+)","patterns":[{"name":"constant.character.encoded.base64.sy","match":"[A-Za-z0-9+/=]+"},{"include":"#comment"},{"name":"invalid.illegal.character.sy","match":"[^\\s\u003e]+"}],"beginCaptures":{"1":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"},"2":{"name":"storage.modifier.encoding.base64.sy"},"3":{"name":"punctuation.separator.key-value.sy"}},"endCaptures":{"1":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"},"2":{"name":"invalid.illegal.characters.sy"}}},{"name":"meta.byte-array.base85.sy","begin":"\u003c~","end":"~\u003e","patterns":[{"name":"constant.character.encoded.base85.sy","match":"[!-uz]+"},{"name":"invalid.illegal.character.sy","match":"[^!-uz\\s~]"}],"beginCaptures":{"0":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"}},"endCaptures":{"0":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"}}},{"name":"meta.byte-array.sy","begin":"\u003c","end":"(\u003e)\\s*([^:,}\\]]+)","patterns":[{"name":"constant.numeric.integer.int.hexadecimal.hex.sy","match":"[A-Fa-f0-9]+"},{"include":"#comment"},{"name":"invalid.illegal.character.sy","match":"[^\\s\u003e]+"}],"beginCaptures":{"0":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"}},"endCaptures":{"1":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"},"2":{"name":"invalid.illegal.characters.sy"}}}]},"comma":{"name":"punctuation.separator.delimiter.comma.sy","match":","},"comment":{"patterns":[{"name":"comment.block.sy","begin":"(?:\\G|^|(?\u003c=\\s|\\xC2\\xAD|\\xAD))(#{3,})(?=\\s|$)","end":"\\1","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.sy"}}},{"name":"comment.line.number-sign.sy","begin":"(?:\\G|^|(?\u003c=\\s|\\xC2\\xAD|\\xAD))#(?=\\s|$)","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.sy"}}}]},"date":{"name":"constant.other.date.sy","match":"(?x)\n# Date\n[0-9]{4} - # Year\n[0-9]{2} - # Month\n[0-9]{2} # Day\n\n# Time\n(?:\n\t(?:T|\\s+)\n\t[0-9]{1,2} : # Hours\n\t[0-9]{1,2} : # Minutes\n\t[0-9]{1,2} # Seconds\n\t(?:\\.[0-9]+)? # Milliseconds\n\t(\\+[0-9]{4}|Z)? # Timezone\n)?\n\n# Followed by delimiter, EOL, or comment\n(?= \\s* (?:$|[,\\]}])\n| \\s+ \\#(?:$|\\s)\n)"},"escape":{"patterns":[{"name":"constant.character.escape.newline.sy","begin":"\\\\$\\s*","end":"^","beginCaptures":{"0":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)x[A-Fa-f0-9]{2}","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)u[A-Fa-f0-9]{4}","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)u({)[A-Fa-f0-9]+(})","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"},"2":{"name":"punctuation.definition.unicode-escape.begin.bracket.curly.sy"},"3":{"name":"punctuation.definition.unicode-escape.end.bracket.curly.sy"}}},{"name":"invalid.illegal.unicode-escape.sy","match":"\\\\u{[^}\"]*}"},{"name":"invalid.illegal.unicode-escape.sy","match":"\\\\u(?![A-Fa-f0-9]{4})[^\"]*"},{"name":"constant.character.escape.sy","match":"(\\\\).","captures":{"0":{"name":"punctuation.backslash.definition.escape.sy"}}}]},"escapeVerbatim":{"name":"constant.character.escape.backtick.sy","match":"``"},"expression":{"name":"meta.expression.sy","match":"(?x)\n\\G\n(\n\t(?:\\s*\\()*\n\t\\s*\n\t~? [-+]? ~?\n\t\\d\n\t[-+*/%~^\u0026|\\(\\)eE\\s.oOxXbB\\d]*\n)\n(?=\n\t\\s*\n\t(?: $\n\t| ,\n\t| \\]\n\t| \\}\n\t| (?\u003c=\\s)\\#(?=\\s|$)\n\t)\n)","captures":{"1":{"patterns":[{"include":"#brackets"},{"include":"#number"},{"include":"#operator"}]}}},"field":{"name":"meta.field.sy","begin":"(?x)\n(?:\n\t# Quoted property name\n\t(?\u003c=[:{\\[]) \\s*\n\t(?: (\"(?:[^\"\\\\]|\\\\.)*\")\n\t| ('(?:[^'\\\\]|\\\\.)*')\n\t| (`(?:[^`]|``)*+`(?!`))\n\t) \\s* (:)\n\t\n\t|\n\t\n\t# Unquoted property name\n\t([^{}\\[\\]\u003c\u003e\\s][^,]*?)\n\t(?\u003c!\\\\) (:)\n\t\n\t|\n\t\n\t# Presumably one following a multiline string\n\t(?\u003c=[\"'`]) \\s* (:)\n)\n(?=\\s|$)\n\\s*","end":"(?=\\s*})|^(?!\\G)","patterns":[{"include":"#fieldInnards"}],"beginCaptures":{"1":{"name":"entity.name.tag.property.quoted.double.sy","patterns":[{"include":"#escape"}]},"2":{"name":"entity.name.tag.property.quoted.single.sy","patterns":[{"include":"#escape"}]},"3":{"name":"entity.name.tag.property.quoted.backtick.sy","patterns":[{"include":"#escapeVerbatim"}]},"4":{"name":"punctuation.separator.key-value.sy"},"5":{"name":"entity.name.tag.property.sy","patterns":[{"include":"#escape"}]},"6":{"name":"punctuation.separator.key-value.sy"},"7":{"name":"punctuation.separator.key-value.sy"}}},"fieldInnards":{"patterns":[{"include":"#date"},{"include":"#expression"},{"include":"#main"},{"name":"string.unquoted.sy","match":"(?x) \\G\n(?! ~?[-+]?[0-9]\n| (?\u003c=\\s)\\#(?=\\s|$)\n)\n[^\\s{}\\[\\]\u003c:\"'`]\n\n(?: [^\\#,}\\]:]\n| (?\u003c=\\S) [\\#:]\n| [:\\#] (?=\\S)\n)*\n(?!\n\t\\s*\n\t(?:[\\{:])\n)","captures":{"0":{"patterns":[{"include":"#url"}]}}}]},"fieldQuotedEarly":{"name":"meta.field.sy","begin":"(?x) (?:\\G|^) \\s*\n(?: (\"(?:[^\"\\\\]|\\\\.)*\")\n| ('(?:[^'\\\\]|\\\\.)*')\n| (`(?:[^`]|``)*+`(?!`))\n) \\s* (:)\n(?=\\s|$)\n\\s*","end":"(?=\\s*})|^(?!\\G)","patterns":[{"include":"#fieldInnards"}],"beginCaptures":{"1":{"name":"entity.name.tag.property.quoted.double.sy","patterns":[{"include":"#escape"}]},"2":{"name":"entity.name.tag.property.quoted.single.sy","patterns":[{"include":"#escape"}]},"3":{"name":"entity.name.tag.property.quoted.backtick.sy","patterns":[{"include":"#escapeVerbatim"}]},"4":{"name":"punctuation.separator.key-value.sy"}}},"heredoc":{"patterns":[{"include":"#heredocDouble"},{"include":"#heredocSingle"},{"include":"#heredocVerbatim"}]},"heredocDouble":{"patterns":[{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+(\"{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+(\"{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.sy","begin":"(\"{3,})","end":"\\1","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"heredocSingle":{"patterns":[{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+('{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+('{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.sy","begin":"('{3,})","end":"\\1","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"heredocVerbatim":{"patterns":[{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+(`{3,})","end":"((?:(?!\\2).)*+)(\\2)","patterns":[{"match":".+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+(`{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.sy","begin":"(`{3,})","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"injection":{"begin":"\\A((?:\\xC2\\xAD|\\xAD){2,})","end":"(?=A)B","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"1":{"patterns":[{"include":"#signature"}]}}},"main":{"patterns":[{"include":"#signature"},{"include":"#comment"},{"include":"#regexp"},{"include":"#fieldQuotedEarly"},{"include":"#heredoc"},{"include":"#string"},{"include":"#stringJunk"},{"include":"#block"},{"include":"#field"},{"include":"#array"},{"include":"#byteArray"},{"include":"#brackets"},{"include":"#boolean"},{"include":"#null"},{"include":"#date"},{"include":"#number"},{"include":"#comma"},{"include":"#operator"}]},"null":{"name":"constant.language.null.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:null|NULL)\n(?=$|[\\s\\]},])"},"number":{"match":"(?x)\n(?:^|(?\u003c=[\\s\\[\\({,~])|\\G)\n(?: ([-+]?0[xX][A-Fa-f0-9_]+) # Hexadecimal\n| ([-+]?0[oO][0-7_]+) # Octal\n| ([-+]?0[bB][0-1_]+) # Binary\n| ([-+]?[0-9_]+\\.(?:[0-9_]*[eE][+-]?[0-9_]+|[0-9_]+)) # Float\n| ([-+]?[0-9_]+(?:[eE][+-]?[0-9_]+)?) # Integer\n)\n\\s*\n(?= $\n| [-+*/%^\u0026|\\)\u003c\u003e\\s\\]},]\n| (?\u003c=\\s)\\#(?=\\s|$)\n)","captures":{"1":{"name":"constant.numeric.integer.int.hexadecimal.hex.sy"},"2":{"name":"constant.numeric.integer.int.octal.oct.sy"},"3":{"name":"constant.numeric.integer.int.binary.bin.sy"},"4":{"name":"constant.numeric.float.decimal.dec.sy"},"5":{"name":"constant.numeric.integer.int.decimal.dec.sy"}}},"operator":{"patterns":[{"name":"keyword.operator.arithmetic.sy","match":"\\*\\*|[-+*/%]"},{"name":"keyword.operator.bitwise.sy","match":"(\u003c\u003c|\u003e\u003e|\u003e\u003e\u003e|[~\u0026|^])"}]},"regexp":{"patterns":[{"name":"string.regexp.multiline.sy","begin":"(?:([-\\w]+)[ \\t]+)?(/{3,})","end":"(\\2)([A-Za-z]*)","patterns":[{"include":"source.regexp#main"}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"patterns":[{"name":"punctuation.definition.string.begin.triple-slash.sy","match":"(?:\\G|^)/{3}$"},{"name":"punctuation.definition.string.begin.sy","match":".+"}]}},"endCaptures":{"1":{"patterns":[{"name":"punctuation.definition.string.end.triple-slash.sy","match":"(?:\\G|^)/{3}$"},{"name":"punctuation.definition.string.end.sy","match":".+"}]},"2":{"patterns":[{"include":"source.regexp#scopedModifiers"}]}}},{"name":"string.regexp.sy","begin":"(?:([-\\w]+)[ \\t]+)?(/)","end":"(/)([A-Za-z]*)","patterns":[{"include":"source.regexp#main"}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.sy"},"2":{"patterns":[{"include":"source.regexp#scopedModifiers"}]}}}]},"signature":{"name":"punctuation.whitespace.shy-hyphens.signature.sy","match":"^(?:\\xC2\\xAD|\\xAD){2,}"},"string":{"patterns":[{"include":"#stringDouble"},{"include":"#stringSingle"},{"include":"#stringVerbatim"}]},"stringDouble":{"patterns":[{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+(\")","end":"((?:[^\\\\\"]|\\\\.)*+)(\")","patterns":[{"match":"(?:[^\\\\\"]|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+(\")","end":"\"","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.sy","begin":"\"","end":"\"","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"stringInnards":{"patterns":[{"include":"#url"},{"include":"#escape"}]},"stringJunk":{"name":"invalid.illegal.syntax.sy","begin":"(?\u003c=[\"'`])(?!\\s*$)(?=\\s*[^:,}\\]])","end":"(?=[:,}\\]])"},"stringSingle":{"patterns":[{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+(')","end":"((?:[^\\\\']|\\\\.)*+)(')","patterns":[{"match":"(?:[^\\\\']|\\\\.)+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+(')","end":"'","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.sy","begin":"'","end":"'","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"stringVerbatim":{"patterns":[{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"text.embedded.html.basic","begin":"(?i)(X?HTML)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"text.html.basic"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"text.embedded.html.basic","patterns":[{"include":"text.html.basic"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.css","begin":"(?i)(CSS)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.css"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.css","patterns":[{"include":"source.css"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.js","begin":"(?i)(JS|JavaScript)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.js"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.js","patterns":[{"include":"source.js"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.gfm","begin":"(?i)(MD|Markdown|GFM)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.gfm"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.gfm","patterns":[{"include":"source.gfm"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.shell","begin":"(?i)(bash|shell(?:-script)?|[zkc]?sh|mksh)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.shell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.powershell","begin":"(?i)(powershell|pw?sh|ps1)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.powershell"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.powershell","patterns":[{"include":"source.powershell"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.batchfile","begin":"(?i)(bat|batch(?:-?(?:script|file))?)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.batchfile"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.batchfile","patterns":[{"include":"source.batchfile"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.postscript","begin":"(?i)(PS|PostScript|PDF(?:mark)?)[ \\t]+(`)","end":"([^`]*)(`)(?!`)","patterns":[{"include":"#escapeVerbatim"},{"match":"[^`]+","captures":{"0":{"patterns":[{"include":"source.postscript"}]}}}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"source.embedded.postscript","patterns":[{"include":"source.postscript"}]},"2":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.hinted.${1:/downcase}.sy","contentName":"source.embedded.${1:/downcase}","begin":"([-\\w]+)[ \\t]+(`)","end":"`","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.sy","begin":"`","end":"`(?!`)","patterns":[{"include":"#escapeVerbatim"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"url":{"patterns":[{"name":"constant.other.reference.link.underline.sy","match":"(?x) \\b\n# Protocol\n( https?\n| s?ftp\n| ftps\n| file\n| wss?\n| smb\n| git (?:\\+https?)\n| ssh\n| rsync\n| afp\n| nfs\n| (?:x-)?man(?:-page)?\n| gopher\n| txmt\n| issue\n| atom\n) ://\n\n# Path specifier\n(?:\n\t(?! \\#\\w*\\#)\n\t(?: [-:\\@\\w.,~%+_/?=\u0026\\#;|!])\n)+\n\n# Don't include trailing punctuation\n(?\u003c![-.,?:\\#;])"},{"name":"markup.underline.link.mailto.sy","match":"(?x) \\b\nmailto: (?:\n\t(?! \\#\\w*\\#)\n\t(?: [-:@\\w.,~%+_/?=\u0026\\#;|!])\n)+\n(?\u003c![-.,?:\\#;])"}]}}}
|
1
|
+
{"name":"SyON","scopeName":"source.sy","patterns":[{"include":"#blockInnards"}],"repository":{"array":{"name":"meta.array.sy","begin":"\\[","end":"\\]","patterns":[{"include":"#main"},{"name":"string.unquoted.sy","match":"(?:[^,\\[\\]{}\u003c\u003e\"'`\\s:]|:(?=\\S))+"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket.square.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.square.sy"}}},"block":{"patterns":[{"name":"meta.block.tagged.sy","begin":"((?:[^{}\\[\\]:\\s,]|[:#](?=\\S))(?:[^:{}]|:(?=\\S)|\\\\[{:])*?)({)","end":"}","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"1":{"name":"entity.name.block.tag.label.sy"},"2":{"name":"punctuation.section.scope.block.begin.bracket.curly.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.curly.sy"}}},{"name":"meta.block.sy","begin":"{","end":"}","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"0":{"name":"punctuation.section.scope.block.begin.bracket.curly.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.curly.sy"}}}]},"blockInnards":{"patterns":[{"include":"#fieldQuotedEarly"},{"include":"#main"},{"match":"((?:[^{}\\[\\]:\\s,]|[:#](?=\\S))(?:[^:{}]|:(?=\\S)|\\\\[{:])*?)","captures":{"1":{"name":"entity.name.tag.property.sy"}}}]},"boolean":{"patterns":[{"name":"constant.language.boolean.true.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:true|yes|on|TRUE|YES|ON)\n(?=$|[\\s\\]},])"},{"name":"constant.language.boolean.false.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:false|no|off|TRUE|YES|ON)\n(?=$|[\\s\\]},])"}]},"brackets":{"name":"meta.expression.sy","begin":"\\(","end":"\\)","patterns":[{"include":"#operator"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.section.scope.block.begin.bracket.round.sy"}},"endCaptures":{"0":{"name":"punctuation.section.scope.block.end.bracket.round.sy"}}},"byteArray":{"patterns":[{"name":"meta.byte-array.base64.sy","begin":"(\u003c)(base64)(:)","end":"(\u003e)\\s*([^:,}\\]]+)","patterns":[{"name":"constant.character.encoded.base64.sy","match":"[A-Za-z0-9+/=]+"},{"include":"#comment"},{"name":"invalid.illegal.character.sy","match":"[^\\s\u003e]+"}],"beginCaptures":{"1":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"},"2":{"name":"storage.modifier.encoding.base64.sy"},"3":{"name":"punctuation.separator.key-value.sy"}},"endCaptures":{"1":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"},"2":{"name":"invalid.illegal.characters.sy"}}},{"name":"meta.byte-array.base85.sy","begin":"\u003c~","end":"~\u003e","patterns":[{"name":"constant.character.encoded.base85.sy","match":"[!-uz]+"},{"name":"invalid.illegal.character.sy","match":"[^!-uz\\s~]"}],"beginCaptures":{"0":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"}},"endCaptures":{"0":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"}}},{"name":"meta.byte-array.sy","begin":"\u003c","end":"(\u003e)\\s*([^:,}\\]]+)","patterns":[{"name":"constant.numeric.integer.int.hexadecimal.hex.sy","match":"[A-Fa-f0-9]+"},{"include":"#comment"},{"name":"invalid.illegal.character.sy","match":"[^\\s\u003e]+"}],"beginCaptures":{"0":{"name":"punctuation.section.byte-array.begin.bracket.angle.sy"}},"endCaptures":{"1":{"name":"punctuation.section.byte-array.end.bracket.angle.sy"},"2":{"name":"invalid.illegal.characters.sy"}}}]},"comma":{"name":"punctuation.separator.delimiter.comma.sy","match":","},"comment":{"patterns":[{"name":"comment.block.sy","begin":"(?:\\G|^|(?\u003c=\\s|\\xC2\\xAD|\\xAD))(#{3,})(?=\\s|$)","end":"\\1","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.sy"}}},{"name":"comment.line.number-sign.sy","begin":"(?:\\G|^|(?\u003c=\\s|\\xC2\\xAD|\\xAD))#(?=\\s|$)","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.sy"}}}]},"date":{"name":"constant.other.date.sy","match":"(?x)\n# Date\n[0-9]{4} - # Year\n[0-9]{2} - # Month\n[0-9]{2} # Day\n\n# Time\n(?:\n\t(?:T|\\s+)\n\t[0-9]{1,2} : # Hours\n\t[0-9]{1,2} : # Minutes\n\t[0-9]{1,2} # Seconds\n\t(?:\\.[0-9]+)? # Milliseconds\n\t(\\+[0-9]{4}|Z)? # Timezone\n)?\n\n# Followed by delimiter, EOL, or comment\n(?= \\s* (?:$|[,\\]}])\n| \\s+ \\#(?:$|\\s)\n)"},"escape":{"patterns":[{"name":"constant.character.escape.newline.sy","begin":"\\\\$\\s*","end":"^","beginCaptures":{"0":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)x[A-Fa-f0-9]{2}","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)u[A-Fa-f0-9]{4}","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"}}},{"name":"constant.character.escape.unicode.sy","match":"(\\\\)u({)[A-Fa-f0-9]+(})","captures":{"1":{"name":"punctuation.backslash.definition.escape.sy"},"2":{"name":"punctuation.definition.unicode-escape.begin.bracket.curly.sy"},"3":{"name":"punctuation.definition.unicode-escape.end.bracket.curly.sy"}}},{"name":"invalid.illegal.unicode-escape.sy","match":"\\\\u{[^}\"]*}"},{"name":"invalid.illegal.unicode-escape.sy","match":"\\\\u(?![A-Fa-f0-9]{4})[^\"]*"},{"name":"constant.character.escape.sy","match":"(\\\\).","captures":{"0":{"name":"punctuation.backslash.definition.escape.sy"}}}]},"escapeVerbatim":{"name":"constant.character.escape.backtick.sy","match":"``"},"expression":{"name":"meta.expression.sy","match":"(?x)\n\\G\n(\n\t(?:\\s*\\()*\n\t\\s*\n\t~? [-+]? ~?\n\t\\d\n\t[-+*/%~^\u0026|\\(\\)eE\\s.oOxXbB\\d]*\n)\n(?=\n\t\\s*\n\t(?: $\n\t| ,\n\t| \\]\n\t| \\}\n\t| (?\u003c=\\s)\\#(?=\\s|$)\n\t)\n)","captures":{"1":{"patterns":[{"include":"#brackets"},{"include":"#number"},{"include":"#operator"}]}}},"field":{"name":"meta.field.sy","begin":"(?x)\n(?:\n\t# Quoted property name\n\t(?\u003c=[:{\\[]) \\s*\n\t(?: (\"(?:[^\"\\\\]|\\\\.)*\")\n\t| ('(?:[^'\\\\]|\\\\.)*')\n\t| (`(?:[^`]|``)*+`(?!`))\n\t) \\s* (:)\n\t\n\t|\n\t\n\t# Unquoted property name\n\t([^{}\\[\\]\u003c\u003e\\s][^,]*?)\n\t(?\u003c!\\\\) (:)\n\t\n\t|\n\t\n\t# Presumably one following a multiline string\n\t(?\u003c=[\"'`]) \\s* (:)\n)\n(?=\\s|$)\n\\s*","end":"(?=\\s*})|^(?!\\G)","patterns":[{"include":"#fieldInnards"}],"beginCaptures":{"1":{"name":"entity.name.tag.property.quoted.double.sy","patterns":[{"include":"#escape"}]},"2":{"name":"entity.name.tag.property.quoted.single.sy","patterns":[{"include":"#escape"}]},"3":{"name":"entity.name.tag.property.quoted.backtick.sy","patterns":[{"include":"#escapeVerbatim"}]},"4":{"name":"punctuation.separator.key-value.sy"},"5":{"name":"entity.name.tag.property.sy","patterns":[{"include":"#escape"}]},"6":{"name":"punctuation.separator.key-value.sy"},"7":{"name":"punctuation.separator.key-value.sy"}}},"fieldInnards":{"patterns":[{"include":"#date"},{"include":"#expression"},{"include":"#main"},{"name":"string.unquoted.sy","match":"(?x) \\G\n(?! ~?[-+]?[0-9]\n| (?\u003c=\\s)\\#(?=\\s|$)\n)\n[^\\s{}\\[\\]\u003c:\"'`]\n\n(?: [^\\#,}\\]:]\n| (?\u003c=\\S) [\\#:]\n| [:\\#] (?=\\S)\n)*\n(?!\n\t\\s*\n\t(?:[\\{:])\n)","captures":{"0":{"patterns":[{"include":"#url"}]}}}]},"fieldQuotedEarly":{"name":"meta.field.sy","begin":"(?x) (?:\\G|^) \\s*\n(?: (\"(?:[^\"\\\\]|\\\\.)*\")\n| ('(?:[^'\\\\]|\\\\.)*')\n| (`(?:[^`]|``)*+`(?!`))\n) \\s* (:)\n(?=\\s|$)\n\\s*","end":"(?=\\s*})|^(?!\\G)","patterns":[{"include":"#fieldInnards"}],"beginCaptures":{"1":{"name":"entity.name.tag.property.quoted.double.sy","patterns":[{"include":"#escape"}]},"2":{"name":"entity.name.tag.property.quoted.single.sy","patterns":[{"include":"#escape"}]},"3":{"name":"entity.name.tag.property.quoted.backtick.sy","patterns":[{"include":"#escapeVerbatim"}]},"4":{"name":"punctuation.separator.key-value.sy"}}},"heredoc":{"patterns":[{"include":"#heredocDouble"},{"include":"#heredocSingle"},{"include":"#heredocVerbatim"}]},"heredocDouble":{"patterns":[{"name":"string.quoted.double.heredoc.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+(\"{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.heredoc.sy","begin":"(\"{3,})","end":"\\1","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"heredocSingle":{"patterns":[{"name":"string.quoted.single.heredoc.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+('{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.heredoc.sy","begin":"('{3,})","end":"\\1","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"heredocVerbatim":{"patterns":[{"name":"string.quoted.verbatim.backtick.heredoc.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+(`{3,})","end":"\\2","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.heredoc.sy","begin":"(`{3,})","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"injection":{"begin":"\\A(?:\\xC2\\xAD|\\xAD){2}","end":"(?=A)B","patterns":[{"include":"#blockInnards"}],"beginCaptures":{"0":{"patterns":[{"include":"#signature"}]}}},"main":{"patterns":[{"include":"#signature"},{"include":"#comment"},{"include":"#regexp"},{"include":"#fieldQuotedEarly"},{"include":"#heredoc"},{"include":"#string"},{"include":"#stringJunk"},{"include":"#block"},{"include":"#field"},{"include":"#array"},{"include":"#byteArray"},{"include":"#brackets"},{"include":"#boolean"},{"include":"#null"},{"include":"#date"},{"include":"#number"},{"include":"#comma"},{"include":"#operator"}]},"null":{"name":"constant.language.null.sy","match":"(?x)\n(?:\\G|^|(?\u003c=[\\s\\[{,]))\n(?:null|NULL)\n(?=$|[\\s\\]},])"},"number":{"match":"(?x)\n(?:^|(?\u003c=[\\s\\[\\({,~])|\\G)\n(?: ([-+]?0[xX][A-Fa-f0-9_]+) # Hexadecimal\n| ([-+]?0[oO][0-7_]+) # Octal\n| ([-+]?0[bB][0-1_]+) # Binary\n| ([-+]?[0-9_]+\\.(?:[0-9_]*[eE][+-]?[0-9_]+|[0-9_]+)) # Float\n| ([-+]?[0-9_]+(?:[eE][+-]?[0-9_]+)?) # Integer\n)\n\\s*\n(?= $\n| [-+*/%^\u0026|\\)\u003c\u003e\\s\\]},]\n| (?\u003c=\\s)\\#(?=\\s|$)\n)","captures":{"1":{"name":"constant.numeric.integer.int.hexadecimal.hex.sy"},"2":{"name":"constant.numeric.integer.int.octal.oct.sy"},"3":{"name":"constant.numeric.integer.int.binary.bin.sy"},"4":{"name":"constant.numeric.float.decimal.dec.sy"},"5":{"name":"constant.numeric.integer.int.decimal.dec.sy"}}},"operator":{"patterns":[{"name":"keyword.operator.arithmetic.sy","match":"\\*\\*|[-+*/%]"},{"name":"keyword.operator.bitwise.sy","match":"(\u003c\u003c|\u003e\u003e|\u003e\u003e\u003e|[~\u0026|^])"}]},"regexp":{"patterns":[{"name":"string.regexp.multiline.sy","begin":"(?:([-\\w]+)[ \\t]+)?(/{3,})","end":"(\\2)([A-Za-z]*)","patterns":[{"include":"source.regexp#main"}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"patterns":[{"name":"punctuation.definition.string.begin.triple-slash.sy","match":"(?:\\G|^)/{3}$"},{"name":"punctuation.definition.string.begin.sy","match":".+"}]}},"endCaptures":{"1":{"patterns":[{"name":"punctuation.definition.string.end.triple-slash.sy","match":"(?:\\G|^)/{3}$"},{"name":"punctuation.definition.string.end.sy","match":".+"}]},"2":{"patterns":[{"include":"source.regexp#scopedModifiers"}]}}},{"name":"string.regexp.sy","begin":"(?:([-\\w]+)[ \\t]+)?(/)","end":"(/)([A-Za-z]*)","patterns":[{"include":"source.regexp#main"}],"beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.sy"},"2":{"patterns":[{"include":"source.regexp#scopedModifiers"}]}}}]},"signature":{"name":"punctuation.whitespace.shy-hyphens.signature.sy","match":"^(?:\\xC2\\xAD|\\xAD){2,}"},"string":{"patterns":[{"include":"#stringDouble"},{"include":"#stringSingle"},{"include":"#stringVerbatim"}]},"stringDouble":{"patterns":[{"name":"string.quoted.double.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+(\")","end":"\"","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.double.sy","begin":"\"","end":"\"","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"stringInnards":{"patterns":[{"include":"#url"},{"include":"#escape"}]},"stringJunk":{"name":"invalid.illegal.syntax.sy","begin":"(?\u003c=[\"'`])(?!\\s*$)(?=\\s*[^:,}\\]])","end":"(?=[:,}\\]])"},"stringSingle":{"patterns":[{"name":"string.quoted.single.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+(')","end":"'","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.single.sy","begin":"'","end":"'","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"stringVerbatim":{"patterns":[{"name":"string.quoted.verbatim.backtick.hinted.${1:/scopify}.sy","contentName":"embedded.${1:/scopify}","begin":"([-\\w]+)[ \\t]+(`)","end":"`","beginCaptures":{"1":{"name":"storage.modifier.type.parse-hint.sy"},"2":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}},{"name":"string.quoted.verbatim.backtick.sy","begin":"`","end":"`(?!`)","patterns":[{"include":"#escapeVerbatim"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sy"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sy"}}}]},"url":{"patterns":[{"name":"constant.other.reference.link.underline.sy","match":"(?x) \\b\n# Protocol\n( https?\n| s?ftp\n| ftps\n| file\n| wss?\n| smb\n| git (?:\\+https?)\n| ssh\n| rsync\n| afp\n| nfs\n| (?:x-)?man(?:-page)?\n| gopher\n| txmt\n| issue\n| atom\n) ://\n\n# Path specifier\n(?:\n\t(?! \\#\\w*\\#)\n\t(?: [-:\\@\\w.,~%+_/?=\u0026\\#;|!])\n)+\n\n# Don't include trailing punctuation\n(?\u003c![-.,?:\\#;])"},{"name":"markup.underline.link.mailto.sy","match":"(?x) \\b\nmailto: (?:\n\t(?! \\#\\w*\\#)\n\t(?: [-:@\\w.,~%+_/?=\u0026\\#;|!])\n)+\n(?\u003c![-.,?:\\#;])"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Properties","scopeName":"source.tm-properties","patterns":[{"begin":"^([a-zA-Z0-9][a-zA-Z0-9_+\\-]*)\\s*(=)\\s*","end":"$","patterns":[{"include":"#string"}],"captures":{"1":{"name":"support.constant.tm-properties"},"2":{"name":"punctuation.separator.key-value.tm-properties"}}},{"name":"meta.section.tm-properties","begin":"^\\[","end":"\\]","patterns":[{"include":"#string"}],"beginCaptures":{"0":{"name":"punctuation.definition.section.begin.tm-properties"}},"endCaptures":{"0":{"name":"punctuation.definition.section.end.tm-properties"}}},{"include":"#comment"}],"repository":{"comment":{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.tm-properties","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.tm-properties"}}}],"captures":{"1":{"name":"punctuation.definition.comment.tm-properties"}},"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.tm-properties"}}},"string":{"patterns":[{"name":"string.unquoted.tm-properties","match":"[a-zA-Z0-9][a-zA-Z0-9_+\\-]*"},{"name":"string.quoted.double.tm-properties","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.tm-properties","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.tm-properties"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.tm-properties"}}},{"name":"string.quoted.single.tm-properties","begin":"'","end":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.tm-properties"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.tm-properties"}}}]}}}
|