@nuxtjs/sitemap 5.1.5 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +107 -83
- package/dist/client/404.html +107 -83
- package/dist/client/_nuxt/{BTnhwlxZ.js → 4id9yZy9.js} +1 -1
- package/dist/client/_nuxt/{3Yx8WcR-.js → B3g-KkBK.js} +1 -1
- package/dist/client/_nuxt/{CRWwmX0L.js → B4ACM-c0.js} +1 -1
- package/dist/client/_nuxt/B5NHDIr7.js +353 -0
- package/dist/client/_nuxt/{Bz4xi2rU.js → B6ZnTe72.js} +1 -1
- package/dist/client/_nuxt/{B6nY7VDA.js → B6bHXiXE.js} +1 -1
- package/dist/client/_nuxt/B7rNE5kf.js +1 -0
- package/dist/client/_nuxt/BAMIS8DD.js +1 -0
- package/dist/client/_nuxt/BEjL32p1.js +5754 -0
- package/dist/client/_nuxt/BLD-YeUO.js +36 -0
- package/dist/client/_nuxt/BVGdgKAv.js +1 -0
- package/dist/client/_nuxt/{wORFcijT.js → BXR915QZ.js} +1 -1
- package/dist/client/_nuxt/{DCj4DH6i.js → BYdKNJ10.js} +1 -1
- package/dist/client/_nuxt/BZfs-ost.js +1 -0
- package/dist/client/_nuxt/{DCdPDLy4.js → BacI6-DX.js} +1 -1
- package/dist/client/_nuxt/BcF9sHHc.js +6 -0
- package/dist/client/_nuxt/{DCk2z-Tu.js → BdfWgkoX.js} +1 -1
- package/dist/client/_nuxt/{DaCkt_J7.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/BscxmKrE.js +8 -0
- package/dist/client/_nuxt/BwXNTs7T.js +1 -0
- package/dist/client/_nuxt/Bx89rGXK.js +1 -0
- package/dist/client/_nuxt/{CQ1WWl9n.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/C3qJFuQy.js +3 -0
- package/dist/client/_nuxt/C3qUB5O8.js +301 -0
- package/dist/client/_nuxt/C6XIsc4F.js +1 -0
- package/dist/client/_nuxt/C9UBdavN.js +1 -0
- package/dist/client/_nuxt/CA9nliXM.js +1 -0
- package/dist/client/_nuxt/{BsfQk1vf.js → CEfge3mM.js} +1 -1
- package/dist/client/_nuxt/CGmujMTu.js +1 -0
- package/dist/client/_nuxt/{CQTpvb7m.js → CHCTrc3a.js} +1 -1
- package/dist/client/_nuxt/{B9E_xdxs.js → CNkYXcD4.js} +1 -1
- package/dist/client/_nuxt/CO5hpdkB.js +1 -0
- package/dist/client/_nuxt/{DsudziMp.js → COIrKlfF.js} +1 -1
- package/dist/client/_nuxt/{DZ3fVoEH.js → CSPeAESR.js} +1 -1
- package/dist/client/_nuxt/C_ZPRiAj.js +26 -0
- package/dist/client/_nuxt/{DCAtC51B.js → CarfVElc.js} +1 -1
- package/dist/client/_nuxt/{BgBwMnrY.js → CcYwH0AH.js} +1 -1
- package/dist/client/_nuxt/Cgl53LJQ.js +1 -0
- package/dist/client/_nuxt/{RgJsN3zu.js → ChMCFiS0.js} +1 -1
- package/dist/client/_nuxt/CiRxTSAc.js +1 -0
- package/dist/client/_nuxt/CpAANOdC.js +1 -0
- package/dist/client/_nuxt/{DfUNg_8t.js → CqYeW6XZ.js} +1 -1
- package/dist/client/_nuxt/{CL7Ixq1B.js → CrgTADc5.js} +1 -1
- package/dist/client/_nuxt/CuJfdYLG.js +1 -0
- package/dist/client/_nuxt/D71BffLY.js +1 -0
- package/dist/client/_nuxt/{A6fgiLY6.js → D8ltPvRq.js} +1 -1
- package/dist/client/_nuxt/DAfrLhwG.js +1 -0
- package/dist/client/_nuxt/{Bd7iooY8.js → DGDuLtS6.js} +1 -1
- package/dist/client/_nuxt/DGMFlOLs.js +1 -0
- package/dist/client/_nuxt/{j8KhMG0x.js → DGxQkqYo.js} +1 -1
- package/dist/client/_nuxt/DKb4lQY2.js +1 -0
- package/dist/client/_nuxt/{DIr-ordK.js → DKlGn9uv.js} +1 -1
- package/dist/client/_nuxt/{CUVblut_.js → DR5YgmI2.js} +1 -1
- package/dist/client/_nuxt/DS9ZWoKD.js +1 -0
- package/dist/client/_nuxt/{D-pQtGOP.js → DVLwECkk.js} +1 -1
- package/dist/client/_nuxt/DZLoTQm4.js +1 -0
- package/dist/client/_nuxt/{ZQC2c-5V.js → D_T9yQUo.js} +3 -3
- package/dist/client/_nuxt/Db2-y2xY.js +1 -0
- package/dist/client/_nuxt/Dit6kIrv.js +11 -0
- package/dist/client/_nuxt/{DXpYegZJ.js → Djqq6n-7.js} +1 -1
- package/dist/client/_nuxt/Dkb1Nx48.js +1 -0
- package/dist/client/_nuxt/{DywwDckn.js → Du6_OKDb.js} +1 -1
- package/dist/client/_nuxt/FJDVp-XM.js +1 -0
- package/dist/client/_nuxt/{IHMnEr_d.js → G-Jz5hiA.js} +1 -1
- package/dist/client/_nuxt/HrnDn_2Q.js +1 -0
- package/dist/client/_nuxt/Icon.CBNAyDNE.css +1 -0
- package/dist/client/_nuxt/IconCSS.BjWhc-VD.css +1 -0
- package/dist/client/_nuxt/{CPHkTjfH.js → JgH_6NEN.js} +1 -1
- package/dist/client/_nuxt/KPqz0Sb3.js +1 -0
- package/dist/client/_nuxt/Ksn5IXup.js +1 -0
- package/dist/client/_nuxt/{wPLeKH6q.js → Lpdzc9s2.js} +1 -1
- package/dist/client/_nuxt/MS3qTAOR.js +1 -0
- package/dist/client/_nuxt/P5f3PASf.js +40 -0
- package/dist/client/_nuxt/{BILqrcpa.js → YdT6Gj0u.js} +1 -1
- package/dist/client/_nuxt/alpzPJ78.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/eed887b5-8cf6-4ae2-9094-c95111b61a41.json +1 -0
- package/dist/client/_nuxt/{Bdb36Id5.js → dIHJ9UdL.js} +1 -1
- package/dist/client/_nuxt/entry.BFped8KZ.css +1 -0
- package/dist/client/_nuxt/{BoOAlWED.js → hm-j440x.js} +1 -1
- package/dist/client/_nuxt/o5b8QYQO.js +3 -0
- package/dist/client/_nuxt/{doGI2cFk.js → wKgfcFVx.js} +1 -1
- package/dist/client/_nuxt/{Bd73LTSp.js → wwwLBkz3.js} +1 -1
- package/dist/client/index.html +107 -83
- package/dist/module.d.mts +0 -15
- package/dist/module.d.ts +0 -15
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -4
- package/dist/runtime/nitro/sitemap/builder/sitemap-index.mjs +5 -1
- package/dist/runtime/nitro/sitemap/builder/sitemap.mjs +1 -1
- package/dist/runtime/nitro/sitemap/urlset/sources.d.ts +3 -2
- package/dist/runtime/nitro/sitemap/urlset/sources.mjs +5 -4
- package/dist/runtime/types.d.ts +3 -0
- package/package.json +12 -12
- package/dist/client/_nuxt/-hLHpAOl.js +0 -1
- package/dist/client/_nuxt/BBv1LFm6.js +0 -6
- package/dist/client/_nuxt/BIMuYTWL.js +0 -3
- package/dist/client/_nuxt/BSyl5yf0.js +0 -1
- package/dist/client/_nuxt/BswfO-CF.js +0 -1
- package/dist/client/_nuxt/CGQbO34C.js +0 -1
- package/dist/client/_nuxt/CudBhkk3.js +0 -1
- package/dist/client/_nuxt/D4LhxNOI.js +0 -1
- package/dist/client/_nuxt/D4k753MY.js +0 -1
- package/dist/client/_nuxt/DnhXxWz-.js +0 -1
- package/dist/client/_nuxt/DoA0sgnJ.js +0 -36
- package/dist/client/_nuxt/Dszwcx0o.js +0 -1
- package/dist/client/_nuxt/DzPyIVdT.js +0 -9
- package/dist/client/_nuxt/Icon.Cz7P-B9Q.css +0 -1
- package/dist/client/_nuxt/IconCSS.CuOlVhPM.css +0 -1
- package/dist/client/_nuxt/TQ9oWRfF.js +0 -1
- package/dist/client/_nuxt/WoBtJUue.js +0 -1
- package/dist/client/_nuxt/bmJ2objS.js +0 -1
- package/dist/client/_nuxt/builds/meta/9c660240-bc8b-4a63-883d-04cd5c521393.json +0 -1
- package/dist/client/_nuxt/entry.Ch27ueg_.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"nushell",name:"nushell",patterns:[{include:"#define-variable"},{include:"#define-alias"},{include:"#function"},{include:"#extern"},{include:"#module"},{include:"#use-module"},{include:"#expression"},{include:"#comment"}],repository:{binary:{begin:"\\b(0x)(\\[)",beginCaptures:{1:{name:"constant.numeric.nushell"},2:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.begin.nushell"}},name:"constant.binary.nushell",patterns:[{match:"[0-9a-fA-F]{2}",name:"constant.numeric.nushell"}]},"braced-expression":{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.nushell"}},name:"meta.expression.braced.nushell",patterns:[{begin:"(?<=\\{)\\s*\\|",end:"\\|",name:"meta.closure.parameters.nushell",patterns:[{include:"#function-parameter"}]},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:"(\\w+)\\s*(:)\\s*"},{captures:{1:{name:"variable.other.nushell"},2:{name:"variable.other.nushell",patterns:[{include:"#paren-expression"}]},3:{name:"keyword.control.nushell"}},match:'(\\$"((?:[^"\\\\]|\\\\.)*)")\\s*(:)\\s*',name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:'("(?:[^"\\\\]|\\\\.)*")\\s*(:)\\s*',name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"variable.other.nushell",patterns:[{include:"#paren-expression"}]},3:{name:"keyword.control.nushell"}},match:"(\\$'([^']*)')\\s*(:)\\s*",name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:"('[^']*')\\s*(:)\\s*",name:"meta.record-entry.nushell"},{include:"#spread"},{include:"source.nushell"}]},command:{begin:`(?<!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:"[^"]+"|'[^']+'))`,beginCaptures:{1:{name:"keyword.operator.nushell"},2:{patterns:[{include:"#control-keywords"},{captures:{0:{name:"keyword.other.builtin.nushell"}},match:"(?:ansi|char) \\w+"},{captures:{1:{name:"keyword.other.builtin.nushell"},2:{patterns:[{include:"#value"}]}},comment:"Regex generated with list-to-tree (https://github.com/glcraft/list-to-tree)",match:"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st)|b(?:g|its(?: (?:and|not|or|ro(?:l|r)|sh(?:l|r)|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|starts-with))?)|c(?:al|d|har|l(?:ear|ipboard (?:copy|paste))|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|nu|reset))?|st|tinue))|p|ustom-value (?:generate(?:2)?|update(?:-arg)?))|d(?:ate(?: (?:format|humanize|list-timezone|now|to-(?:record|t(?:able|imezone))))?|e(?:bug(?: info)?|code(?: (?:base64|hex))?|f(?:ault)?|scribe|tect columns)|fr(?: (?:a(?:gg(?:-groups)?|ll-(?:false|true)|ppend|rg-(?:m(?:ax|in)|sort|true|unique|where)|s(?:-date(?:time)?)?)|c(?:a(?:che|st)|o(?:l(?:lect|umns)?|n(?:cat(?:-str|enate)|tains)|unt(?:-null)?)|umulative)|d(?:atepart|rop(?:-(?:duplicates|nulls))?|types|ummies)|exp(?:lode|r-not)|f(?:etch|i(?:l(?:l-n(?:an|ull)|ter(?:-with)?)|rst)|latten)|g(?:et(?:-(?:day|hour|m(?:inute|onth)|nanosecond|ordinal|second|week(?:day)?|year))?|roup-by)|i(?:mplode|nto-(?:df|lazy|nu)|s-(?:duplicated|in|n(?:ot-null|ull)|unique))|join|l(?:ast|it|owercase|s)|m(?:ax|e(?:an|dian|lt)|in)|n(?:-unique|ot)|o(?:pen|therwise)|qu(?:antile|ery)|r(?:e(?:name|place(?:-all)?|verse)|olling)|s(?:ample|chema|e(?:lect|t(?:-with-idx)?)|h(?:ape|ift)|lice|ort-by|t(?:d|r(?:-(?:lengths|slice)|ftime))|um(?:mary)?)|t(?:ake|o-(?:a(?:rrow|vro)|csv|jsonl|parquet))|u(?:nique|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|o|rop(?: (?:column|nth))?|u)|e(?:ach(?: while)?|cho|moji|n(?:code(?: (?:base64|hex))?|umerate)|rror make|very|x(?:ec|it|p(?:l(?:ain|ore)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:e|l|ter)|nd|rst)|latten|mt|or(?:mat(?: (?:d(?:ate|uration)|filesize|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|nuon|ods|p(?:arquet|ng)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|y(?:aml|ml)))?)|g(?:e(?:nerate|t)|lob|r(?:id|oup(?:-by)?)|stat)|h(?:ash(?: (?:md5|sha256))?|e(?:aders|lp(?: (?:aliases|commands|e(?:scapes|xterns)|modules|operators))?)|i(?:de(?:-env)?|ghlight|st(?:o(?:gram|ry(?: session)?))?)|ttp(?: (?:delete|get|head|options|p(?:atch|ost|ut)))?)|i(?:f|gnore|n(?:c|put(?: list(?:en)?)?|s(?:ert|pect)|t(?:erleave|o(?: (?:b(?:i(?:nary|ts)|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:oin|son path|walk)|k(?:eybindings(?: (?:default|list(?:en)?))?|ill)|l(?:a(?:st|zy make)|e(?:ngth|t(?:-env)?)|ines|o(?:ad-env|op)|s)|m(?:at(?:ch|h(?: (?:a(?:bs|rc(?:cos(?:h)?|sin(?:h)?|tan(?:h)?)|vg)|c(?:eil|os(?:h)?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:in(?:h)?|qrt|tddev|um)|tan(?:h)?|variance))?)|e(?:rge|tadata)|k(?:dir|temp)|o(?:dule|ve)|ut|v)|nu-(?:check|example-(?:1|2|3|config)|highlight)|o(?:pen|verlay(?: (?:hide|list|new|use))?)|p(?:a(?:nic|r(?:-each|se)|th(?: (?:basename|dirname|ex(?:ists|pand)|join|parse|relative-to|split|type))?)|eriodic-table|lot|net|ort(?: (?:list|scan))?|r(?:epend|int)|s)|query(?: (?:db|git|json|web|xml))?|r(?:an(?:dom(?: (?:bool|chars|dice|float|int|uuid))?|ge)|e(?:duce|g(?:ex|ist(?:er|ry query))|ject|name|turn|verse)|m|o(?:ll(?: (?:down|left|right|up))?|tate)|un-external)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|leep|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:hars|olumn)|list|row|words)|-by)?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|ontains)|d(?:istance|owncase)|e(?:nds-with|scape-glob|xpand)|index-of|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|imilarity|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase)|eam_example(?: (?:collect-external|s(?:eq|um)))?)?)|ys)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm size)|imeit|o(?: (?:csv|html|json|md|nuon|png|qr|t(?:ext|oml|sv)|xml|yaml)|uch)?|r(?:anspose|y)|utor)|u(?:limit|ni(?:q(?:-by)?|ts)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse))?|se)|v(?:alues|ersion|iew(?: (?:files|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|xyplot|zip)(?![\\w-])( (.*))?"},{captures:{1:{patterns:[{include:"#paren-expression"}]}},match:`(?<=\\^)(?:\\$("[^"]+"|'[^']+')|"[^"]+"|'[^']+')`,name:"entity.name.type.external.nushell"},{captures:{1:{name:"entity.name.type.external.nushell"},2:{patterns:[{include:"#value"}]}},match:"([\\w.]+(?:-[\\w.!]+)*)(?: (.*))?"},{include:"#value"}]}},end:"(?=\\||\\)|\\}|;)|$",name:"meta.command.nushell",patterns:[{include:"#parameters"},{include:"#spread"},{include:"#value"}]},comment:{match:"(#.*)$",name:"comment.nushell"},"constant-keywords":{match:"\\b(?:true|false|null)\\b",name:"constant.language.nushell"},"constant-value":{patterns:[{include:"#constant-keywords"},{include:"#datetime"},{include:"#numbers"},{include:"#numbers-hexa"},{include:"#binary"}]},"control-keywords":{comment:"Regex generated with list-to-tree (https://github.com/glcraft/list-to-tree)",match:"(?<![0-9a-zA-Z_\\-.\\/:\\\\])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![0-9a-zA-Z_\\-.\\/:\\\\])",name:"keyword.control.nushell"},datetime:{match:"\\b\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:\\+\\d{2}:?\\d{2}|Z)?)?\\b",name:"constant.numeric.nushell"},"define-alias":{captures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"},3:{patterns:[{include:"#operators"}]}},match:"((?:export )?alias)\\s+([\\w\\-!]+)\\s*(=)"},"define-variable":{captures:{1:{name:"keyword.other.nushell"},2:{name:"variable.other.nushell"},3:{patterns:[{include:"#operators"}]}},match:"(let|mut|(?:export\\s+)?const)\\s+(\\w+)\\s+(=)"},expression:{patterns:[{include:"#pre-command"},{include:"#for-loop"},{include:"#operators"},{match:"\\|",name:"keyword.control.nushell"},{include:"#control-keywords"},{include:"#constant-value"},{include:"#command"},{include:"#value"}]},extern:{begin:'((?:export\\s+)?extern)\\s+([\\w\\-]+|"[\\w\\- ]+")',beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"}},end:"(?<=\\])",endCaptures:{0:{name:"punctuation.definition.function.end.nushell"}},patterns:[{include:"#function-parameters"}]},"for-loop":{begin:"(for)\\s+(\\$?\\w+)\\s+(in)\\s+(.+)\\s*(\\{)",beginCaptures:{1:{name:"keyword.other.nushell"},2:{name:"variable.other.nushell"},3:{name:"keyword.other.nushell"},4:{patterns:[{include:"#value"}]},5:{name:"punctuation.section.block.begin.bracket.curly.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.nushell"}},name:"meta.for-loop.nushell",patterns:[{include:"source.nushell"}]},function:{begin:'((?:export\\s+)?def(?:\\s+--\\w+)?)\\s+([\\w\\-]+|"[\\w\\- ]+")(\\s+--\\w+)?',beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"},3:{name:"entity.name.function.nushell"}},end:"(?<=\\})",patterns:[{include:"#function-parameters"},{include:"#function-body"},{include:"#function-inout"}]},"function-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.function.begin.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.function.end.nushell"}},name:"meta.function.body.nushell",patterns:[{include:"source.nushell"}]},"function-inout":{patterns:[{include:"#types"},{match:"->",name:"keyword.operator.nushell"},{include:"#function-multiple-inout"}]},"function-multiple-inout":{begin:"(?<=]\\s*)(:)\\s+(\\[)",beginCaptures:{1:{name:"punctuation.definition.in-out.nushell"},2:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},patterns:[{include:"#types"},{captures:{1:{name:"punctuation.separator.nushell"}},match:"\\s*(,)\\s*"},{captures:{1:{name:"keyword.operator.nushell"}},match:"\\s+(->)\\s+"}]},"function-parameter":{patterns:[{captures:{1:{name:"keyword.control.nushell"}},match:"(-{0,2}|\\.{3})[\\w-]+(?:\\((-[\\w?])\\))?",name:"variable.parameter.nushell"},{begin:"\\??:\\s*",end:"(?=(?:\\s+(?:-{0,2}|\\.{3})[\\w-]+)|(?:\\s*(?:,|\\]|\\||@|=|#|$)))",patterns:[{include:"#types"}]},{begin:`@(?="|')`,end:`(?<="|')`,patterns:[{include:"#string"}]},{begin:"=\\s*",end:"(?=(?:\\s+-{0,2}[\\w-]+)|(?:\\s*(?:,|\\]|\\||#|$)))",name:"default.value.nushell",patterns:[{include:"#value"}]}]},"function-parameters":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},name:"meta.function.parameters.nushell",patterns:[{include:"#function-parameter"},{include:"#comment"}]},"internal-variables":{match:"\\$(?:nu|env)\\b",name:"variable.language.nushell"},keyword:{match:"(?:def(?:-env)?)",name:"keyword.other.nushell"},module:{begin:"((?:export\\s+)?module)\\s+([\\w\\-]+)\\s*\\{",beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.module.end.nushell"}},name:"meta.module.nushell",patterns:[{include:"source.nushell"}]},numbers:{match:"(?<![\\w-])[-+]?(?:\\d+|\\d{1,3}(?:_\\d{3})*)(?:\\.\\d*)?(?i:ns|us|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))",name:"constant.numeric.nushell"},"numbers-hexa":{match:"(?<![\\w-])0x[0-9a-fA-F]+(?![\\w.])",name:"constant.numeric.nushell"},operators:{patterns:[{include:"#operators-word"},{include:"#operators-symbols"},{include:"#ranges"}]},"operators-symbols":{match:"(?<= )(?:(?:\\+|\\-|\\*|\\/)=?|\\/\\/|\\*\\*|!=|[<>=]=?|[!=]~|\\+\\+=?)(?= |$)",name:"keyword.control.nushell"},"operators-word":{match:"(?<= |\\()(?:mod|in|not-in|not|and|or|xor|bit-or|bit-and|bit-xor|bit-shl|bit-shr|starts-with|ends-with)(?= |\\)|$)",name:"keyword.control.nushell"},parameters:{captures:{1:{name:"keyword.control.nushell"}},match:"(?<=\\s)(-{1,2})[\\w-]+",name:"variable.parameter.nushell"},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.begin.nushell"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.end.nushell"}},name:"meta.expression.parenthesis.nushell",patterns:[{include:"#expression"}]},"pre-command":{begin:"(\\w+)(=)",beginCaptures:{1:{name:"variable.other.nushell"},2:{patterns:[{include:"#operators"}]}},end:"(?=\\s+)",patterns:[{include:"#value"}]},ranges:{match:"\\.\\.<?",name:"keyword.control.nushell"},spread:{match:"\\.\\.\\.(?=[^\\s\\]}])",name:"keyword.control.nushell"},string:{patterns:[{include:"#string-single-quote"},{include:"#string-backtick"},{include:"#string-double-quote"},{include:"#string-interpolated-double"},{include:"#string-interpolated-single"},{include:"#string-bare"}]},"string-backtick":{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.single.nushell"},"string-bare":{match:`[^$\\[{("',|#\\s|][^\\[\\]{}()"'\\s#,|]*`,name:"string.bare.nushell"},"string-double-quote":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.double.nushell",patterns:[{match:"\\w+"},{include:"#string-escape"}]},"string-escape":{match:`\\\\(?:[bfrnt\\\\'"/]|u[0-9a-fA-F]{4})`,name:"constant.character.escape.nushell"},"string-interpolated-double":{begin:'\\$"',beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.interpolated.double.nushell",patterns:[{match:"\\\\[()]",name:"constant.character.escape.nushell"},{include:"#string-escape"},{include:"#paren-expression"}]},"string-interpolated-single":{begin:"\\$'",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.interpolated.single.nushell",patterns:[{include:"#paren-expression"}]},"string-single-quote":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.single.nushell"},table:{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},name:"meta.table.nushell",patterns:[{include:"#spread"},{include:"#value"},{match:",",name:"punctuation.separator.nushell"}]},types:{patterns:[{begin:"\\b(list)\\s*<",beginCaptures:{1:{name:"entity.name.type.nushell"}},end:">",name:"meta.list.nushell",patterns:[{include:"#types"}]},{begin:"\\b(record)\\s*<",beginCaptures:{1:{name:"entity.name.type.nushell"}},end:">",name:"meta.record.nushell",patterns:[{captures:{1:{name:"variable.parameter.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[^']+')\\s*:\\s*`},{include:"#types"}]},{match:"\\b(\\w+)\\b",name:"entity.name.type.nushell"}]},"use-module":{patterns:[{captures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"},3:{name:"keyword.other.nushell"}},match:`^\\s*((?:export )?use)\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+')(?:\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*))?\\s*;?$`},{begin:`^\\s*((?:export )?use)\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+')\\s*\\[`,beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"}},end:"(\\])\\s*;?\\s*$",endCaptures:{1:{name:"meta.brace.square.end.nushell"}},patterns:[{captures:{1:{name:"keyword.other.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*),?`},{include:"#comment"}]},{captures:{2:{name:"entity.name.function.nushell"},3:{name:"string.bare.nushell",patterns:[{captures:{1:{name:"entity.name.namespace.nushell"}},match:`([\\w\\- ]+)(?:\\.nu)?(?=$|"|')`}]},4:{name:"keyword.other.nushell"}},match:`(?<path>(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+("\\g<path>"|'\\g<path>\\'|(?!["'])\\g<path>)(?:\\s+([\\w\\-]+|"[\\w\\- ]+"|'[^']+'|\\*))?\\s*;?$`},{begin:`(?<path>(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+("\\g<path>"|'\\g<path>\\'|(?!["'])\\g<path>)\\s+\\[`,beginCaptures:{2:{name:"entity.name.function.nushell"},3:{name:"string.bare.nushell",patterns:[{captures:{1:{name:"entity.name.namespace.nushell"}},match:`([\\w\\- ]+)(?:\\.nu)?(?=$|"|')`}]}},end:"(\\])\\s*;?\\s*$",endCaptures:{1:{name:"meta.brace.square.end.nushell"}},patterns:[{captures:{0:{name:"keyword.other.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*),?`},{include:"#comment"}]},{captures:{0:{name:"entity.name.function.nushell"}},match:"^\\s*(?:export )?use\\b"}]},value:{patterns:[{include:"#variables"},{include:"#variable-fields"},{include:"#control-keywords"},{include:"#constant-value"},{include:"#table"},{include:"#operators"},{include:"#paren-expression"},{include:"#braced-expression"},{include:"#string"},{include:"#comment"}]},"variable-fields":{match:'(?<=\\)|\\}|\\])(?:\\.(?:[\\w-]+|"[\\w\\- ]+"))+',name:"variable.other.nushell"},variables:{captures:{1:{patterns:[{include:"#internal-variables"},{match:"\\$.+",name:"variable.other.nushell"}]},2:{name:"variable.other.nushell"}},match:'(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|"[\\w\\- ]+"))*)'}},scopeName:"source.nushell",aliases:["nu"]});var n=[e];export{n as default};
|
|
1
|
+
const e=Object.freeze({displayName:"nushell",name:"nushell",patterns:[{include:"#define-variable"},{include:"#define-alias"},{include:"#function"},{include:"#extern"},{include:"#module"},{include:"#use-module"},{include:"#expression"},{include:"#comment"}],repository:{binary:{begin:"\\b(0x)(\\[)",beginCaptures:{1:{name:"constant.numeric.nushell"},2:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.begin.nushell"}},name:"constant.binary.nushell",patterns:[{match:"[0-9a-fA-F]{2}",name:"constant.numeric.nushell"}]},"braced-expression":{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.block.begin.bracket.curly.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.nushell"}},name:"meta.expression.braced.nushell",patterns:[{begin:"(?<=\\{)\\s*\\|",end:"\\|",name:"meta.closure.parameters.nushell",patterns:[{include:"#function-parameter"}]},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:"(\\w+)\\s*(:)\\s*"},{captures:{1:{name:"variable.other.nushell"},2:{name:"variable.other.nushell",patterns:[{include:"#paren-expression"}]},3:{name:"keyword.control.nushell"}},match:'(\\$"((?:[^"\\\\]|\\\\.)*)")\\s*(:)\\s*',name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:'("(?:[^"\\\\]|\\\\.)*")\\s*(:)\\s*',name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"variable.other.nushell",patterns:[{include:"#paren-expression"}]},3:{name:"keyword.control.nushell"}},match:"(\\$'([^']*)')\\s*(:)\\s*",name:"meta.record-entry.nushell"},{captures:{1:{name:"variable.other.nushell"},2:{name:"keyword.control.nushell"}},match:"('[^']*')\\s*(:)\\s*",name:"meta.record-entry.nushell"},{include:"#spread"},{include:"source.nushell"}]},command:{begin:`(?<!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:"[^"]+"|'[^']+'))`,beginCaptures:{1:{name:"keyword.operator.nushell"},2:{patterns:[{include:"#control-keywords"},{captures:{0:{name:"keyword.other.builtin.nushell"}},match:"(?:ansi|char) \\w+"},{captures:{1:{name:"keyword.other.builtin.nushell"},2:{patterns:[{include:"#value"}]}},comment:"Regex generated with list-to-tree (https://github.com/glcraft/list-to-tree)",match:"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st)|b(?:g|its(?: (?:and|not|or|ro(?:l|r)|sh(?:l|r)|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|starts-with))?)|c(?:al|d|har|l(?:ear|ipboard (?:copy|paste))|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|nu|reset))?|st|tinue))|p|ustom-value (?:generate(?:2)?|update(?:-arg)?))|d(?:ate(?: (?:format|humanize|list-timezone|now|to-(?:record|t(?:able|imezone))))?|e(?:bug(?: info)?|code(?: (?:base64|hex))?|f(?:ault)?|scribe|tect columns)|fr(?: (?:a(?:gg(?:-groups)?|ll-(?:false|true)|ppend|rg-(?:m(?:ax|in)|sort|true|unique|where)|s(?:-date(?:time)?)?)|c(?:a(?:che|st)|o(?:l(?:lect|umns)?|n(?:cat(?:-str|enate)|tains)|unt(?:-null)?)|umulative)|d(?:atepart|rop(?:-(?:duplicates|nulls))?|types|ummies)|exp(?:lode|r-not)|f(?:etch|i(?:l(?:l-n(?:an|ull)|ter(?:-with)?)|rst)|latten)|g(?:et(?:-(?:day|hour|m(?:inute|onth)|nanosecond|ordinal|second|week(?:day)?|year))?|roup-by)|i(?:mplode|nto-(?:df|lazy|nu)|s-(?:duplicated|in|n(?:ot-null|ull)|unique))|join|l(?:ast|it|owercase|s)|m(?:ax|e(?:an|dian|lt)|in)|n(?:-unique|ot)|o(?:pen|therwise)|qu(?:antile|ery)|r(?:e(?:name|place(?:-all)?|verse)|olling)|s(?:ample|chema|e(?:lect|t(?:-with-idx)?)|h(?:ape|ift)|lice|ort-by|t(?:d|r(?:-(?:lengths|slice)|ftime))|um(?:mary)?)|t(?:ake|o-(?:a(?:rrow|vro)|csv|jsonl|parquet))|u(?:nique|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|o|rop(?: (?:column|nth))?|u)|e(?:ach(?: while)?|cho|moji|n(?:code(?: (?:base64|hex))?|umerate)|rror make|very|x(?:ec|it|p(?:l(?:ain|ore)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:e|l|ter)|nd|rst)|latten|mt|or(?:mat(?: (?:d(?:ate|uration)|filesize|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|nuon|ods|p(?:arquet|ng)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|y(?:aml|ml)))?)|g(?:e(?:nerate|t)|lob|r(?:id|oup(?:-by)?)|stat)|h(?:ash(?: (?:md5|sha256))?|e(?:aders|lp(?: (?:aliases|commands|e(?:scapes|xterns)|modules|operators))?)|i(?:de(?:-env)?|ghlight|st(?:o(?:gram|ry(?: session)?))?)|ttp(?: (?:delete|get|head|options|p(?:atch|ost|ut)))?)|i(?:f|gnore|n(?:c|put(?: list(?:en)?)?|s(?:ert|pect)|t(?:erleave|o(?: (?:b(?:i(?:nary|ts)|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:oin|son path|walk)|k(?:eybindings(?: (?:default|list(?:en)?))?|ill)|l(?:a(?:st|zy make)|e(?:ngth|t(?:-env)?)|ines|o(?:ad-env|op)|s)|m(?:at(?:ch|h(?: (?:a(?:bs|rc(?:cos(?:h)?|sin(?:h)?|tan(?:h)?)|vg)|c(?:eil|os(?:h)?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:in(?:h)?|qrt|tddev|um)|tan(?:h)?|variance))?)|e(?:rge|tadata)|k(?:dir|temp)|o(?:dule|ve)|ut|v)|nu-(?:check|example-(?:1|2|3|config)|highlight)|o(?:pen|verlay(?: (?:hide|list|new|use))?)|p(?:a(?:nic|r(?:-each|se)|th(?: (?:basename|dirname|ex(?:ists|pand)|join|parse|relative-to|split|type))?)|eriodic-table|lot|net|ort(?: (?:list|scan))?|r(?:epend|int)|s)|query(?: (?:db|git|json|web|xml))?|r(?:an(?:dom(?: (?:bool|chars|dice|float|int|uuid))?|ge)|e(?:duce|g(?:ex|ist(?:er|ry query))|ject|name|turn|verse)|m|o(?:ll(?: (?:down|left|right|up))?|tate)|un-external)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|leep|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:hars|olumn)|list|row|words)|-by)?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|ontains)|d(?:istance|owncase)|e(?:nds-with|scape-glob|xpand)|index-of|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|imilarity|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase)|eam_example(?: (?:collect-external|s(?:eq|um)))?)?)|ys)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm size)|imeit|o(?: (?:csv|html|json|md|nuon|png|qr|t(?:ext|oml|sv)|xml|yaml)|uch)?|r(?:anspose|y)|utor)|u(?:limit|ni(?:q(?:-by)?|ts)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse))?|se)|v(?:alues|ersion|iew(?: (?:files|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|xyplot|zip)(?![\\w-])( (.*))?"},{captures:{1:{patterns:[{include:"#paren-expression"}]}},match:`(?<=\\^)(?:\\$("[^"]+"|'[^']+')|"[^"]+"|'[^']+')`,name:"entity.name.type.external.nushell"},{captures:{1:{name:"entity.name.type.external.nushell"},2:{patterns:[{include:"#value"}]}},match:"([\\w.]+(?:-[\\w.!]+)*)(?: (.*))?"},{include:"#value"}]}},end:"(?=\\||\\)|\\}|;)|$",name:"meta.command.nushell",patterns:[{include:"#parameters"},{include:"#spread"},{include:"#value"}]},comment:{match:"(#.*)$",name:"comment.nushell"},"constant-keywords":{match:"\\b(?:true|false|null)\\b",name:"constant.language.nushell"},"constant-value":{patterns:[{include:"#constant-keywords"},{include:"#datetime"},{include:"#numbers"},{include:"#numbers-hexa"},{include:"#binary"}]},"control-keywords":{comment:"Regex generated with list-to-tree (https://github.com/glcraft/list-to-tree)",match:"(?<![0-9a-zA-Z_\\-.\\/:\\\\])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![0-9a-zA-Z_\\-.\\/:\\\\])",name:"keyword.control.nushell"},datetime:{match:"\\b\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:\\+\\d{2}:?\\d{2}|Z)?)?\\b",name:"constant.numeric.nushell"},"define-alias":{captures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"},3:{patterns:[{include:"#operators"}]}},match:"((?:export )?alias)\\s+([\\w\\-!]+)\\s*(=)"},"define-variable":{captures:{1:{name:"keyword.other.nushell"},2:{name:"variable.other.nushell"},3:{patterns:[{include:"#operators"}]}},match:"(let|mut|(?:export\\s+)?const)\\s+(\\w+)\\s+(=)"},expression:{patterns:[{include:"#pre-command"},{include:"#for-loop"},{include:"#operators"},{match:"\\|",name:"keyword.control.nushell"},{include:"#control-keywords"},{include:"#constant-value"},{include:"#command"},{include:"#value"}]},extern:{begin:'((?:export\\s+)?extern)\\s+([\\w\\-]+|"[\\w\\- ]+")',beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"}},end:"(?<=\\])",endCaptures:{0:{name:"punctuation.definition.function.end.nushell"}},patterns:[{include:"#function-parameters"}]},"for-loop":{begin:"(for)\\s+(\\$?\\w+)\\s+(in)\\s+(.+)\\s*(\\{)",beginCaptures:{1:{name:"keyword.other.nushell"},2:{name:"variable.other.nushell"},3:{name:"keyword.other.nushell"},4:{patterns:[{include:"#value"}]},5:{name:"punctuation.section.block.begin.bracket.curly.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.bracket.curly.nushell"}},name:"meta.for-loop.nushell",patterns:[{include:"source.nushell"}]},function:{begin:"((?:export\\s+)?def(?:\\s+--\\w+)*)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|`[\\w\\- ]+`)(\\s+--\\w+)*",beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.type.nushell"},3:{name:"entity.name.function.nushell"}},end:"(?<=\\})",patterns:[{include:"#function-parameters"},{include:"#function-body"},{include:"#function-inout"}]},"function-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.function.begin.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.function.end.nushell"}},name:"meta.function.body.nushell",patterns:[{include:"source.nushell"}]},"function-inout":{patterns:[{include:"#types"},{match:"->",name:"keyword.operator.nushell"},{include:"#function-multiple-inout"}]},"function-multiple-inout":{begin:"(?<=]\\s*)(:)\\s+(\\[)",beginCaptures:{1:{name:"punctuation.definition.in-out.nushell"},2:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},patterns:[{include:"#types"},{captures:{1:{name:"punctuation.separator.nushell"}},match:"\\s*(,)\\s*"},{captures:{1:{name:"keyword.operator.nushell"}},match:"\\s+(->)\\s+"}]},"function-parameter":{patterns:[{captures:{1:{name:"keyword.control.nushell"}},match:"(-{0,2}|\\.{3})[\\w-]+(?:\\((-[\\w?])\\))?",name:"variable.parameter.nushell"},{begin:"\\??:\\s*",end:"(?=(?:\\s+(?:-{0,2}|\\.{3})[\\w-]+)|(?:\\s*(?:,|\\]|\\||@|=|#|$)))",patterns:[{include:"#types"}]},{begin:`@(?="|')`,end:`(?<="|')`,patterns:[{include:"#string"}]},{begin:"=\\s*",end:"(?=(?:\\s+-{0,2}[\\w-]+)|(?:\\s*(?:,|\\]|\\||#|$)))",name:"default.value.nushell",patterns:[{include:"#value"}]}]},"function-parameters":{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},name:"meta.function.parameters.nushell",patterns:[{include:"#function-parameter"},{include:"#comment"}]},"internal-variables":{match:"\\$(?:nu|env)\\b",name:"variable.language.nushell"},keyword:{match:"(?:def(?:-env)?)",name:"keyword.other.nushell"},module:{begin:"((?:export\\s+)?module)\\s+([\\w\\-]+)\\s*\\{",beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.module.end.nushell"}},name:"meta.module.nushell",patterns:[{include:"source.nushell"}]},numbers:{match:"(?<![\\w-])[-+]?(?:\\d+|\\d{1,3}(?:_\\d{3})*)(?:\\.\\d*)?(?i:ns|us|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))",name:"constant.numeric.nushell"},"numbers-hexa":{match:"(?<![\\w-])0x[0-9a-fA-F]+(?![\\w.])",name:"constant.numeric.nushell"},operators:{patterns:[{include:"#operators-word"},{include:"#operators-symbols"},{include:"#ranges"}]},"operators-symbols":{match:"(?<= )(?:(?:\\+|\\-|\\*|\\/)=?|\\/\\/|\\*\\*|!=|[<>=]=?|[!=]~|\\+\\+=?)(?= |$)",name:"keyword.control.nushell"},"operators-word":{match:"(?<= |\\()(?:mod|in|not-in|not|and|or|xor|bit-or|bit-and|bit-xor|bit-shl|bit-shr|starts-with|ends-with)(?= |\\)|$)",name:"keyword.control.nushell"},parameters:{captures:{1:{name:"keyword.control.nushell"}},match:"(?<=\\s)(-{1,2})[\\w-]+",name:"variable.parameter.nushell"},"paren-expression":{begin:"\\(",beginCaptures:{0:{name:"meta.brace.round.begin.nushell"}},end:"\\)",endCaptures:{0:{name:"meta.brace.round.end.nushell"}},name:"meta.expression.parenthesis.nushell",patterns:[{include:"#expression"}]},"pre-command":{begin:"(\\w+)(=)",beginCaptures:{1:{name:"variable.other.nushell"},2:{patterns:[{include:"#operators"}]}},end:"(?=\\s+)",patterns:[{include:"#value"}]},ranges:{match:"\\.\\.<?",name:"keyword.control.nushell"},spread:{match:"\\.\\.\\.(?=[^\\s\\]}])",name:"keyword.control.nushell"},string:{patterns:[{include:"#string-single-quote"},{include:"#string-backtick"},{include:"#string-double-quote"},{include:"#string-interpolated-double"},{include:"#string-interpolated-single"},{include:"#string-bare"}]},"string-backtick":{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.single.nushell"},"string-bare":{match:`[^$\\[{("',|#\\s|][^\\[\\]{}()"'\\s#,|]*`,name:"string.bare.nushell"},"string-double-quote":{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.double.nushell",patterns:[{match:"\\w+"},{include:"#string-escape"}]},"string-escape":{match:`\\\\(?:[bfrnt\\\\'"/]|u[0-9a-fA-F]{4})`,name:"constant.character.escape.nushell"},"string-interpolated-double":{begin:'\\$"',beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.interpolated.double.nushell",patterns:[{match:"\\\\[()]",name:"constant.character.escape.nushell"},{include:"#string-escape"},{include:"#paren-expression"}]},"string-interpolated-single":{begin:"\\$'",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.interpolated.single.nushell",patterns:[{include:"#paren-expression"}]},"string-single-quote":{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.nushell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.nushell"}},name:"string.quoted.single.nushell"},table:{begin:"\\[",beginCaptures:{0:{name:"meta.brace.square.begin.nushell"}},end:"\\]",endCaptures:{0:{name:"meta.brace.square.end.nushell"}},name:"meta.table.nushell",patterns:[{include:"#spread"},{include:"#value"},{match:",",name:"punctuation.separator.nushell"}]},types:{patterns:[{begin:"\\b(list)\\s*<",beginCaptures:{1:{name:"entity.name.type.nushell"}},end:">",name:"meta.list.nushell",patterns:[{include:"#types"}]},{begin:"\\b(record)\\s*<",beginCaptures:{1:{name:"entity.name.type.nushell"}},end:">",name:"meta.record.nushell",patterns:[{captures:{1:{name:"variable.parameter.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[^']+')\\s*:\\s*`},{include:"#types"}]},{match:"\\b(\\w+)\\b",name:"entity.name.type.nushell"}]},"use-module":{patterns:[{captures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"},3:{name:"keyword.other.nushell"}},match:`^\\s*((?:export )?use)\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+')(?:\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*))?\\s*;?$`},{begin:`^\\s*((?:export )?use)\\s+([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+')\\s*\\[`,beginCaptures:{1:{name:"entity.name.function.nushell"},2:{name:"entity.name.namespace.nushell"}},end:"(\\])\\s*;?\\s*$",endCaptures:{1:{name:"meta.brace.square.end.nushell"}},patterns:[{captures:{1:{name:"keyword.other.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*),?`},{include:"#comment"}]},{captures:{2:{name:"entity.name.function.nushell"},3:{name:"string.bare.nushell",patterns:[{captures:{1:{name:"entity.name.namespace.nushell"}},match:`([\\w\\- ]+)(?:\\.nu)?(?=$|"|')`}]},4:{name:"keyword.other.nushell"}},match:`(?<path>(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+("\\g<path>"|'\\g<path>\\'|(?!["'])\\g<path>)(?:\\s+([\\w\\-]+|"[\\w\\- ]+"|'[^']+'|\\*))?\\s*;?$`},{begin:`(?<path>(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+("\\g<path>"|'\\g<path>\\'|(?!["'])\\g<path>)\\s+\\[`,beginCaptures:{2:{name:"entity.name.function.nushell"},3:{name:"string.bare.nushell",patterns:[{captures:{1:{name:"entity.name.namespace.nushell"}},match:`([\\w\\- ]+)(?:\\.nu)?(?=$|"|')`}]}},end:"(\\])\\s*;?\\s*$",endCaptures:{1:{name:"meta.brace.square.end.nushell"}},patterns:[{captures:{0:{name:"keyword.other.nushell"}},match:`([\\w\\-]+|"[\\w\\- ]+"|'[\\w\\- ]+'|\\*),?`},{include:"#comment"}]},{captures:{0:{name:"entity.name.function.nushell"}},match:"^\\s*(?:export )?use\\b"}]},value:{patterns:[{include:"#variables"},{include:"#variable-fields"},{include:"#control-keywords"},{include:"#constant-value"},{include:"#table"},{include:"#operators"},{include:"#paren-expression"},{include:"#braced-expression"},{include:"#string"},{include:"#comment"}]},"variable-fields":{match:'(?<=\\)|\\}|\\])(?:\\.(?:[\\w-]+|"[\\w\\- ]+"))+',name:"variable.other.nushell"},variables:{captures:{1:{patterns:[{include:"#internal-variables"},{match:"\\$.+",name:"variable.other.nushell"}]},2:{name:"variable.other.nushell"}},match:'(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|"[\\w\\- ]+"))*)'}},scopeName:"source.nushell",aliases:["nu"]});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Systemd Units",name:"systemd",patterns:[{include:"#comments"},{begin:"^\\s*(InaccessableDirectories|InaccessibleDirectories|ReadOnlyDirectories|ReadWriteDirectories|Capabilities|TableId|UseDomainName|IPv6AcceptRouterAdvertisements|SysVStartPriority|StartLimitInterval|RequiresOverridable|RequisiteOverridable|PropagateReloadTo|PropagateReloadFrom|OnFailureIsolate|BindTo)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"invalid.deprecated"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",patterns:[{include:"#comments"},{include:"#variables"},{include:"#quotedString"},{include:"#booleans"},{include:"#timeSpans"},{include:"#sizes"},{include:"#numbers"}]},{begin:"^\\s*(Environment)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{captures:{1:{name:"variable.parameter"},2:{name:"keyword.operator.assignment"}},match:`(?<=\\G|[\\s"'])([A-Za-z0-9\\_]+)(=)(?=[^\\s"'])`},{include:"#variables"},{include:"#booleans"},{include:"#numbers"}]},{begin:"^\\s*(OnCalendar)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#variables"},{include:"#calendarShorthands"},{include:"#numbers"}]},{begin:"^\\s*(CapabilityBoundingSet|AmbientCapabilities|AddCapability|DropCapability)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#capabilities"}]},{begin:"^\\s*(Restart)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#variables"},{include:"#restartOptions"}]},{begin:"^\\s*(Type)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#variables"},{include:"#typeOptions"}]},{begin:"^\\s*(Exec(?:Start(?:Pre|Post)?|Reload|Stop(?:Post)?))\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#executablePrefixes"},{include:"#variables"},{include:"#quotedString"},{include:"#booleans"},{include:"#numbers"}]},{begin:"^\\s*([\\w\\-\\.]+)\\s*(=)[ \\t]*",beginCaptures:{1:{name:"entity.name.tag"},2:{name:"keyword.operator.assignment"}},end:"(?<!\\\\)\\n",name:"meta.config-entry.systemd",patterns:[{include:"#comments"},{include:"#variables"},{include:"#quotedString"},{include:"#booleans"},{include:"#timeSpans"},{include:"#sizes"},{include:"#numbers"}]},{include:"#sections"}],repository:{booleans:{patterns:[{match:"\\b(?<![-\\/\\.])(true|false|on|off|yes|no)(?![-\\/\\.])\\b",name:"constant.language"}]},calendarShorthands:{patterns:[{match:"\\b(?:minute|hour|dai|month|week|quarter|semiannual)ly\\b",name:"constant.language"}]},capabilities:{patterns:[{match:"\\b(?:CAP_(?:AUDIT_CONTROL|AUDIT_READ|AUDIT_WRITE|BLOCK_SUSPEND|BPF|CHECKPOINT_RESTORE|CHOWN|DAC_OVERRIDE|DAC_READ_SEARCH|FOWNER|FSETID|IPC_LOCK|IPC_OWNER|KILL|LEASE|LINUX_IMMUTABLE|MAC_ADMIN|MAC_OVERRIDE|MKNOD|NET_ADMIN|NET_BIND_SERVICE|NET_BROADCAST|NET_RAW|PERFMON|SETFCAP|SETGID|SETPCAP|SETUID|SYS_ADMIN|SYS_BOOT|SYS_CHROOT|SYS_MODULE|SYS_NICE|SYS_PACCT|SYS_PTRACE|SYS_RAWIO|SYS_RESOURCE|SYS_TIME|SYS_TTY_CONFIG|SYSLOG|WAKE_ALARM))\\b",name:"constant.other.systemd"}]},comments:{patterns:[{match:"^\\s*[#;].*\\n",name:"comment.line.number-sign"}]},executablePrefixes:{patterns:[{match:"\\G([@\\-\\:]+(?:\\+|\\!\\!?)?|(?:\\+|\\!\\!?)[@\\-\\:]*)",name:"keyword.operator.prefix.systemd"}]},numbers:{patterns:[{match:"(?<=\\s|=)\\d+(?:\\.\\d+)?(?=[\\s:]|$)",name:"constant.numeric"}]},quotedString:{patterns:[{begin:"(?<=\\G|\\s)'",end:"['\\n]",name:"string.quoted.single",patterns:[{match:`\\\\(?:[abfnrtvs\\\\"'\\n]|x[0-9A-Fa-f]{2}|[0-8]{3}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})`,name:"constant.character.escape"}]},{begin:'(?<=\\G|\\s)"',end:'["\\n]',name:"string.quoted.double",patterns:[{match:`\\\\(?:[abfnrtvs\\\\"'\\n]|x[0-9A-Fa-f]{2}|[0-8]{3}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})`,name:"constant.character.escape"}]}]},restartOptions:{patterns:[{match:"\\b(no|always|on\\-(?:success|failure|abnormal|abort|watchdog))\\b",name:"constant.language"}]},sections:{patterns:[{match:"^\\s*\\[(Address|Automount|BFIFO|BareUDP|BatmanAdvanced|Bond|Bridge|BridgeFDB|BridgeMDB|BridgeVLAN|CAKE|CAN|Container|Content|ControlledDelay|Coredump|D-BUS Service|DHCP|DHCPPrefixDelegation|DHCPServer|DHCPServerStaticLease|DHCPv4|DHCPv6|DHCPv6PrefixDelegation|DeficitRoundRobinScheduler|DeficitRoundRobinSchedulerClass|Distribution|EnhancedTransmissionSelection|Exec|FairQueueing|FairQueueingControlledDelay|Files|FlowQueuePIE|FooOverUDP|GENEVE|GenericRandomEarlyDetection|HeavyHitterFilter|HierarchyTokenBucket|HierarchyTokenBucketClass|Home|IOCost|IPVLAN|IPVTAP|IPoIB|IPv6AcceptRA|IPv6AddressLabel|IPv6PREF64Prefix|IPv6Prefix|IPv6PrefixDelegation|IPv6RoutePrefix|IPv6SendRA|Image|Install|Journal|Kube|L2TP|L2TPSession|LLDP|Link|Login|MACVLAN|MACVTAP|MACsec|MACsecReceiveAssociation|MACsecReceiveChannel|MACsecTransmitAssociation|Manager|Match|Mount|Neighbor|NetDev|Network|NetworkEmulator|NextHop|OOM|Output|PFIFO|PFIFOFast|PFIFOHeadDrop|PIE|PStore|Packages|Partition|Path|Peer|Pod|QDisc|QuickFairQueueing|QuickFairQueueingClass|Remote|Resolve|Route|RoutingPolicyRule|SR-IOV|Scope|Service|Sleep|Socket|Source|StochasticFairBlue|StochasticFairnessQueueing|Swap|Tap|Target|Time|Timer|TokenBucketFilter|TrafficControlQueueingDiscipline|Transfer|TrivialLinkEqualizer|Tun|Tunnel|UKI|Unit|Upload|VLAN|VRF|VXCAN|VXLAN|Volume|WLAN|WireGuard|WireGuardPeer|Xfrm)\\]",name:"entity.name.section"},{match:"\\s*\\[[\\w-]+\\]",name:"entity.name.unknown-section"}]},sizes:{patterns:[{match:"(?<=\\s|=)\\d+(?:\\.\\d+)?[KMGT](?=[\\s:]|$)",name:"constant.numeric"},{match:"(?<==)infinity(?=[\\s:]|$)",name:"constant.numeric"}]},timeSpans:{patterns:[{match:"\\b(?:\\d+(?:[uμ]s(?:ec)?|ms(?:ec)?|s(?:ec|econds?)?|m(?:in|inutes?)?|h(?:r|ours?)?|d(?:ays?)?|w(?:eeks)?|M|months?|y(?:ears?)?)){1,}\\b",name:"constant.numeric"}]},typeOptions:{patterns:[{match:"\\b(?:simple|exec|forking|oneshot|dbus|notify(?:-reload)?|idle|unicast|local|broadcast|anycast|multicast|blackhole|unreachable|prohibit|throw|nat|xresolve|blackhole|unreachable|prohibit|ad-hoc|station|ap(?:-vlan)?|wds|monitor|mesh-point|p2p-(?:client|go|device)|ocb|nan)\\b",name:"constant.language"}]},variables:{patterns:[{captures:{1:{name:"punctuation.definition.variable.systemd"},2:{name:"variable.other"}},match:"(\\$)([A-Za-z0-9\\_]+)\\b"},{captures:{1:{name:"punctuation.definition.variable.systemd"},2:{name:"variable.other"},3:{name:"punctuation.definition.variable.systemd"}},match:"(\\$\\{)([A-Za-z0-9\\_]+)(\\})"},{match:"%%",name:"constant.other.placeholder"},{match:"%[aAbBCEfgGhHiIjJlLmMnNopPsStTuUvVwW]\\b",name:"constant.other.placeholder"}]}},scopeName:"source.systemd"});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Desktop",name:"desktop",patterns:[{include:"#layout"},{include:"#keywords"},{include:"#values"},{include:"#inCommands"},{include:"#inCategories"}],repository:{inCategories:{patterns:[{match:"(?<=^Categories.*)AudioVideo|(?<=^Categories.*)Audio|(?<=^Categories.*)Video|(?<=^Categories.*)Development|(?<=^Categories.*)Education|(?<=^Categories.*)Game|(?<=^Categories.*)Graphics|(?<=^Categories.*)Network|(?<=^Categories.*)Office|(?<=^Categories.*)Science|(?<=^Categories.*)Settings|(?<=^Categories.*)System|(?<=^Categories.*)Utility",name:"markup.bold"}]},inCommands:{patterns:[{match:"(?<=^Exec.*\\s)-+\\S+",name:"variable.parameter"},{match:"(?<=^Exec.*)\\s\\%[fFuUick]\\s",name:"variable.language"},{match:'".*"',name:"string"}]},keywords:{patterns:[{match:"^Type\\b|^Version\\b|^Name\\b|^GenericName\\b|^NoDisplay\\b|^Comment\\b|^Icon\\b|^Hidden\\b|^OnlyShowIn\\b|^NotShowIn\\b|^DBusActivatable\\b|^TryExec\\b|^Exec\\b|^Path\\b|^Terminal\\b|^Actions\\b|^MimeType\\b|^Categories\\b|^Implements\\b|^Keywords\\b|^StartupNotify\\b|^StartupWMClass\\b|^URL\\b|^PrefersNonDefaultGPU\\b|^Encoding\\b",name:"keyword"},{match:"^X-[A-z 0-9 -]*",name:"keyword.other"},{match:"(?<!^)\\[.+\\]",name:"constant.language"},{match:"^GtkTheme\\b|^MetacityTheme\\b|^IconTheme\\b|^CursorTheme\\b|^ButtonLayout\\b|^ApplicationFont\\b",name:"keyword"}]},layout:{patterns:[{begin:"^\\[Desktop",end:"\\]",name:"markup.heading"},{begin:"^\\[X-\\w*",end:"\\]",name:"markup.heading"},{match:"^\\s*#.*",name:"comment"},{match:";",name:"strong"}]},values:{patterns:[{match:"(?<=^\\S+)=",name:"keyword.operator"},{match:"\\btrue\\b|\\bfalse\\b",name:"variable.other"},{match:"(?<=^Version.*)\\d+(\\.{0,1}\\d*)",name:"variable.other"}]}},scopeName:"source.desktop"});var a=[e];export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as m,A as f,i as
|
|
1
|
+
import{g as m,A as f,i as I,l as a,o as d,c as x,q as v,_}from"./BLD-YeUO.js";import{r as S}from"./5gXNyPeq.js";const g=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({"17f6d088":p.value}));const t=I(),o=u,l=a(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[o.name]?t.nuxtIcon.aliases[o.name]:o.name}),c=a(()=>S(l.value)),p=a(()=>{var s,r;const e=(r=(s=t.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:r.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${c.value.prefix}/${c.value.name}.svg')`}),i=a(()=>{var n,s,r;if(!o.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((s=t.nuxtIcon)!=null&&s.size))return;const e=o.size||((r=t.nuxtIcon)==null?void 0:r.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(d(),x("span",{style:v({width:i.value,height:i.value})},null,4))}}),b=_(g,[["__scopeId","data-v-c763fbb9"]]);export{b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Genie",fileTypes:["gs"],name:"genie",patterns:[{include:"#code"}],repository:{code:{patterns:[{include:"#comments"},{include:"#constants"},{include:"#strings"},{include:"#keywords"},{include:"#types"},{include:"#functions"},{include:"#variables"}]},comments:{patterns:[{captures:{0:{name:"punctuation.definition.comment.vala"}},match:"/\\*\\*/",name:"comment.block.empty.vala"},{include:"text.html.javadoc"},{include:"#comments-inline"}]},"comments-inline":{patterns:[{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.vala"}},end:"\\*/",name:"comment.block.vala"},{captures:{1:{name:"comment.line.double-slash.vala"},2:{name:"punctuation.definition.comment.vala"}},match:"\\s*((//).*$\\n?)"}]},constants:{patterns:[{match:"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b",name:"constant.numeric.vala"},{match:"\\b([A-Z][A-Z0-9_]+)\\b",name:"variable.other.constant.vala"}]},functions:{patterns:[{match:"(\\w+)(?=\\s*(<[\\s\\w.]+>\\s*)?\\()",name:"entity.name.function.vala"}]},keywords:{patterns:[{match:"(?<=^|[^@\\w\\.])(as|do|if|in|is|of|or|to|and|def|for|get|isa|new|not|out|ref|set|try|var|case|dict|else|enum|init|list|lock|null|pass|prop|self|true|uses|void|weak|when|array|async|break|class|const|event|false|final|owned|print|super|raise|while|yield|assert|delete|downto|except|extern|inline|params|public|raises|return|sealed|sizeof|static|struct|typeof|default|dynamic|ensures|finally|private|unowned|virtual|abstract|continue|delegate|internal|override|readonly|requires|volatile|construct|errordomain|interface|namespace|protected|implements)\\b",name:"keyword.vala"},{match:"(?<=^|[^@\\w\\.])(bool|double|float|unichar|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64)\\b",name:"keyword.vala"},{match:"(#if|#elif|#else|#endif)",name:"keyword.vala"}]},strings:{patterns:[{begin:'"""',end:'"""',name:"string.quoted.triple.vala"},{begin:'@"',end:'"',name:"string.quoted.interpolated.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"},{match:"\\$\\w+",name:"constant.character.escape.vala"},{match:"\\$\\(([^)(]|\\(([^)(]|\\([^)]*\\))*\\))*\\)",name:"constant.character.escape.vala"}]},{begin:'"',end:'"',name:"string.quoted.double.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"}]},{begin:"'",end:"'",name:"string.quoted.single.vala",patterns:[{match:"\\\\.",name:"constant.character.escape.vala"}]},{match:"/((\\\\/)|([^/]))*/(?=\\s*[,;)\\.\\n])",name:"string.regexp.vala"}]},types:{patterns:[{match:"(?<=^|[^@\\w\\.])(bool|double|float|unichar|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64)\\b",name:"storage.type.primitive.vala"},{match:"\\b([A-Z]+\\w*)\\b",name:"entity.name.type.vala"}]},variables:{patterns:[{match:"\\b([_a-z]+\\w*)\\b",name:"variable.other.vala"}]}},scopeName:"source.genie"});var a=[e];export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"./CbYhyuC0.js";import n from"./DywwDckn.js";import t from"./BeX7Iu5M.js";import s from"./Dch3xQiY.js";const a=Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:"^\\s*(style)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"punctuation.section.scope.begin.marko.css"}},comment:"CSS style block, eg: style { color: green }",contentName:"source.css",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:"^\\s*(style)\\.(less)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"storage.modifier.marko.css"},3:{name:"punctuation.section.scope.begin.marko.css"}},comment:"Less style block, eg: style.less { color: green }",contentName:"source.less",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:"^\\s*(style)\\.(scss)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"storage.modifier.marko.css"},3:{name:"punctuation.section.scope.begin.marko.css"}},comment:"SCSS style block, eg: style.scss { color: green }",contentName:"source.scss",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:"^\\s*(?:(static )|(?=(?:class|import|export) ))",beginCaptures:{1:{name:"keyword.control.static.marko"}},comment:"Top level blocks parsed as JavaScript",contentName:"source.js",end:"(?=\\n|$)",name:"meta.embedded.js",patterns:[{include:"#javascript-statement"}]},{include:"#content-concise-mode"}],repository:{attrs:{patterns:[{applyEndPatternLast:1,begin:"(?:\\s+|,)(?:(key|on[a-zA-Z0-9_$-]+|[a-zA-Z0-9_$]+Change|no-update(?:-body)?(?:-if)?)|([a-zA-Z0-9_$][a-zA-Z0-9_$-]*))(:[a-zA-Z0-9_$][a-zA-Z0-9_$-]*)?",beginCaptures:{1:{name:"support.type.attribute-name.marko"},2:{name:"entity.other.attribute-name.marko"},3:{name:"support.function.attribute-name.marko"}},comment:"Attribute with optional value",end:"(?=.|$)",name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{applyEndPatternLast:1,begin:"\\s*(:?=)\\s*",beginCaptures:{1:{patterns:[{include:"source.js"}]}},comment:"Attribute value",contentName:"source.js",end:"(?=.|$)",name:"meta.embedded.js",patterns:[{include:"#javascript-expression"}]}]},{applyEndPatternLast:1,begin:"(?:\\s+|,)\\.\\.\\.",beginCaptures:{1:{name:"keyword.operator.spread.marko"}},comment:"A ...spread attribute",contentName:"source.js",end:"(?=.|$)",name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:"\\s*(,(?!,))",captures:{1:{patterns:[{include:"source.js"}]}},comment:"Consume any whitespace after a comma",end:"(?!\\S)"},{include:"#javascript-comment-multiline"},{include:"#invalid"}]},"concise-html-block":{begin:"\\s*(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- HTML block within concise mode content. ---",end:"\\1",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-html-block",patterns:[{include:"#content-html-mode"}]},"concise-html-line":{captures:{1:{name:"punctuation.section.scope.begin.marko"},2:{patterns:[{include:"#html-comments"},{include:"#tag-html"},{match:"\\\\.",name:"string"},{include:"#placeholder"},{match:".+?",name:"string"}]}},comment:"-- HTML line within concise mode content. (content-html-mode w/o scriptlet)",match:"\\s*(--+)(?=\\s+\\S)(.*$)",name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#tag-before-attrs"},{begin:"\\s*\\[",beginCaptures:{0:{name:"punctuation.section.scope.begin.marko"}},end:"]",endCaptures:{0:{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#attrs"},{include:"#invalid"}]},{begin:"(?!^)(?= )",end:"(?=--)|(?<!,)(?=\\n)",patterns:[{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise script content block. ---",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-script-block",patterns:[{include:"#content-embedded-script"}]},"concise-script-line":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise script content line.",end:"$",name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-style-block":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.css",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style"}]},"concise-style-block-less":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.less",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-block-scss":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.scss",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-scss"}]},"concise-style-line":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.css",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style"}]},"concise-style-line-less":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.less",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-line-scss":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.scss",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-scss"}]},"content-concise-mode":{comment:"Concise mode content block.",name:"meta.marko-concise-content",patterns:[{include:"#scriptlet"},{include:"#javascript-comments"},{include:"#html-comments"},{include:"#concise-html-block"},{include:"#concise-html-line"},{include:"#tag-html"},{comment:"A concise html tag.",patterns:[{begin:"^(\\s*)(?=style\\.less\\b)",comment:"Concise style tag less",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=style\\.scss\\b)",comment:"Concise style tag scss",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=style\\b)",comment:"Concise style tag",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=script\\b)",comment:"Concise script tag",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=[a-zA-Z0-9_$@])",comment:"Normal concise tag",patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:"(?=^\\1\\s+(\\S|$))"}]},{include:"#invalid"}]},"content-embedded-script":{name:"meta.embedded.js",patterns:[{include:"#placeholder"},{include:"source.js"}]},"content-embedded-style":{name:"meta.embedded.css",patterns:[{include:"#placeholder"},{include:"source.css"}]},"content-embedded-style-less":{name:"meta.embedded.css.less",patterns:[{include:"#placeholder"},{include:"source.css.less"}]},"content-embedded-style-scss":{name:"meta.embedded.css.scss",patterns:[{include:"#placeholder"},{include:"source.css.scss"}]},"content-html-mode":{comment:"HTML mode content block.",patterns:[{include:"#scriptlet"},{include:"#html-comments"},{include:"#tag-html"},{match:"\\\\.",name:"string"},{include:"#placeholder"},{match:".+?",name:"string"}]},"html-args-or-method":{patterns:[{include:"#javascript-args"},{begin:"(?<=\\))\\s*(?=\\{)",comment:"Attribute method shorthand following parens",contentName:"source.js",end:"(?<=\\})",name:"meta.embedded.js",patterns:[{include:"source.js"}]}]},"html-comments":{patterns:[{begin:"\\s*(<!(--)?)",beginCaptures:{1:{name:"punctuation.definition.comment.marko"}},comment:"HTML comments, doctypes & cdata",end:"\\2>",endCaptures:{0:{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},{begin:"\\s*(<html-comment>)",beginCaptures:{1:{name:"punctuation.definition.comment.marko"}},comment:"Preserved HTML comment tag",end:"</html-comment>",endCaptures:{0:{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"}]},invalid:{match:"[^\\s]",name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-args":{begin:"(?=\\()",comment:"Javascript style arguments",contentName:"source.js",end:"(?<=\\))",name:"meta.embedded.js",patterns:[{include:"source.js"}]},"javascript-comment-line":{captures:{0:{patterns:[{include:"source.js"}]}},comment:"JavaScript // single line comment",contentName:"source.js",match:"\\s*//.*$"},"javascript-comment-multiline":{begin:"\\s*(?=/\\*)",comment:"JavaScript /* block comment */",contentName:"source.js",end:"(?<=\\*/)",patterns:[{include:"source.js"}]},"javascript-comments":{patterns:[{include:"#javascript-comment-multiline"},{include:"#javascript-comment-line"}]},"javascript-enclosed":{comment:"Matches JavaScript content and ensures enclosed blocks are matched.",patterns:[{include:"#javascript-comments"},{include:"#javascript-args"},{begin:"(?={)",end:"(?<=})",patterns:[{include:"source.js"}]},{begin:"(?=\\[)",end:"(?<=])",patterns:[{include:"source.js"}]},{begin:'(?=")',end:'(?<=")',patterns:[{include:"source.js"}]},{begin:"(?=')",end:"(?<=')",patterns:[{include:"source.js"}]},{begin:"(?=`)",end:"(?<=`)",patterns:[{include:"source.js"}]},{begin:"/(?!<[\\]})A-Z0-9.<%]\\s*/)(?!/?>|$)",captures:{0:{name:"string.regexp.js"}},contentName:"source.js",end:"/[gimsuy]*",patterns:[{include:"source.js#regexp"},{include:"source.js"}]},{begin:`(?x)\\s*(?:
|
|
1
|
+
import e from"./CbYhyuC0.js";import n from"./Du6_OKDb.js";import t from"./BeX7Iu5M.js";import s from"./Dch3xQiY.js";const a=Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:"^\\s*(style)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"punctuation.section.scope.begin.marko.css"}},comment:"CSS style block, eg: style { color: green }",contentName:"source.css",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:"^\\s*(style)\\.(less)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"storage.modifier.marko.css"},3:{name:"punctuation.section.scope.begin.marko.css"}},comment:"Less style block, eg: style.less { color: green }",contentName:"source.less",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:"^\\s*(style)\\.(scss)\\s+(\\{)",beginCaptures:{1:{name:"storage.type.marko.css"},2:{name:"storage.modifier.marko.css"},3:{name:"punctuation.section.scope.begin.marko.css"}},comment:"SCSS style block, eg: style.scss { color: green }",contentName:"source.scss",end:"\\}",endCaptures:{0:{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:"^\\s*(?:(static )|(?=(?:class|import|export) ))",beginCaptures:{1:{name:"keyword.control.static.marko"}},comment:"Top level blocks parsed as JavaScript",contentName:"source.js",end:"(?=\\n|$)",name:"meta.embedded.js",patterns:[{include:"#javascript-statement"}]},{include:"#content-concise-mode"}],repository:{attrs:{patterns:[{applyEndPatternLast:1,begin:"(?:\\s+|,)(?:(key|on[a-zA-Z0-9_$-]+|[a-zA-Z0-9_$]+Change|no-update(?:-body)?(?:-if)?)|([a-zA-Z0-9_$][a-zA-Z0-9_$-]*))(:[a-zA-Z0-9_$][a-zA-Z0-9_$-]*)?",beginCaptures:{1:{name:"support.type.attribute-name.marko"},2:{name:"entity.other.attribute-name.marko"},3:{name:"support.function.attribute-name.marko"}},comment:"Attribute with optional value",end:"(?=.|$)",name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{applyEndPatternLast:1,begin:"\\s*(:?=)\\s*",beginCaptures:{1:{patterns:[{include:"source.js"}]}},comment:"Attribute value",contentName:"source.js",end:"(?=.|$)",name:"meta.embedded.js",patterns:[{include:"#javascript-expression"}]}]},{applyEndPatternLast:1,begin:"(?:\\s+|,)\\.\\.\\.",beginCaptures:{1:{name:"keyword.operator.spread.marko"}},comment:"A ...spread attribute",contentName:"source.js",end:"(?=.|$)",name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:"\\s*(,(?!,))",captures:{1:{patterns:[{include:"source.js"}]}},comment:"Consume any whitespace after a comma",end:"(?!\\S)"},{include:"#javascript-comment-multiline"},{include:"#invalid"}]},"concise-html-block":{begin:"\\s*(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- HTML block within concise mode content. ---",end:"\\1",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-html-block",patterns:[{include:"#content-html-mode"}]},"concise-html-line":{captures:{1:{name:"punctuation.section.scope.begin.marko"},2:{patterns:[{include:"#html-comments"},{include:"#tag-html"},{match:"\\\\.",name:"string"},{include:"#placeholder"},{match:".+?",name:"string"}]}},comment:"-- HTML line within concise mode content. (content-html-mode w/o scriptlet)",match:"\\s*(--+)(?=\\s+\\S)(.*$)",name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#tag-before-attrs"},{begin:"\\s*\\[",beginCaptures:{0:{name:"punctuation.section.scope.begin.marko"}},end:"]",endCaptures:{0:{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#attrs"},{include:"#invalid"}]},{begin:"(?!^)(?= )",end:"(?=--)|(?<!,)(?=\\n)",patterns:[{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise script content block. ---",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-script-block",patterns:[{include:"#content-embedded-script"}]},"concise-script-line":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise script content line.",end:"$",name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-style-block":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.css",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style"}]},"concise-style-block-less":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.less",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-block-scss":{begin:"(\\s+)(--+)\\s*$",beginCaptures:{2:{name:"punctuation.section.scope.begin.marko"}},comment:"--- Embedded concise style content block. ---",contentName:"source.scss",end:"(\\2)|(?=^(?!\\1)\\s*\\S)",endCaptures:{1:{name:"punctuation.section.scope.end.marko"}},name:"meta.section.marko-style-block",patterns:[{include:"#content-embedded-style-scss"}]},"concise-style-line":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.css",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style"}]},"concise-style-line-less":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.less",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-less"}]},"concise-style-line-scss":{applyEndPatternLast:1,begin:"\\s*(--+)",beginCaptures:{1:{name:"punctuation.section.scope.begin.marko"}},comment:"-- Embedded concise style content line.",contentName:"source.scss",end:"$",name:"meta.section.marko-style-line",patterns:[{include:"#content-embedded-style-scss"}]},"content-concise-mode":{comment:"Concise mode content block.",name:"meta.marko-concise-content",patterns:[{include:"#scriptlet"},{include:"#javascript-comments"},{include:"#html-comments"},{include:"#concise-html-block"},{include:"#concise-html-line"},{include:"#tag-html"},{comment:"A concise html tag.",patterns:[{begin:"^(\\s*)(?=style\\.less\\b)",comment:"Concise style tag less",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=style\\.scss\\b)",comment:"Concise style tag scss",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=style\\b)",comment:"Concise style tag",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=script\\b)",comment:"Concise script tag",patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:"(?=^\\1\\s+(\\S|$))"},{begin:"^(\\s*)(?=[a-zA-Z0-9_$@])",comment:"Normal concise tag",patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:"(?=^\\1\\s+(\\S|$))"}]},{include:"#invalid"}]},"content-embedded-script":{name:"meta.embedded.js",patterns:[{include:"#placeholder"},{include:"source.js"}]},"content-embedded-style":{name:"meta.embedded.css",patterns:[{include:"#placeholder"},{include:"source.css"}]},"content-embedded-style-less":{name:"meta.embedded.css.less",patterns:[{include:"#placeholder"},{include:"source.css.less"}]},"content-embedded-style-scss":{name:"meta.embedded.css.scss",patterns:[{include:"#placeholder"},{include:"source.css.scss"}]},"content-html-mode":{comment:"HTML mode content block.",patterns:[{include:"#scriptlet"},{include:"#html-comments"},{include:"#tag-html"},{match:"\\\\.",name:"string"},{include:"#placeholder"},{match:".+?",name:"string"}]},"html-args-or-method":{patterns:[{include:"#javascript-args"},{begin:"(?<=\\))\\s*(?=\\{)",comment:"Attribute method shorthand following parens",contentName:"source.js",end:"(?<=\\})",name:"meta.embedded.js",patterns:[{include:"source.js"}]}]},"html-comments":{patterns:[{begin:"\\s*(<!(--)?)",beginCaptures:{1:{name:"punctuation.definition.comment.marko"}},comment:"HTML comments, doctypes & cdata",end:"\\2>",endCaptures:{0:{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},{begin:"\\s*(<html-comment>)",beginCaptures:{1:{name:"punctuation.definition.comment.marko"}},comment:"Preserved HTML comment tag",end:"</html-comment>",endCaptures:{0:{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"}]},invalid:{match:"[^\\s]",name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-args":{begin:"(?=\\()",comment:"Javascript style arguments",contentName:"source.js",end:"(?<=\\))",name:"meta.embedded.js",patterns:[{include:"source.js"}]},"javascript-comment-line":{captures:{0:{patterns:[{include:"source.js"}]}},comment:"JavaScript // single line comment",contentName:"source.js",match:"\\s*//.*$"},"javascript-comment-multiline":{begin:"\\s*(?=/\\*)",comment:"JavaScript /* block comment */",contentName:"source.js",end:"(?<=\\*/)",patterns:[{include:"source.js"}]},"javascript-comments":{patterns:[{include:"#javascript-comment-multiline"},{include:"#javascript-comment-line"}]},"javascript-enclosed":{comment:"Matches JavaScript content and ensures enclosed blocks are matched.",patterns:[{include:"#javascript-comments"},{include:"#javascript-args"},{begin:"(?={)",end:"(?<=})",patterns:[{include:"source.js"}]},{begin:"(?=\\[)",end:"(?<=])",patterns:[{include:"source.js"}]},{begin:'(?=")',end:'(?<=")',patterns:[{include:"source.js"}]},{begin:"(?=')",end:"(?<=')",patterns:[{include:"source.js"}]},{begin:"(?=`)",end:"(?<=`)",patterns:[{include:"source.js"}]},{begin:"/(?!<[\\]})A-Z0-9.<%]\\s*/)(?!/?>|$)",captures:{0:{name:"string.regexp.js"}},contentName:"source.js",end:"/[gimsuy]*",patterns:[{include:"source.js#regexp"},{include:"source.js"}]},{begin:`(?x)\\s*(?:
|
|
2
2
|
(?:\\b(?:new|typeof|instanceof|in)\\b)|
|
|
3
3
|
\\&\\&|\\|\\||
|
|
4
4
|
[\\^|&]|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./CbViG2Xw.js";import c from"./C5gCGmDW.js";import n from"./B2DkETJQ.js";import i from"./RCJZWN-0.js";import t from"./BF6G6X0H.js";import a from"./Bg0wAK5a.js";import s from"./BOnd8D4O.js";import o from"./CbYhyuC0.js";import l from"./DISxKEhY.js";import d from"./DvyTQcux.js";import u from"./DNR26wTC.js";import r from"./BaNxgKSR.js";import m from"./RE3ujT-k.js";import p from"./DS9ZWoKD.js";import b from"./BAMIS8DD.js";import k from"./wChcbJ1V.js";import $ from"./DAGYewaG.js";import g from"./ClXEvkw9.js";import h from"./Dch3xQiY.js";import f from"./CupVZNk8.js";import N from"./CsyrCbsw.js";import v from"./D_T9yQUo.js";import B from"./BIxS-Weu.js";import j from"./Du6_OKDb.js";import C from"./B9S9BZZh.js";import y from"./DHmGyzbM.js";import x from"./RqY_Nz63.js";import q from"./Dwo2i-71.js";import w from"./DwuVtWc2.js";import S from"./BXfENWL6.js";import W from"./CarfVElc.js";import A from"./DGxQkqYo.js";import T from"./CMDmr8et.js";import I from"./vMsNTMhM.js";import _ from"./BeX7Iu5M.js";import O from"./BZfs-ost.js";import z from"./DbK06e1c.js";import P from"./Dez-Qvcc.js";import R from"./BT9ZzGyQ.js";import E from"./DC8MraHL.js";import G from"./CsYA0RN7.js";import"./DouzTJIq.js";import"./BVGdgKAv.js";const M=Object.freeze({displayName:"AsciiDoc",fileTypes:["ad","asc","adoc","asciidoc","adoc.txt"],name:"asciidoc",patterns:[{include:"#comment"},{include:"#callout-list-item"},{include:"#titles"},{include:"#attribute-entry"},{include:"#blocks"},{include:"#block-title"},{include:"#tables"},{include:"#horizontal-rule"},{include:"#list"},{include:"#inlines"},{include:"#block-attribute"},{include:"#line-break"}],repository:{"admonition-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|====)$|^\\p{Blank}*$)",name:"markup.admonition.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(={4,})\\s*$",comment:"example block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]}]},{begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\\:\\p{Blank}+",captures:{1:{name:"entity.name.function.asciidoc"}},end:"^\\p{Blank}*$",name:"markup.admonition.asciidoc",patterns:[{include:"#inlines"}]}]},"anchor-macro":{patterns:[{captures:{1:{name:"support.constant.asciidoc"},2:{name:"markup.blockid.asciidoc"},3:{name:"string.unquoted.asciidoc"},4:{name:"support.constant.asciidoc"}},match:"(?<!\\\\)(?:(\\[{2})([\\p{Alpha}:_][\\p{Word}:.-]*)(?:,\\p{Blank}*(\\S.*?))?(\\]{2}))",name:"markup.other.anchor.asciidoc"},{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.blockid.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(anchor):(\\S+)\\[(.*?[^\\\\])?\\]",name:"markup.other.anchor.asciidoc"}]},"attribute-entry":{patterns:[{begin:"^(:)(!?\\w.*?)(:)(\\p{Blank}+.+\\p{Blank}(?:\\+|\\\\))$",beginCaptures:{1:{name:"punctuation.separator.attribute-entry.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"},3:{name:"punctuation.separator.attribute-entry.asciidoc"},4:{name:"string.unquoted.attribute-value.asciidoc",patterns:[{include:"#inlines"},{include:"#hard-break-backslash"},{include:"#line-break"},{include:"#line-break-backslash"}]}},contentName:"string.unquoted.attribute-value.asciidoc",end:"^\\p{Blank}+.+$(?<!\\+|\\\\)|^\\p{Blank}*$",endCaptures:{0:{name:"string.unquoted.attribute-value.asciidoc"}},name:"meta.definition.attribute-entry.asciidoc",patterns:[{include:"#inlines"},{include:"#hard-break-backslash"},{include:"#line-break"},{include:"#line-break-backslash"}]},{captures:{1:{name:"punctuation.separator.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"},3:{name:"punctuation.separator.asciidoc"},4:{name:"string.unquoted.attribute-value.asciidoc",patterns:[{include:"#inlines"},{include:"#line-break"}]}},match:"^(:)(!?\\w.*?)(:)(\\p{Blank}+(.*))?$",name:"meta.definition.attribute-entry.asciidoc"}]},"attribute-reference":{patterns:[{captures:{2:{name:"entity.name.function.asciidoc"},3:{name:"punctuation.separator.asciidoc"},4:{name:"support.constant.attribute-name.asciidoc"},6:{name:"punctuation.separator.asciidoc"},7:{name:"string.unquoted.attribute-value.asciidoc"}},match:"(?<!\\\\)(\\{)(set|counter2?)(:)([\\p{Alnum}\\-_!]+)((:)(.*?))?(?<!\\\\)(\\})",name:"markup.substitution.attribute-reference.asciidoc"},{match:"(?<!\\\\)(\\{)(\\w+(?:[\\-]\\w+)*)(?<!\\\\)(\\})",name:"markup.substitution.attribute-reference.asciidoc"}]},"bibliography-anchor":{patterns:[{captures:{1:{name:"support.constant.asciidoc"},2:{name:"markup.biblioref.asciidoc"},3:{name:"support.constant.asciidoc"}},match:"(?<!\\\\)(\\[{3})([\\p{Word}:][\\p{Word}:.-]*?)(\\]{3})",name:"bibliography-anchor.asciidoc"}]},"bibtex-macro":{patterns:[{begin:"(?<!\\\\)(citenp:)([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.bibtex.asciidoc"}]},"block-attribute":{patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:`^\\[(|\\p{Blank}*[\\p{Word}\\{,.#"'%].*)\\]$`,name:"markup.heading.block-attribute.asciidoc"}]},"block-attribute-inner":{patterns:[{comment:"separators",match:"([,.#%])",name:"punctuation.separator.asciidoc"},{captures:{0:{name:"markup.meta.attribute-list.asciidoc",patterns:[{include:"#keywords"}]}},comment:"blockname",match:"(?<=\\[)([^\\[\\],.#%=]+)"},{captures:{0:{patterns:[{include:"#attribute-reference"}]}},comment:"attributes",match:`(?<=\\{|,|.|#|"|'|%)([^\\],.#%]+)`,name:"markup.meta.attribute-list.asciidoc"}]},"block-callout":{patterns:[{captures:{2:{name:"constant.other.symbol.asciidoc"},4:{name:"constant.numeric.asciidoc"},5:{name:"constant.other.symbol.asciidoc"}},match:"(?:(?:\\/\\/|#|--|;;) ?)?( )?(?<!\\\\)(<)!?(--|)(\\d+)\\3(>)(?=(?: ?<!?\\3\\d+\\3>)*$)",name:"callout.source.code.asciidoc"}]},"block-title":{patterns:[{begin:"^\\.([^\\p{Blank}.].*)",captures:{1:{name:"markup.heading.blocktitle.asciidoc"}},end:"$"}]},blocks:{patterns:[{include:"#front-matter-block"},{include:"#comment-paragraph"},{include:"#admonition-paragraph"},{include:"#quote-paragraph"},{include:"#listing-paragraph"},{include:"#source-paragraphs"},{include:"#passthrough-paragraph"},{include:"#example-paragraph"},{include:"#sidebar-paragraph"},{include:"#literal-paragraph"},{include:"#open-block"}]},"callout-list-item":{patterns:[{captures:{1:{name:"constant.other.symbol.asciidoc"},2:{name:"constant.numeric.asciidoc"},3:{name:"constant.other.symbol.asciidoc"},4:{patterns:[{include:"#inlines"}]}},match:"^(<)(\\d+)(>)\\p{Blank}+(.*)$",name:"callout.asciidoc"}]},characters:{patterns:[{captures:{1:{name:"constant.character.asciidoc"},3:{name:"constant.character.asciidoc"}},match:"(?<!\\\\)(&)(\\S+?)(;)",name:"markup.character-reference.asciidoc"}]},comment:{patterns:[{begin:"^(/{4,})$",end:"^\\1$",name:"comment.block.asciidoc",patterns:[{include:"#inlines"}]},{match:"^/{2}([^/].*)?$",name:"comment.inline.asciidoc"}]},"comment-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(comment)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--)$|^\\p{Blank}*$)",name:"comment.block.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(comment)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$",patterns:[{include:"#inlines"},{include:"#list"}]},{include:"#inlines"}]}]},emphasis:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.italic.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[(?:[^\\]]+?)\\])?((__)((?!_).+?)(__))",name:"markup.emphasis.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.italic.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?!_{4,}\\s*$)(?<=^|[^\\p{Word};:])(\\[(?:[^\\]]+?)\\])?((_)(\\S|\\S.*?\\S)(_))(?!\\p{Word})",name:"markup.emphasis.constrained.asciidoc"}]},"example-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(example)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|====)$|^\\p{Blank}*$)",name:"markup.block.example.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(example)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(={4,})$",comment:"example block",end:"^(\\1)$",patterns:[{include:"$self"}]},{begin:"^(-{2})$",comment:"open block",end:"^(\\1)$",patterns:[{include:"$self"}]},{include:"#inlines"}]},{begin:"^(={4,})$",end:"^(\\1)$",name:"markup.block.example.asciidoc",patterns:[{include:"$self"}]}]},"footnote-macro":{patterns:[{begin:"(?<!\\\\)footnote(?:(ref):|:([\\w-]+)?)\\[(?:|(.*?[^\\\\]))\\]",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"support.constant.attribute-name.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.other.footnote.asciidoc",patterns:[{include:"#inlines"}]}]},"front-matter-block":{patterns:[{begin:"\\A(-{3}$)",end:"^(\\1)$",name:"markup.block.front-matter.asciidoc",patterns:[{include:"source.yaml"}]}]},"general-block-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"punctuation.separator.asciidoc"},3:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},4:{name:"punctuation.separator.asciidoc"},5:{name:"string.unquoted.asciidoc",patterns:[{include:"#attribute-reference"}]},6:{name:"punctuation.separator.asciidoc"}},match:"^(\\p{Word}+)(::)(\\S*?)(\\[)((?:\\\\\\]|[^\\]])*?)(\\])$",name:"markup.macro.block.general.asciidoc"}]},"hard-break-backslash":{patterns:[{captures:{1:{name:"constant.other.symbol.hard-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\+ \\\\)$"}]},"horizontal-rule":{patterns:[{match:"^(?:'|<){3,}$|^ {0,3}([-\\*'])( *)\\1\\2\\1$",name:"constant.other.symbol.horizontal-rule.asciidoc"}]},"image-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(image|icon):([^:\\[][^\\[]*)\\[((?:\\\\\\]|[^\\]])*?)\\]",name:"markup.macro.image.asciidoc"}]},"include-directive":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"punctuation.separator.asciidoc"},3:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},4:{name:"punctuation.separator.asciidoc"},5:{name:"string.unquoted.asciidoc",patterns:[{include:"#attribute-reference"}]},6:{name:"punctuation.separator.asciidoc"}},match:"^(include)(::)([^\\[]+)(\\[)(.*?)(\\])$"}]},inlines:{patterns:[{include:"#typographic-quotes"},{include:"#strong"},{include:"#monospace"},{include:"#emphasis"},{include:"#superscript"},{include:"#subscript"},{include:"#mark"},{include:"#general-block-macro"},{include:"#anchor-macro"},{include:"#footnote-macro"},{include:"#image-macro"},{include:"#kbd-macro"},{include:"#link-macro"},{include:"#stem-macro"},{include:"#menu-macro"},{include:"#passthrough-macro"},{include:"#xref-macro"},{include:"#attribute-reference"},{include:"#characters"},{include:"#bibtex-macro"},{include:"#bibliography-anchor"}]},"kbd-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(kbd|btn):(\\[)((?:\\\\\\]|[^\\]])+?)(\\])",name:"markup.macro.kbd.asciidoc"}]},keywords:{patterns:[{comment:"Admonition",match:"(NOTE|TIP|IMPORTANT|WARNING|CAUTION)",name:"entity.name.function.asciidoc"},{comment:"Paragraph or verbatim",match:"(comment|example|literal|listing|normal|pass|quote|sidebar|source|verse|abstract|partintro)",name:"entity.name.function.asciidoc"},{comment:"Diagram",match:"(actdiag|blockdiag|ditaa|graphviz|meme|mermaid|nwdiag|packetdiag|pikchr|plantuml|rackdiag|seqdiag|shaape|wavedrom)",name:"entity.name.function.asciidoc"},{comment:"Others",match:"(sect[1-4]|preface|colophon|dedication|glossary|bibliography|synopsis|appendix|index|normal|partintro|music|latex|stem)",name:"entity.name.function.asciidoc"}]},"line-break":{patterns:[{captures:{1:{name:"variable.line-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\+)$"}]},"line-break-backslash":{patterns:[{captures:{1:{name:"variable.line-break.asciidoc"}},match:"(?<=\\S)\\p{Blank}+(\\\\)$"}]},"link-macro":{patterns:[{captures:{1:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},2:{name:"string.unquoted.asciidoc"}},match:"(?:^|<|[\\s>\\(\\)\\[\\];])((?<!\\\\)(?:https?|file|ftp|irc)://[^\\s\\[\\]<]*[^\\s.,\\[\\]<\\)])(?:\\[((?:\\\\\\]|[^\\]])*?)\\])?",name:"markup.other.url.asciidoc"},{captures:{1:{name:"markup.substitution.attribute-reference.asciidoc"},2:{name:"string.unquoted.asciidoc"}},match:"(?:^|<|[\\p{Blank}>\\(\\)\\[\\];])((?<!\\\\)\\{uri-\\w+(?:[\\-]\\w+)*(?<!\\\\)\\})(?:\\[((?:\\\\\\]|[^\\]])*?)\\])",name:"markup.other.url.asciidoc"},{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc",patterns:[{include:"#attribute-reference"}]},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(link|mailto):([^\\s\\[]+)(?:\\[((?:\\\\\\]|[^\\]])*?)\\])",name:"markup.other.url.asciidoc"},{match:"\\p{Word}[\\p{Word}.%+-]*(@)\\p{Alnum}[\\p{Alnum}.-]*(\\.)\\p{Alpha}{2,4}\\b",name:"markup.link.email.asciidoc"}]},list:{patterns:[{captures:{1:{name:"markup.list.bullet.asciidoc"},2:{name:"markup.todo.box.asciidoc"}},match:"^\\s*(-)\\p{Blank}(\\[[\\p{Blank}\\*x]\\])(?=\\p{Blank})",name:"markup.todo.asciidoc"},{captures:{1:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(-|\\*{1,5}|\\u2022{1,5})(?=\\p{Blank})",name:"markup.list.asciidoc"},{captures:{1:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(\\.{1,5}|\\d+\\.|[a-zA-Z]\\.|[IVXivx]+\\))(?=\\p{Blank})",name:"markup.list.asciidoc"},{captures:{1:{patterns:[{include:"#link-macro"},{include:"#attribute-reference"}]},2:{name:"markup.list.bullet.asciidoc"}},match:"^\\p{Blank}*(.*?\\S)(:{2,4}|;;)($|\\p{Blank}+)",name:"markup.heading.list.asciidoc"}]},"listing-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(listing)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--)$|^\\p{Blank}*$)",name:"markup.block.listing.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(listing)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",end:"^(\\1)$"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$"},{include:"#inlines"}]}]},"literal-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(literal)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.)$|^\\p{Blank}*$)",name:"markup.block.literal.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(literal)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\.{4,})$",comment:"literal block",end:"^(\\1)$"},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$"},{include:"#inlines"}]},{begin:"^(\\.{4,})$",end:"^(\\1)$",name:"markup.block.literal.asciidoc"}]},mark:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.mark.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[[^\\]]+?\\])((##)(.+?)(##))",name:"markup.mark.unconstrained.asciidoc"},{captures:{1:{name:"markup.highlight.asciidoc"},2:{name:"punctuation.definition.asciidoc"},4:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)((##)(.+?)(##))",name:"markup.mark.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.mark.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}#])(\\[[^\\]]+?\\])((#)(\\S|\\S.*?\\S)(#)(?!\\p{Word}))",name:"markup.mark.constrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.highlight.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}#])(\\[[^\\]]+?\\])?((#)(\\S|\\S.*?\\S)(#)(?!\\p{Word}))",name:"markup.mark.constrained.asciidoc"}]},"menu-macro":{patterns:[{captures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.link.asciidoc"},3:{name:"string.unquoted.asciidoc"}},match:"(?<!\\\\)(menu):(\\p{Word}|\\p{Word}.*?\\S)\\[\\p{Blank}*(.+?)?\\]",name:"markup.other.menu.asciidoc"}]},monospace:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.raw.monospace.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((``)(.+?)(``))",name:"markup.monospace.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.raw.monospace.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}\"'`])(\\[.+?\\])?((`)(\\S|\\S.*?\\S)(`))(?![\\p{Word}\"'`])",name:"markup.monospace.constrained.asciidoc"}]},"open-block":{patterns:[{begin:"^(-{2})$",beginCaptures:{1:{name:"constant.other.symbol.asciidoc"}},end:"^(\\1)$",endCaptures:{1:{name:"constant.other.symbol.asciidoc"}},name:"markup.block.open.asciidoc",patterns:[{include:"$self"}]}]},"passthrough-macro":{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"support.constant.asciidoc"},4:{name:"string.unquoted.asciidoc",patterns:[{include:"text.html.basic"}]},5:{name:"support.constant.asciidoc"}},match:"(?:(?<!\\\\)(\\[([^\\]]+?)\\]))?(?:\\\\{0,2})(?<delim>\\+{2,3}|\\${2})(.*?)(\\k<delim>)",name:"markup.macro.inline.passthrough.asciidoc"},{begin:"(?<!\\\\)(pass:)([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.passthrough.asciidoc",patterns:[{include:"text.html.basic"}]}]},"passthrough-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(pass)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\+\\+)$|^\\p{Blank}*$)",name:"markup.block.passthrough.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(pass)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\+{4,})\\s*$",comment:"passthrough block",end:"(?<=\\1)",patterns:[{include:"text.html.basic"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)",patterns:[{include:"text.html.basic"}]}]},{begin:"(^\\+{4,}$)",end:"\\1",name:"markup.block.passthrough.asciidoc",patterns:[{include:"text.html.basic"}]}]},"quote-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(quote|verse)((?:,|#|\\.|%)([^,\\]]+))*\\]$)))",end:'((?<=____|""|--)$|^\\p{Blank}*$)',name:"markup.italic.quotes.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(quote|verse)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{include:"#inlines"},{begin:"^([_]{4,})\\s*$",comment:"quotes block",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:'^("{2})\\s*$',comment:"air quotes",end:"(?<=\\1)",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"(?<=\\1)$",patterns:[{include:"#inlines"},{include:"#list"}]}]},{begin:'^("")$',end:"^\\1$",name:"markup.italic.quotes.asciidoc",patterns:[{include:"#inlines"},{include:"#list"}]},{begin:"^\\p{Blank}*(>) ",end:"^\\p{Blank}*?$",name:"markup.italic.quotes.asciidoc",patterns:[{include:"#inlines"},{include:"#list"}]}]},"sidebar-paragraph":{patterns:[{begin:"(?=(?>(?:^\\[(sidebar)((?:,|#|\\.|%)[^\\]]+)*\\]$)))",end:"((?<=--|\\*\\*\\*\\*)$|^\\p{Blank}*$)",name:"markup.block.sidebar.asciidoc",patterns:[{captures:{0:{patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(sidebar)((?:,|#|\\.|%)([^,\\]]+))*\\]$"},{include:"#block-title"},{begin:"^(\\*{4,})$",comment:"sidebar block",end:"^(\\1)$",patterns:[{include:"$self"}]},{begin:"^(-{2})$",comment:"open block",end:"^(\\1)$",patterns:[{include:"$self"}]},{include:"#inlines"}]},{begin:"^(\\*{4,})$",end:"^(\\1)$",name:"markup.block.sidebar.asciidoc",patterns:[{include:"$self"}]}]},"source-asciidoctor":{patterns:[{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(c))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.c.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(c))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.c",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.c"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(clojure))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.clojure.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(clojure))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.clojure",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.clojure"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(coffee-?(script)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.coffee.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(coffee-?(script)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.coffee",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.coffee"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(c(pp|\\+\\+)))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.cpp.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(c(pp|\\+\\+)))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.cpp",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cpp"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(css))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(css))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(cs(harp)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.cs.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(cs(harp)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.cs",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.cs"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(diff|patch|rej))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.diff.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(diff|patch|rej))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.diff",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.diff"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(docker(file)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.dockerfile.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(docker(file)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.dockerfile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.dockerfile"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(elixir))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.elixir.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(elixir))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.elixir",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elixir"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(elm))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.elm.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(elm))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.elm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.elm"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(erlang))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.erlang.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(erlang))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.erlang",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.erlang"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(go(lang)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.go.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(go(lang)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.go",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.go"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(groovy))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.groovy.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(groovy))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.groovy",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.groovy"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(haskell))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.haskell.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(haskell))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.haskell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.haskell"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(html))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.basic.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(html))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.basic",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.basic"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(java))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.java.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(java))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.java",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.java"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(javascript|js))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.js.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(javascript|js))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.js",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(json))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.json.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(json))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.json",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.json"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(jsx))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.js.jsx.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(jsx))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.js.jsx",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.js.jsx"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(julia))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.julia.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(julia))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.julia",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.julia"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(kotlin|kts?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.kotlin.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(kotlin|kts?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.kotlin",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.kotlin"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(less))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.less.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(less))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css.less",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.less"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(make(file)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.makefile.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(make(file)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.makefile",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.makefile"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(markdown|mdown|md))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.gfm.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(markdown|mdown|md))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.gfm",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.gfm"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(mustache))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.mustache.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(mustache))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.mustache",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.mustache"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(objc|objective-c))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.objc.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(objc|objective-c))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.objc",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.objc"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ocaml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ocaml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ocaml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ocaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ocaml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.perl.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.perl",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl6))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.perl6.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(perl6))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.perl6",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.perl6"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(php))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.html.php.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(php))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.html.php",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.html.php"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(properties))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.asciidoc.properties.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(properties))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.asciidoc.properties",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.asciidoc.properties"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(py(thon)?))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.python.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(py(thon)?))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.python",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.python"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(r))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.r.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(r))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.r",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.r"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ruby|rb))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ruby.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ruby|rb))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ruby",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ruby"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(rust|rs))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.rust.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(rust|rs))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.rust",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.rust"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sass))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.sass.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sass))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.sass",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sass"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(scala))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.scala.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(scala))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.scala",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.scala"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(scss))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.css.scss.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(scss))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.css.scss",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.css.scss"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sh|bash|shell))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.shell.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sh|bash|shell))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.shell",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.shell"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(sql))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.sql.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(sql))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.sql",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.sql"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(swift))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.swift.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(swift))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.swift",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.swift"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(toml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.toml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(toml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.toml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.toml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(typescript|ts))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.ts.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(typescript|ts))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.ts",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.ts"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(xml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.xml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(xml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"text.embedded.xml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"text.xml"}]}]},{begin:"(?=(?>(?:^\\[(source)(?:,|#)\\p{Blank}*(?i:(ya?ml))((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",name:"markup.code.yaml.asciidoc",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)(?:,|#)\\p{Blank}*(?i:(ya?ml))((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]},{begin:"^(-{2})\\s*$",comment:"open block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",contentName:"source.embedded.yaml",end:"^(\\1)$",patterns:[{include:"#block-callout"},{include:"#include-directive"},{include:"source.yaml"}]}]},{begin:"(?=(?>(?:^\\[(source)((?:,|#)[^\\]]+)*\\]$)))",end:"((?<=--|\\.\\.\\.\\.)$|^\\p{Blank}*$)",patterns:[{captures:{0:{name:"markup.heading.asciidoc",patterns:[{include:"#block-attribute-inner"}]}},match:"^\\[(source)((?:,|#)([^,\\]]+))*\\]$"},{include:"#inlines"},{include:"#block-title"},{begin:"^(-{4,})\\s*$",comment:"listing block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]},{begin:"^(-{2})\\s*$",comment:"open block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]},{begin:"^(\\.{4})\\s*$",comment:"literal block",end:"^(\\1)$",name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]}]},{begin:"^(-{4,})\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},end:"^(\\1)$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"},{include:"#include-directive"}]}]},"source-markdown":{patterns:[{begin:"^\\s*(`{3,})\\s*(?i:(c))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.c",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.c.asciidoc",patterns:[{include:"#block-callout"},{include:"source.c"}]},{begin:"^\\s*(`{3,})\\s*(?i:(clojure))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.clojure",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.clojure.asciidoc",patterns:[{include:"#block-callout"},{include:"source.clojure"}]},{begin:"^\\s*(`{3,})\\s*(?i:(coffee-?(script)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.coffee",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.coffee.asciidoc",patterns:[{include:"#block-callout"},{include:"source.coffee"}]},{begin:"^\\s*(`{3,})\\s*(?i:(c(pp|\\+\\+)))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.cpp",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.cpp.asciidoc",patterns:[{include:"#block-callout"},{include:"source.cpp"}]},{begin:"^\\s*(`{3,})\\s*(?i:(css))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css"}]},{begin:"^\\s*(`{3,})\\s*(?i:(cs(harp)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.cs",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.cs.asciidoc",patterns:[{include:"#block-callout"},{include:"source.cs"}]},{begin:"^\\s*(`{3,})\\s*(?i:(diff|patch|rej))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.diff",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.diff.asciidoc",patterns:[{include:"#block-callout"},{include:"source.diff"}]},{begin:"^\\s*(`{3,})\\s*(?i:(docker(file)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.dockerfile",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.dockerfile.asciidoc",patterns:[{include:"#block-callout"},{include:"source.dockerfile"}]},{begin:"^\\s*(`{3,})\\s*(?i:(elixir))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.elixir",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.elixir.asciidoc",patterns:[{include:"#block-callout"},{include:"source.elixir"}]},{begin:"^\\s*(`{3,})\\s*(?i:(elm))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.elm",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.elm.asciidoc",patterns:[{include:"#block-callout"},{include:"source.elm"}]},{begin:"^\\s*(`{3,})\\s*(?i:(erlang))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.erlang",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.erlang.asciidoc",patterns:[{include:"#block-callout"},{include:"source.erlang"}]},{begin:"^\\s*(`{3,})\\s*(?i:(go(lang)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.go",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.go.asciidoc",patterns:[{include:"#block-callout"},{include:"source.go"}]},{begin:"^\\s*(`{3,})\\s*(?i:(groovy))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.groovy",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.groovy.asciidoc",patterns:[{include:"#block-callout"},{include:"source.groovy"}]},{begin:"^\\s*(`{3,})\\s*(?i:(haskell))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.haskell",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.haskell.asciidoc",patterns:[{include:"#block-callout"},{include:"source.haskell"}]},{begin:"^\\s*(`{3,})\\s*(?i:(html))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.basic",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.basic.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.basic"}]},{begin:"^\\s*(`{3,})\\s*(?i:(java))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.java",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.java.asciidoc",patterns:[{include:"#block-callout"},{include:"source.java"}]},{begin:"^\\s*(`{3,})\\s*(?i:(javascript|js))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.js",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.js.asciidoc",patterns:[{include:"#block-callout"},{include:"source.js"}]},{begin:"^\\s*(`{3,})\\s*(?i:(json))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.json",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.json.asciidoc",patterns:[{include:"#block-callout"},{include:"source.json"}]},{begin:"^\\s*(`{3,})\\s*(?i:(jsx))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.js.jsx",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.js.jsx.asciidoc",patterns:[{include:"#block-callout"},{include:"source.js.jsx"}]},{begin:"^\\s*(`{3,})\\s*(?i:(julia))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.julia",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.julia.asciidoc",patterns:[{include:"#block-callout"},{include:"source.julia"}]},{begin:"^\\s*(`{3,})\\s*(?i:(kotlin|kts?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.kotlin",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.kotlin.asciidoc",patterns:[{include:"#block-callout"},{include:"source.kotlin"}]},{begin:"^\\s*(`{3,})\\s*(?i:(less))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css.less",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.less.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css.less"}]},{begin:"^\\s*(`{3,})\\s*(?i:(make(file)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.makefile",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.makefile.asciidoc",patterns:[{include:"#block-callout"},{include:"source.makefile"}]},{begin:"^\\s*(`{3,})\\s*(?i:(markdown|mdown|md))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.gfm",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.gfm.asciidoc",patterns:[{include:"#block-callout"},{include:"source.gfm"}]},{begin:"^\\s*(`{3,})\\s*(?i:(mustache))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.mustache",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.mustache.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.mustache"}]},{begin:"^\\s*(`{3,})\\s*(?i:(objc|objective-c))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.objc",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.objc.asciidoc",patterns:[{include:"#block-callout"},{include:"source.objc"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ocaml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ocaml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ocaml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ocaml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(perl))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.perl",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.perl.asciidoc",patterns:[{include:"#block-callout"},{include:"source.perl"}]},{begin:"^\\s*(`{3,})\\s*(?i:(perl6))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.perl6",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.perl6.asciidoc",patterns:[{include:"#block-callout"},{include:"source.perl6"}]},{begin:"^\\s*(`{3,})\\s*(?i:(php))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.html.php",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.html.php.asciidoc",patterns:[{include:"#block-callout"},{include:"text.html.php"}]},{begin:"^\\s*(`{3,})\\s*(?i:(properties))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.asciidoc.properties",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.asciidoc.properties.asciidoc",patterns:[{include:"#block-callout"},{include:"source.asciidoc.properties"}]},{begin:"^\\s*(`{3,})\\s*(?i:(py(thon)?))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.python",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.python.asciidoc",patterns:[{include:"#block-callout"},{include:"source.python"}]},{begin:"^\\s*(`{3,})\\s*(?i:(r))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.r",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.r.asciidoc",patterns:[{include:"#block-callout"},{include:"source.r"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ruby|rb))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ruby",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ruby.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ruby"}]},{begin:"^\\s*(`{3,})\\s*(?i:(rust|rs))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.rust",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.rust.asciidoc",patterns:[{include:"#block-callout"},{include:"source.rust"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sass))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.sass",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.sass.asciidoc",patterns:[{include:"#block-callout"},{include:"source.sass"}]},{begin:"^\\s*(`{3,})\\s*(?i:(scala))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.scala",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.scala.asciidoc",patterns:[{include:"#block-callout"},{include:"source.scala"}]},{begin:"^\\s*(`{3,})\\s*(?i:(scss))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.css.scss",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.css.scss.asciidoc",patterns:[{include:"#block-callout"},{include:"source.css.scss"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sh|bash|shell))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.shell",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.shell.asciidoc",patterns:[{include:"#block-callout"},{include:"source.shell"}]},{begin:"^\\s*(`{3,})\\s*(?i:(sql))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.sql",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.sql.asciidoc",patterns:[{include:"#block-callout"},{include:"source.sql"}]},{begin:"^\\s*(`{3,})\\s*(?i:(swift))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.swift",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.swift.asciidoc",patterns:[{include:"#block-callout"},{include:"source.swift"}]},{begin:"^\\s*(`{3,})\\s*(?i:(toml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.toml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.toml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.toml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(typescript|ts))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.ts",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.ts.asciidoc",patterns:[{include:"#block-callout"},{include:"source.ts"}]},{begin:"^\\s*(`{3,})\\s*(?i:(xml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"text.embedded.xml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.xml.asciidoc",patterns:[{include:"#block-callout"},{include:"text.xml"}]},{begin:"^\\s*(`{3,})\\s*(?i:(ya?ml))\\s*$",beginCaptures:{0:{name:"support.asciidoc"}},contentName:"source.embedded.yaml",end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.code.yaml.asciidoc",patterns:[{include:"#block-callout"},{include:"source.yaml"}]},{begin:"^\\s*(`{3,}).*$",beginCaptures:{0:{name:"support.asciidoc"}},end:"^\\s*\\1\\s*$",endCaptures:{0:{name:"support.asciidoc"}},name:"markup.raw.asciidoc",patterns:[{include:"#block-callout"}]}]},"source-paragraphs":{patterns:[{include:"#source-asciidoctor"},{include:"#source-markdown"}]},"stem-macro":{patterns:[{begin:"(?<!\\\\)(stem|(?:latex|ascii)math):([a-z,]*)(\\[)",beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.macro.inline.stem.asciidoc"}]},strong:{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.bold.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\\\\\)(\\[.+?\\])?((\\*\\*)(.+?)(\\*\\*))",name:"markup.strong.unconstrained.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.bold.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<![\\\\;:\\p{Word}\\*])(\\[.+?\\])?((\\*)(\\S|\\S.*?\\S)(\\*)(?!\\p{Word}))",name:"markup.strong.constrained.asciidoc"}]},subscript:{patterns:[{captures:{1:{name:"markup.meta.sub.attribute-list.asciidoc"},2:{name:"markup.sub.subscript.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((~)(\\S+?)(~))",name:"markup.subscript.asciidoc"}]},superscript:{patterns:[{captures:{1:{name:"markup.meta.super.attribute-list.asciidoc"},2:{name:"markup.super.superscript.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},match:"(?<!\\\\)(\\[.+?\\])?((\\^)(\\S+?)(\\^))",name:"markup.superscript.asciidoc"}]},"table-csv":{patterns:[{begin:"^(,===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.csv.asciidoc",patterns:[{include:"text.csv"},{captures:{0:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator",match:","},{include:"#general-block-macro"}]}]},"table-dsv":{patterns:[{begin:"^(:===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.dsv.asciidoc",patterns:[{captures:{0:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator",match:":"},{include:"#general-block-macro"}]}]},"table-nested":{patterns:[{begin:"^(!===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"markup.table.content.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.nested.asciidoc",patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator and attributes",match:"(^|[^\\p{Blank}\\\\]*)(?<!\\\\)(!)"},{include:"#tables-includes"}]}]},"table-psv":{patterns:[{begin:"^(\\|===)$",beginCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},contentName:"markup.table.content.asciidoc",end:"^(\\1)$",endCaptures:{0:{name:"markup.table.delimiter.asciidoc"}},name:"markup.table.asciidoc",patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},2:{name:"markup.table.cell.delimiter.asciidoc"}},comment:"cell separator and attributes",match:"(^|[^\\p{Blank}\\\\]*)(?<!\\\\)(\\|)"},{include:"#tables-includes"}]}]},tables:{patterns:[{include:"#table-psv"},{include:"#table-nested"},{include:"#table-csv"},{include:"#table-dsv"}]},"tables-includes":{patterns:[{include:"#comment"},{include:"#callout-list-item"},{include:"#attribute-entry"},{include:"#block-title"},{include:"#explicit-paragraph"},{include:"#section"},{include:"#blocks"},{include:"#list"},{include:"#inlines"},{include:"#line-break"}]},titles:{patterns:[{begin:"^((?:=|#){6})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-5.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){5})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-4.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){4})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-3.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){3})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-2.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){2})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-1.asciidoc",patterns:[{include:"$self"}]},{begin:"^((?:=|#){1})([\\p{Blank}]+)(?=\\S+)",beginCaptures:{1:{name:"markup.heading.marker.asciidoc"},2:{name:"markup.heading.space.asciidoc"}},end:"$",name:"markup.heading.heading-0.asciidoc",patterns:[{include:"$self"}]}]},"typographic-quotes":{patterns:[{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},comment:"double-quoted",match:'(?:^|(?<!\\p{Word}|;|:))(\\[([^\\]]+?)\\])?("`)(\\S|\\S.*?\\S)(`")(?!\\p{Word})',name:"markup.italic.quote.typographic-quotes.asciidoc"},{captures:{1:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"punctuation.definition.asciidoc"},5:{name:"punctuation.definition.asciidoc"}},comment:"single-quoted",match:"(?:^|(?<!\\p{Word}|;|:))(\\[([^\\]]+?)\\])?('`)(\\S|\\S.*?\\S)(`')(?!\\p{Word})",name:"markup.italic.quote.typographic-quotes.asciidoc"}]},"xref-macro":{patterns:[{captures:{1:{name:"constant.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"},3:{name:"string.unquoted.asciidoc"},4:{name:"constant.asciidoc"}},match:'(?<!\\\\)(?:(<<)([\\p{Word}":./]+,)?(.*?)(>>))',name:"markup.reference.xref.asciidoc"},{begin:'(?<!\\\\)(xref:)([\\p{Word}":.\\/].*?)(\\[)',beginCaptures:{1:{name:"entity.name.function.asciidoc"},2:{name:"markup.meta.attribute-list.asciidoc"}},contentName:"string.unquoted.asciidoc",end:"\\]|^$",name:"markup.reference.xref.asciidoc"}]}},scopeName:"text.asciidoc",embeddedLangs:["html","yaml","csv","c","clojure","coffee","cpp","css","csharp","diff","docker","elixir","elm","erlang","go","groovy","haskell","java","javascript","json","jsx","julia","kotlin","less","make","objective-c","ocaml","perl","python","r","ruby","rust","sass","scala","scss","shellscript","sql","swift","toml","typescript","xml"],aliases:["adoc"]});var Ae=[...e,...c,...n,...i,...t,...a,...s,...o,...l,...d,...u,...r,...m,...p,...b,...k,...$,...g,...h,...f,...N,...v,...B,...j,...C,...y,...x,...q,...w,...S,...W,...A,...T,...I,..._,...O,...z,...P,...R,...E,...G,M];export{Ae as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"Rust",name:"rust",patterns:[{begin:"(<)(\\[)",beginCaptures:{1:{name:"punctuation.brackets.angle.rust"},2:{name:"punctuation.brackets.square.rust"}},comment:"boxed slice literal",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#gtypes"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},3:{name:"keyword.other.crate.rust"},4:{name:"entity.name.type.metavariable.rust"},6:{name:"keyword.operator.key-value.rust"},7:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro type metavariables",match:"(\\$)((crate)|([A-Z][A-Za-z0-9_]*))((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.type.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},2:{name:"variable.other.metavariable.name.rust"},4:{name:"keyword.operator.key-value.rust"},5:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro metavariables",match:"(\\$)([a-z][A-Za-z0-9_]*)((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"entity.name.function.macro.rules.rust"},3:{name:"entity.name.function.macro.rust"},4:{name:"entity.name.type.macro.rust"},5:{name:"punctuation.brackets.curly.rust"}},comment:"macro rules",match:"\\b(macro_rules!)\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\s+(\\{)",name:"meta.macro.rules.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"entity.name.module.rust"}},comment:"modules",match:"(mod)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)"},{begin:"\\b(extern)\\s+(crate)",beginCaptures:{1:{name:"storage.type.rust"},2:{name:"keyword.other.crate.rust"}},comment:"external crate imports",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.import.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#punctuation"}]},{begin:"\\b(use)\\s",beginCaptures:{1:{name:"keyword.other.rust"}},comment:"use statements",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.use.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#namespaces"},{include:"#punctuation"},{include:"#types"},{include:"#lvariables"}]},{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#types"},{include:"#keywords"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#variables"}],repository:{attributes:{begin:"(#)(\\!?)(\\[)",beginCaptures:{1:{name:"punctuation.definition.attribute.rust"},3:{name:"punctuation.brackets.attribute.rust"}},comment:"attributes",end:"\\]",endCaptures:{0:{name:"punctuation.brackets.attribute.rust"}},name:"meta.attribute.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#strings"},{include:"#gtypes"},{include:"#types"}]},"block-comments":{patterns:[{comment:"empty block comments",match:"/\\*\\*/",name:"comment.block.rust"},{begin:"/\\*\\*",comment:"block documentation comments",end:"\\*/",name:"comment.block.documentation.rust",patterns:[{include:"#block-comments"}]},{begin:"/\\*(?!\\*)",comment:"block comments",end:"\\*/",name:"comment.block.rust",patterns:[{include:"#block-comments"}]}]},comments:{patterns:[{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"documentation comments",match:"(///).*$",name:"comment.line.documentation.rust"},{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"line comments",match:"(//).*$",name:"comment.line.double-slash.rust"}]},constants:{patterns:[{comment:"ALL CAPS constants",match:"\\b[A-Z]{2}[A-Z0-9_]*\\b",name:"constant.other.caps.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"constant.other.caps.rust"}},comment:"constant declarations",match:"\\b(const)\\s+([A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"punctuation.separator.dot.decimal.rust"},2:{name:"keyword.operator.exponent.rust"},3:{name:"keyword.operator.exponent.sign.rust"},4:{name:"constant.numeric.decimal.exponent.mantissa.rust"},5:{name:"entity.name.type.numeric.rust"}},comment:"decimal integers and floats",match:"\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E|e)([+-]?)([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.decimal.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"hexadecimal integers",match:"\\b0x[\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.hex.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"octal integers",match:"\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.oct.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"binary integers",match:"\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.bin.rust"},{comment:"booleans",match:"\\b(true|false)\\b",name:"constant.language.bool.rust"}]},escapes:{captures:{1:{name:"constant.character.escape.backslash.rust"},2:{name:"constant.character.escape.bit.rust"},3:{name:"constant.character.escape.unicode.rust"},4:{name:"constant.character.escape.unicode.punctuation.rust"},5:{name:"constant.character.escape.unicode.punctuation.rust"}},comment:"escapes: ASCII, byte, Unicode, quote, regex",match:"(\\\\)(?:(?:(x[0-7][\\da-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",name:"constant.character.escape.rust"},functions:{patterns:[{captures:{1:{name:"keyword.other.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"pub as a function",match:"\\b(pub)(\\()"},{begin:"\\b(fn)\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\()|(<))",beginCaptures:{1:{name:"keyword.other.fn.rust"},2:{name:"entity.name.function.rust"},4:{name:"punctuation.brackets.round.rust"},5:{name:"punctuation.brackets.angle.rust"}},comment:"function definition",end:"\\{|;",endCaptures:{0:{name:"punctuation.brackets.curly.rust"}},name:"meta.function.definition.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\()",beginCaptures:{1:{name:"entity.name.function.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"function/method calls, chaining",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\()",beginCaptures:{1:{name:"entity.name.function.rust"}},comment:"function/method calls with turbofish",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]}]},gtypes:{patterns:[{comment:"option types",match:"\\b(Some|None)\\b",name:"entity.name.type.option.rust"},{comment:"result types",match:"\\b(Ok|Err)\\b",name:"entity.name.type.result.rust"}]},interpolations:{captures:{1:{name:"punctuation.definition.interpolation.rust"},2:{name:"punctuation.definition.interpolation.rust"}},comment:"curly brace interpolations",match:'({)[^"{}]*(})',name:"meta.interpolation.rust"},keywords:{patterns:[{comment:"control flow keywords",match:"\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\b",name:"keyword.control.rust"},{comment:"storage keywords",match:"\\b(extern|let|macro|mod)\\b",name:"keyword.other.rust storage.type.rust"},{comment:"const keyword",match:"\\b(const)\\b",name:"storage.modifier.rust"},{comment:"type keyword",match:"\\b(type)\\b",name:"keyword.declaration.type.rust storage.type.rust"},{comment:"enum keyword",match:"\\b(enum)\\b",name:"keyword.declaration.enum.rust storage.type.rust"},{comment:"trait keyword",match:"\\b(trait)\\b",name:"keyword.declaration.trait.rust storage.type.rust"},{comment:"struct keyword",match:"\\b(struct)\\b",name:"keyword.declaration.struct.rust storage.type.rust"},{comment:"storage modifiers",match:"\\b(abstract|static)\\b",name:"storage.modifier.rust"},{comment:"other keywords",match:"\\b(as|async|become|box|dyn|move|final|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b",name:"keyword.other.rust"},{comment:"fn",match:"\\bfn\\b",name:"keyword.other.fn.rust"},{comment:"crate",match:"\\bcrate\\b",name:"keyword.other.crate.rust"},{comment:"mut",match:"\\bmut\\b",name:"storage.modifier.mut.rust"},{comment:"logical operators",match:"(\\^|\\||\\|\\||&&|<<|>>|!)(?!=)",name:"keyword.operator.logical.rust"},{comment:"logical AND, borrow references",match:"&(?![&=])",name:"keyword.operator.borrow.and.rust"},{comment:"assignment operators",match:"(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)",name:"keyword.operator.assignment.rust"},{comment:"single equal",match:"(?<![<>])=(?!=|>)",name:"keyword.operator.assignment.equal.rust"},{comment:"comparison operators",match:"(=(=)?(?!>)|!=|<=|(?<!=)>=)",name:"keyword.operator.comparison.rust"},{comment:"math operators",match:"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!>))|(/(?!/))",name:"keyword.operator.math.rust"},{captures:{1:{name:"punctuation.brackets.round.rust"},2:{name:"punctuation.brackets.square.rust"},3:{name:"punctuation.brackets.curly.rust"},4:{name:"keyword.operator.comparison.rust"},5:{name:"punctuation.brackets.round.rust"},6:{name:"punctuation.brackets.square.rust"},7:{name:"punctuation.brackets.curly.rust"}},comment:"less than, greater than (special case)",match:"(?:\\b|(?:(\\))|(\\])|(\\})))[ \\t]+([<>])[ \\t]+(?:\\b|(?:(\\()|(\\[)|(\\{)))"},{comment:"namespace operator",match:"::",name:"keyword.operator.namespace.rust"},{captures:{1:{name:"keyword.operator.dereference.rust"}},comment:"dereference asterisk",match:"(\\*)(?=\\w+)"},{comment:"subpattern binding",match:"@",name:"keyword.operator.subpattern.rust"},{comment:"dot access",match:"\\.(?!\\.)",name:"keyword.operator.access.dot.rust"},{comment:"ranges, range patterns",match:"\\.{2}(=|\\.)?",name:"keyword.operator.range.rust"},{comment:"colon",match:":(?!:)",name:"keyword.operator.key-value.rust"},{comment:"dashrocket, skinny arrow",match:"->",name:"keyword.operator.arrow.skinny.rust"},{comment:"hashrocket, fat arrow",match:"=>",name:"keyword.operator.arrow.fat.rust"},{comment:"dollar macros",match:"\\$",name:"keyword.operator.macro.dollar.rust"},{comment:"question mark operator, questionably sized, macro kleene matcher",match:"\\?",name:"keyword.operator.question.rust"}]},lifetimes:{patterns:[{captures:{1:{name:"punctuation.definition.lifetime.rust"},2:{name:"entity.name.type.lifetime.rust"}},comment:"named lifetime parameters",match:"(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"},{captures:{1:{name:"keyword.operator.borrow.rust"},2:{name:"punctuation.definition.lifetime.rust"},3:{name:"entity.name.type.lifetime.rust"}},comment:"borrowing references to named lifetimes",match:"(\\&)(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"}]},lvariables:{patterns:[{comment:"self",match:"\\b[Ss]elf\\b",name:"variable.language.self.rust"},{comment:"super",match:"\\bsuper\\b",name:"variable.language.super.rust"}]},macros:{patterns:[{captures:{2:{name:"entity.name.function.macro.rust"},3:{name:"entity.name.type.macro.rust"}},comment:"macros",match:"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))",name:"meta.macro.rust"}]},namespaces:{patterns:[{captures:{1:{name:"entity.name.namespace.rust"},2:{name:"keyword.operator.namespace.rust"}},comment:"namespace (non-type, non-function path segment)",match:"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)"}]},punctuation:{patterns:[{comment:"comma",match:",",name:"punctuation.comma.rust"},{comment:"curly braces",match:"[{}]",name:"punctuation.brackets.curly.rust"},{comment:"parentheses, round brackets",match:"[()]",name:"punctuation.brackets.round.rust"},{comment:"semicolon",match:";",name:"punctuation.semi.rust"},{comment:"square brackets",match:"[\\[\\]]",name:"punctuation.brackets.square.rust"},{comment:"angle brackets",match:"(?<!=)[<>]",name:"punctuation.brackets.angle.rust"}]},strings:{patterns:[{begin:'(b?)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.rust"}},comment:"double-quoted strings and byte strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.rust"}},name:"string.quoted.double.rust",patterns:[{include:"#escapes"},{include:"#interpolations"}]},{begin:'(b?r)(#*)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.raw.rust"},3:{name:"punctuation.definition.string.rust"}},comment:"double-quoted raw strings and raw byte strings",end:'(")(\\2)',endCaptures:{1:{name:"punctuation.definition.string.rust"},2:{name:"punctuation.definition.string.raw.rust"}},name:"string.quoted.double.rust"},{begin:"(b)?(')",beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.char.rust"}},comment:"characters and bytes",end:"'",endCaptures:{0:{name:"punctuation.definition.char.rust"}},name:"string.quoted.single.char.rust",patterns:[{include:"#escapes"}]}]},types:{patterns:[{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"numeric types",match:"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\b"},{begin:"\\b(_?[A-Z][A-Za-z0-9_]*)(<)",beginCaptures:{1:{name:"entity.name.type.rust"},2:{name:"punctuation.brackets.angle.rust"}},comment:"parameterized types",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"},{include:"#variables"}]},{comment:"primitive types",match:"\\b(bool|char|str)\\b",name:"entity.name.type.primitive.rust"},{captures:{1:{name:"keyword.declaration.trait.rust storage.type.rust"},2:{name:"entity.name.type.trait.rust"}},comment:"trait declarations",match:"\\b(trait)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.struct.rust storage.type.rust"},2:{name:"entity.name.type.struct.rust"}},comment:"struct declarations",match:"\\b(struct)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.enum.rust storage.type.rust"},2:{name:"entity.name.type.enum.rust"}},comment:"enum declarations",match:"\\b(enum)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.type.rust storage.type.rust"},2:{name:"entity.name.type.declaration.rust"}},comment:"type declarations",match:"\\b(type)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{comment:"types",match:"\\b_?[A-Z][A-Za-z0-9_]*\\b(?!!)",name:"entity.name.type.rust"}]},variables:{patterns:[{comment:"variables",match:"\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b",name:"variable.other.rust"}]}},scopeName:"source.rust",aliases:["rs"]});var t=[e];export{t as default};
|
|
1
|
+
const e=Object.freeze({displayName:"Rust",name:"rust",patterns:[{begin:"(<)(\\[)",beginCaptures:{1:{name:"punctuation.brackets.angle.rust"},2:{name:"punctuation.brackets.square.rust"}},comment:"boxed slice literal",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#gtypes"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},3:{name:"keyword.other.crate.rust"},4:{name:"entity.name.type.metavariable.rust"},6:{name:"keyword.operator.key-value.rust"},7:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro type metavariables",match:"(\\$)((crate)|([A-Z][A-Za-z0-9_]*))((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.type.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"keyword.operator.macro.dollar.rust"},2:{name:"variable.other.metavariable.name.rust"},4:{name:"keyword.operator.key-value.rust"},5:{name:"variable.other.metavariable.specifier.rust"}},comment:"macro metavariables",match:"(\\$)([a-z][A-Za-z0-9_]*)((:)(block|expr|ident|item|lifetime|literal|meta|path?|stmt|tt|ty|vis))?",name:"meta.macro.metavariable.rust",patterns:[{include:"#keywords"}]},{captures:{1:{name:"entity.name.function.macro.rules.rust"},3:{name:"entity.name.function.macro.rust"},4:{name:"entity.name.type.macro.rust"},5:{name:"punctuation.brackets.curly.rust"}},comment:"macro rules",match:"\\b(macro_rules!)\\s+(([a-z0-9_]+)|([A-Z][a-z0-9_]*))\\s+(\\{)",name:"meta.macro.rules.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"entity.name.module.rust"}},comment:"modules",match:"(mod)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)"},{begin:"\\b(extern)\\s+(crate)",beginCaptures:{1:{name:"storage.type.rust"},2:{name:"keyword.other.crate.rust"}},comment:"external crate imports",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.import.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#punctuation"}]},{begin:"\\b(use)\\s",beginCaptures:{1:{name:"keyword.other.rust"}},comment:"use statements",end:";",endCaptures:{0:{name:"punctuation.semi.rust"}},name:"meta.use.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#namespaces"},{include:"#punctuation"},{include:"#types"},{include:"#lvariables"}]},{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#types"},{include:"#keywords"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#variables"}],repository:{attributes:{begin:"(#)(\\!?)(\\[)",beginCaptures:{1:{name:"punctuation.definition.attribute.rust"},3:{name:"punctuation.brackets.attribute.rust"}},comment:"attributes",end:"\\]",endCaptures:{0:{name:"punctuation.brackets.attribute.rust"}},name:"meta.attribute.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#strings"},{include:"#gtypes"},{include:"#types"}]},"block-comments":{patterns:[{comment:"empty block comments",match:"/\\*\\*/",name:"comment.block.rust"},{begin:"/\\*\\*",comment:"block documentation comments",end:"\\*/",name:"comment.block.documentation.rust",patterns:[{include:"#block-comments"}]},{begin:"/\\*(?!\\*)",comment:"block comments",end:"\\*/",name:"comment.block.rust",patterns:[{include:"#block-comments"}]}]},comments:{patterns:[{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"documentation comments",match:"(///).*$",name:"comment.line.documentation.rust"},{captures:{1:{name:"punctuation.definition.comment.rust"}},comment:"line comments",match:"(//).*$",name:"comment.line.double-slash.rust"}]},constants:{patterns:[{comment:"ALL CAPS constants",match:"\\b[A-Z]{2}[A-Z0-9_]*\\b",name:"constant.other.caps.rust"},{captures:{1:{name:"storage.type.rust"},2:{name:"constant.other.caps.rust"}},comment:"constant declarations",match:"\\b(const)\\s+([A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"punctuation.separator.dot.decimal.rust"},2:{name:"keyword.operator.exponent.rust"},3:{name:"keyword.operator.exponent.sign.rust"},4:{name:"constant.numeric.decimal.exponent.mantissa.rust"},5:{name:"entity.name.type.numeric.rust"}},comment:"decimal integers and floats",match:"\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E|e)([+-]?)([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.decimal.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"hexadecimal integers",match:"\\b0x[\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.hex.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"octal integers",match:"\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.oct.rust"},{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"binary integers",match:"\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",name:"constant.numeric.bin.rust"},{comment:"booleans",match:"\\b(true|false)\\b",name:"constant.language.bool.rust"}]},escapes:{captures:{1:{name:"constant.character.escape.backslash.rust"},2:{name:"constant.character.escape.bit.rust"},3:{name:"constant.character.escape.unicode.rust"},4:{name:"constant.character.escape.unicode.punctuation.rust"},5:{name:"constant.character.escape.unicode.punctuation.rust"}},comment:"escapes: ASCII, byte, Unicode, quote, regex",match:"(\\\\)(?:(?:(x[0-7][\\da-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",name:"constant.character.escape.rust"},functions:{patterns:[{captures:{1:{name:"keyword.other.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"pub as a function",match:"\\b(pub)(\\()"},{begin:"\\b(fn)\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\()|(<))",beginCaptures:{1:{name:"keyword.other.fn.rust"},2:{name:"entity.name.function.rust"},4:{name:"punctuation.brackets.round.rust"},5:{name:"punctuation.brackets.angle.rust"}},comment:"function definition",end:"\\{|;",endCaptures:{0:{name:"punctuation.brackets.curly.rust"}},name:"meta.function.definition.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\()",beginCaptures:{1:{name:"entity.name.function.rust"},2:{name:"punctuation.brackets.round.rust"}},comment:"function/method calls, chaining",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]},{begin:"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::<.*>\\()",beginCaptures:{1:{name:"entity.name.function.rust"}},comment:"function/method calls with turbofish",end:"\\)",endCaptures:{0:{name:"punctuation.brackets.round.rust"}},name:"meta.function.call.rust",patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#attributes"},{include:"#keywords"},{include:"#lvariables"},{include:"#constants"},{include:"#gtypes"},{include:"#functions"},{include:"#lifetimes"},{include:"#macros"},{include:"#namespaces"},{include:"#punctuation"},{include:"#strings"},{include:"#types"},{include:"#variables"}]}]},gtypes:{patterns:[{comment:"option types",match:"\\b(Some|None)\\b",name:"entity.name.type.option.rust"},{comment:"result types",match:"\\b(Ok|Err)\\b",name:"entity.name.type.result.rust"}]},interpolations:{captures:{1:{name:"punctuation.definition.interpolation.rust"},2:{name:"punctuation.definition.interpolation.rust"}},comment:"curly brace interpolations",match:'({)[^"{}]*(})',name:"meta.interpolation.rust"},keywords:{patterns:[{comment:"control flow keywords",match:"\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\b",name:"keyword.control.rust"},{comment:"storage keywords",match:"\\b(extern|let|macro|mod)\\b",name:"keyword.other.rust storage.type.rust"},{comment:"const keyword",match:"\\b(const)\\b",name:"storage.modifier.rust"},{comment:"type keyword",match:"\\b(type)\\b",name:"keyword.declaration.type.rust storage.type.rust"},{comment:"enum keyword",match:"\\b(enum)\\b",name:"keyword.declaration.enum.rust storage.type.rust"},{comment:"trait keyword",match:"\\b(trait)\\b",name:"keyword.declaration.trait.rust storage.type.rust"},{comment:"struct keyword",match:"\\b(struct)\\b",name:"keyword.declaration.struct.rust storage.type.rust"},{comment:"storage modifiers",match:"\\b(abstract|static)\\b",name:"storage.modifier.rust"},{comment:"other keywords",match:"\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b",name:"keyword.other.rust"},{comment:"fn",match:"\\bfn\\b",name:"keyword.other.fn.rust"},{comment:"crate",match:"\\bcrate\\b",name:"keyword.other.crate.rust"},{comment:"mut",match:"\\bmut\\b",name:"storage.modifier.mut.rust"},{comment:"logical operators",match:"(\\^|\\||\\|\\||&&|<<|>>|!)(?!=)",name:"keyword.operator.logical.rust"},{comment:"logical AND, borrow references",match:"&(?![&=])",name:"keyword.operator.borrow.and.rust"},{comment:"assignment operators",match:"(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)",name:"keyword.operator.assignment.rust"},{comment:"single equal",match:"(?<![<>])=(?!=|>)",name:"keyword.operator.assignment.equal.rust"},{comment:"comparison operators",match:"(=(=)?(?!>)|!=|<=|(?<!=)>=)",name:"keyword.operator.comparison.rust"},{comment:"math operators",match:"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!>))|(/(?!/))",name:"keyword.operator.math.rust"},{captures:{1:{name:"punctuation.brackets.round.rust"},2:{name:"punctuation.brackets.square.rust"},3:{name:"punctuation.brackets.curly.rust"},4:{name:"keyword.operator.comparison.rust"},5:{name:"punctuation.brackets.round.rust"},6:{name:"punctuation.brackets.square.rust"},7:{name:"punctuation.brackets.curly.rust"}},comment:"less than, greater than (special case)",match:"(?:\\b|(?:(\\))|(\\])|(\\})))[ \\t]+([<>])[ \\t]+(?:\\b|(?:(\\()|(\\[)|(\\{)))"},{comment:"namespace operator",match:"::",name:"keyword.operator.namespace.rust"},{captures:{1:{name:"keyword.operator.dereference.rust"}},comment:"dereference asterisk",match:"(\\*)(?=\\w+)"},{comment:"subpattern binding",match:"@",name:"keyword.operator.subpattern.rust"},{comment:"dot access",match:"\\.(?!\\.)",name:"keyword.operator.access.dot.rust"},{comment:"ranges, range patterns",match:"\\.{2}(=|\\.)?",name:"keyword.operator.range.rust"},{comment:"colon",match:":(?!:)",name:"keyword.operator.key-value.rust"},{comment:"dashrocket, skinny arrow",match:"->",name:"keyword.operator.arrow.skinny.rust"},{comment:"hashrocket, fat arrow",match:"=>",name:"keyword.operator.arrow.fat.rust"},{comment:"dollar macros",match:"\\$",name:"keyword.operator.macro.dollar.rust"},{comment:"question mark operator, questionably sized, macro kleene matcher",match:"\\?",name:"keyword.operator.question.rust"}]},lifetimes:{patterns:[{captures:{1:{name:"punctuation.definition.lifetime.rust"},2:{name:"entity.name.type.lifetime.rust"}},comment:"named lifetime parameters",match:"(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"},{captures:{1:{name:"keyword.operator.borrow.rust"},2:{name:"punctuation.definition.lifetime.rust"},3:{name:"entity.name.type.lifetime.rust"}},comment:"borrowing references to named lifetimes",match:"(\\&)(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b"}]},lvariables:{patterns:[{comment:"self",match:"\\b[Ss]elf\\b",name:"variable.language.self.rust"},{comment:"super",match:"\\bsuper\\b",name:"variable.language.super.rust"}]},macros:{patterns:[{captures:{2:{name:"entity.name.function.macro.rust"},3:{name:"entity.name.type.macro.rust"}},comment:"macros",match:"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))",name:"meta.macro.rust"}]},namespaces:{patterns:[{captures:{1:{name:"entity.name.namespace.rust"},2:{name:"keyword.operator.namespace.rust"}},comment:"namespace (non-type, non-function path segment)",match:"(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)"}]},punctuation:{patterns:[{comment:"comma",match:",",name:"punctuation.comma.rust"},{comment:"curly braces",match:"[{}]",name:"punctuation.brackets.curly.rust"},{comment:"parentheses, round brackets",match:"[()]",name:"punctuation.brackets.round.rust"},{comment:"semicolon",match:";",name:"punctuation.semi.rust"},{comment:"square brackets",match:"[\\[\\]]",name:"punctuation.brackets.square.rust"},{comment:"angle brackets",match:"(?<!=)[<>]",name:"punctuation.brackets.angle.rust"}]},strings:{patterns:[{begin:'(b?)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.rust"}},comment:"double-quoted strings and byte strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.rust"}},name:"string.quoted.double.rust",patterns:[{include:"#escapes"},{include:"#interpolations"}]},{begin:'(b?r)(#*)(")',beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.string.raw.rust"},3:{name:"punctuation.definition.string.rust"}},comment:"double-quoted raw strings and raw byte strings",end:'(")(\\2)',endCaptures:{1:{name:"punctuation.definition.string.rust"},2:{name:"punctuation.definition.string.raw.rust"}},name:"string.quoted.double.rust"},{begin:"(b)?(')",beginCaptures:{1:{name:"string.quoted.byte.raw.rust"},2:{name:"punctuation.definition.char.rust"}},comment:"characters and bytes",end:"'",endCaptures:{0:{name:"punctuation.definition.char.rust"}},name:"string.quoted.single.char.rust",patterns:[{include:"#escapes"}]}]},types:{patterns:[{captures:{1:{name:"entity.name.type.numeric.rust"}},comment:"numeric types",match:"(?<![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\b"},{begin:"\\b(_?[A-Z][A-Za-z0-9_]*)(<)",beginCaptures:{1:{name:"entity.name.type.rust"},2:{name:"punctuation.brackets.angle.rust"}},comment:"parameterized types",end:">",endCaptures:{0:{name:"punctuation.brackets.angle.rust"}},patterns:[{include:"#block-comments"},{include:"#comments"},{include:"#keywords"},{include:"#lvariables"},{include:"#lifetimes"},{include:"#punctuation"},{include:"#types"},{include:"#variables"}]},{comment:"primitive types",match:"\\b(bool|char|str)\\b",name:"entity.name.type.primitive.rust"},{captures:{1:{name:"keyword.declaration.trait.rust storage.type.rust"},2:{name:"entity.name.type.trait.rust"}},comment:"trait declarations",match:"\\b(trait)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.struct.rust storage.type.rust"},2:{name:"entity.name.type.struct.rust"}},comment:"struct declarations",match:"\\b(struct)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.enum.rust storage.type.rust"},2:{name:"entity.name.type.enum.rust"}},comment:"enum declarations",match:"\\b(enum)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{captures:{1:{name:"keyword.declaration.type.rust storage.type.rust"},2:{name:"entity.name.type.declaration.rust"}},comment:"type declarations",match:"\\b(type)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b"},{comment:"types",match:"\\b_?[A-Z][A-Za-z0-9_]*\\b(?!!)",name:"entity.name.type.rust"}]},variables:{patterns:[{comment:"variables",match:"\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b",name:"variable.other.rust"}]}},scopeName:"source.rust",aliases:["rs"]});var t=[e];export{t as default};
|