@shikijs/langs-precompiled 3.9.1 → 3.10.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/asciidoc.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/swift.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/package.json +3 -3
package/dist/fsharp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import markdown from './markdown.mjs'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"F#",name:"fsharp",patterns:[{include:"#compiler_directives"},{include:"#comments"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#definition"},{include:"#abstract_definition"},{include:"#attributes"},{include:"#modules"},{include:"#anonymous_functions"},{include:"#du_declaration"},{include:"#record_declaration"},{include:"#records"},{include:"#strp_inlined"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}],repository:{abstract_definition:{begin:/\b(static\p{space}+)?(abstract)\p{space}+(member)?(\p{space}+\[<[^\n]*>\])?\p{space}*([\,\.0-9_\`\p{Alpha}\p{space}]+)(<)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"keyword.fsharp"},"4":{name:"support.function.attribute.fsharp"},"5":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(with)\b|=|(?=\n?$)/dgv,endCaptures:{"1":{name:"keyword.fsharp"}},name:"abstract.definition.fsharp",patterns:[{include:"#comments"},{include:"#common_declaration"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.type.fsharp"}},match:/(\??)([ '\.0-9\^_\`\p{Alpha}]+)\p{space}*(:)((?!with\b)\b([ '\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+))?/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words isn't blacklisted",match:/(?!with|get|set\b)\p{space}*(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#keywords"}]},anonymous_functions:{patterns:[{begin:/\b(fun)\b/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/(->)/dgv,endCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"}},name:"function.anonymous",patterns:[{include:"#comments"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(?=(->))/dgv,endCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"}},patterns:[{include:"#member_declaration"}]},{include:"#variables"}]}]},anonymous_record_declaration:{begin:/(\{\|)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\|\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(:)/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#anonymous_record_declaration"},{include:"#keywords"}]},attributes:{patterns:[{begin:/\[</dgv,end:/>?\]/dgv,name:"support.function.attribute.fsharp",patterns:[{include:"$self"}]}]},cexprs:{patterns:[{captures:{"0":{name:"keyword.fsharp"}},match:/\b(async|seq|promise|task|maybe|asyncMaybe|controller|scope|application|pipeline)(?=\p{space}*\{)/dgv,name:"cexpr.fsharp"}]},chars:{patterns:[{captures:{"1":{name:"string.quoted.single.fsharp"}},match:/('\\?[^\n]')/dgv,name:"char.fsharp"}]},comments:{patterns:[{beginCaptures:{"1":{name:"comment.block.fsharp"}},match:/(\(\*{3}[^\n]*\*{3}\))/dgv,name:"comment.literate.command.fsharp"},{begin:/^\p{space}*(\(\*\*(?!\)))((?!\*\))[^\n])*(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.block.fsharp"}},endCaptures:{"1":{name:"comment.block.fsharp"}},name:"comment.block.markdown.fsharp",patterns:[{include:"text.html.markdown"}],while:/^(?!\p{space}*(\*)+\)\p{space}*(?=\n?$))/dgv},{begin:/(\(\*(?!\)))/dgv,beginCaptures:{"1":{name:"comment.block.fsharp"}},end:/(\*+\))/dgv,endCaptures:{"1":{name:"comment.block.fsharp"}},name:"comment.block.fsharp",patterns:[{comments:"Capture // when inside of (* *) like that the rule which capture comments starting by // is not trigger. See https://github.com/ionide/ionide-fsgrammar/issues/155",match:/\/\//dgv,name:"fast-capture.comment.line.double-slash.fsharp"},{comments:"Capture (*) when inside of (* *) so that it doesn't prematurely end the comment block.",match:/\(\*\)/dgv,name:"fast-capture.comment.line.mul-operator.fsharp"},{include:"#comments"}]},{captures:{"1":{name:"comment.block.fsharp"}},match:/((?<!\()(\*)+\))/dgv,name:"comment.block.markdown.fsharp.end"},{begin:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/\/(?!\/)/dgv,name:"comment.line.markdown.fsharp",patterns:[{include:"text.html.markdown"}],while:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/\/(?!\/)/dgv},{match:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/([^\n]*)(?=\n?$)/dgv,name:"comment.line.double-slash.fsharp"}]},common_binding_definition:{patterns:[{include:"#comments"},{include:"#attributes"},{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))\p{space}*((?=,)|(?==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{begin:/(:)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\)\p{space}*(([ '\.0-9\?\^_\`\p{Alpha}]*)))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(:)\p{space}*(\^['\.0-9_\p{Alpha}]+)\p{space}*(when)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"},"3":{name:"keyword.fsharp"}},end:/(?=:)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\^_\p{Alpha}]+)/dgv},{match:/([\(\)])/dgv,name:"keyword.symbol.fsharp"}]},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},match:/(:)\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)/dgv},{captures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"entity.name.type.fsharp"}},match:/(->)\p{space}*(\()?\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)*/dgv},{begin:/(\*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\)\p{space}*(([ '\.0-9\?\^_\`\p{Alpha}]+))*)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(\*)(\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+))*/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},end:/(?==)|(?=\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(<+(?!\p{space}*\)))/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},beginComment:"The group (?![[:space:]]*\\) is for protection against overload operator. static member (<)",end:/((?<!:)>|\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},endComment:"The group (?<!:) prevent us from stopping on :> when using SRTP synthax",patterns:[{include:"#generic_declaration"}]},{include:"#anonymous_record_declaration"},{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#record_signature"}]},{include:"#definition"},{include:"#variables"},{include:"#keywords"}]},common_declaration:{patterns:[{begin:/\p{space}*(->)\p{space}*([ '\.0-9\^_\`\p{Alpha}]+)(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"entity.name.type.fsharp"},"3":{name:"keyword.symbol.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]},{captures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"entity.name.type.fsharp"}},match:/\p{space}*(->)\p{space}*(?!with|get|set\b)\b(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#anonymous_record_declaration"},{begin:/(\??)([ '\.0-9\^_\`\p{Alpha}]+)\p{space}*(:)(\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)(<))/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"keyword.symbol.fsharp"},"5":{name:"entity.name.type.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]}]},compiler_directives:{patterns:[{captures:{},match:/\p{space}?(#(?:if|elif|elseif|else|endif|light|nowarn))/dgv,name:"keyword.control.directive.fsharp"}]},constants:{patterns:[{match:/\(\)/dgv,name:"keyword.symbol.fsharp"},{match:/\b-?[0-9][0-9_]*((\.(?!\.)([0-9][0-9_]*([Ee][\-\+]??[0-9][0-9_]*)?)?)|([Ee][\-\+]??[0-9][0-9_]*))/dgv,name:"constant.numeric.float.fsharp"},{match:/\b(-?((0([Xx])\p{AHex}[_\p{AHex}]*)|(0([Oo])[0-7][0-7_]*)|(0([Bb])[01][01_]*)|([0-9][0-9_]*)))/dgv,name:"constant.numeric.integer.nativeint.fsharp"},{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.fsharp"},{match:/\b(null|void)\b/dgv,name:"constant.other.fsharp"}]},definition:{patterns:[{begin:/\b(let mutable|static let mutable|static let|let inline|let|and|member val|member inline|static member inline|static member val|static member|default|member|override|let!)(\p{space}+rec|mutable)?(\p{space}+\[<[^\n]*>\])?\p{space}*(private|internal|public)?\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"support.function.attribute.fsharp"},"4":{name:"storage.modifier.fsharp"},"5":{name:"variable.fsharp"}},end:/\p{space}*((with)\b|(=|\n+=|(?<==)))/dgv,endCaptures:{"2":{name:"keyword.fsharp"},"3":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(use!??|and!??)\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/\p{space}*(=)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/(?<=with|and)\p{space}*\b(([gs]et)\p{space}*(?=\())(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"4":{name:"variable.fsharp"}},end:/\p{space}*(=|\n+=|(?<==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(static val mutable|val mutable|val inline|val)(\p{space}+rec|mutable)?(\p{space}+\[<[^\n]*>\])?\p{space}*(private|internal|public)?\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\,\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\,\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"support.function.attribute.fsharp"},"4":{name:"storage.modifier.fsharp"},"5":{name:"variable.fsharp"}},end:/\n(?=\n?$)/dgv,name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(new)\b\p{space}+(\()/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]}]},double_tick:{patterns:[{captures:{"1":{name:"string.quoted.single.fsharp"},"2":{name:"variable.other.binding.fsharp"},"3":{name:"string.quoted.single.fsharp"}},match:/(``)([^\`]*)(``)/dgv,name:"variable.other.binding.fsharp"}]},du_declaration:{patterns:[{begin:/\b(of)\b/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/(?=\n?$)|(\|)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"du_declaration.fsharp",patterns:[{include:"#comments"},{captures:{"1":{name:"variable.parameter.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)\p{space}*(:)\p{space}*(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(``([ '\.0-9\^_\p{Alpha}]+)``|['\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#anonymous_record_declaration"},{include:"#keywords"}]}]},generic_declaration:{patterns:[{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{match:/\b(private|to|public|internal|function|yield!?|class|exception|match|delegate|of|new|in|as|if|then|else|elif|for|begin|end|inherit|do|let!|return!?|interface|with|abstract|enum|member|try|finally|and|when|or|use!??|struct|while|mutable|assert|base|done|downcast|downto|extern|fixed|global|lazy|upcast|not)(?!')\b/dgv,name:"keyword.fsharp"},{match:/:/dgv,name:"keyword.symbol.fsharp"},{include:"#constants"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{begin:/(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{include:"#tuple_signature"},{include:"#generic_declaration"}]},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{include:"#tuple_signature"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words are allowed",match:/(?!when|and|or\b)\b(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{captures:{"1":{name:"keyword.symbol.fsharp"}},comments:"Prevent captures of `|>` as a keyword when defining custom operator like `<|>`",match:/(\|)/dgv},{include:"#keywords"}]},keywords:{patterns:[{match:/\b(private|public|internal)\b/dgv,name:"storage.modifier"},{match:/\b(private|to|public|internal|function|class|exception|delegate|of|new|as|begin|end|inherit|let!|interface|abstract|enum|member|and|when|or|use!??|struct|mutable|assert|base|done|downcast|downto|extern|fixed|global|lazy|upcast|not)(?!')\b/dgv,name:"keyword.fsharp"},{match:/\b(match|yield!??|with|if|then|else|elif|for|in|return!?|try|finally|while|do)(?!')\b/dgv,name:"keyword.control"},{match:/(->|<-)/dgv,name:"keyword.symbol.arrow.fsharp"},{match:/[\.\?]*(&&&|\|\|\||\^\^\^|~~~|~\+|~-|<<<|>>>|\|>|:>|:\?>|[\]\:\;\[]|<>|[\=\@]|\|\||&&|[\%\&_\{\|\}]|\.\.|[\!\*-\-\/\>\^]|>=|>>|<=??|[\(\)]|<<)[\.\?]*/dgv,name:"keyword.symbol.fsharp"}]},member_declaration:{patterns:[{include:"#comments"},{include:"#common_declaration"},{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))\p{space}*((?=,)|(?==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{match:/([\(\)])/dgv,name:"keyword.symbol.fsharp"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.type.fsharp"}},match:/(\??)(['\.0-9\^_\`\p{Alpha}]+|``[ '\,\.0-\:\^_\`\p{Alpha}]+``)\p{space}*(:?)(\p{space}*([ '\.0-9\<\>\?_\`\p{Alpha}]+))?/dgv},{include:"#keywords"}]},modules:{patterns:[{begin:/\b(?:(namespace global)|(namespace|module)\p{space}*(public|internal|private|rec)?\p{space}+([\`\|\p{Alpha}][ '\.0-9_\p{Alpha}]*))/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"storage.modifier.fsharp"},"4":{name:"entity.name.section.fsharp"}},end:/(\p{space}?=|\p{space}|(?=\n?$))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"entity.name.section.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)([A-Z]['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"}]},{begin:/\b(open(?: type|))\p{space}+([\`\|\p{Alpha}]['0-9_\p{Alpha}]*)(?=(\.[A-Z][0-9_\p{Alpha}]*)*)/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"entity.name.section.fsharp"}},end:/(\p{space}|(?=\n?$))/dgv,name:"namespace.open.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)(\p{Alpha}['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"},{include:"#comments"}]},{begin:/^\p{space}*(module)\p{space}+([A-Z]['0-9_\p{Alpha}]*)\p{space}*(=)\p{space}*([A-Z]['0-9_\p{Alpha}]*)/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"entity.name.type.namespace.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.section.fsharp"}},end:/(\p{space}|(?=\n?$))/dgv,name:"namespace.alias.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)([A-Z]['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"}]}]},record_declaration:{patterns:[{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(?<=\})/dgv,patterns:[{include:"#comments"},{begin:/(((mutable)\p{space}\p{Alpha}+)|['\.0-9\<\>\^_\`\p{Alpha}]*)\p{space}*((?<!:):(?!:))\p{space}*/dgv,beginCaptures:{"3":{name:"keyword.fsharp"},"4":{name:"keyword.symbol.fsharp"}},end:/(?=\n?$)|([\;\}])/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#comments"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]},{include:"#compiler_directives"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#definition"},{include:"#attributes"},{include:"#anonymous_functions"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}]}]},record_signature:{patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(=)([ '0-9\^_\`\p{Alpha}]+)/dgv},{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(=)([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#record_signature"}]},{include:"#keywords"}]},records:{patterns:[{begin:/\b(type)\p{space}+(private|internal|public)?\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"storage.modifier.fsharp"}},end:/\p{space}*((with)|((as)\p{space}+(['0-9\p{Alpha}]+))|(=)|[\n\=]|(\(\)))/dgv,endCaptures:{"2":{name:"keyword.fsharp"},"3":{name:"keyword.fsharp"},"4":{name:"keyword.fsharp"},"5":{name:"variable.parameter.fsharp"},"6":{name:"keyword.symbol.fsharp"},"7":{name:"keyword.symbol.fsharp"}},name:"record.fsharp",patterns:[{include:"#comments"},{include:"#attributes"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\^_\p{Alpha}]+|``[ '\,\.0-\:\^_\`\p{Alpha}]+``)/dgv},{begin:/(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/((?<!:)>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])``[ \,\.0-\:\^_\`\p{Alpha}]+``|(['\^])[\.0-\:\^_\`\p{Alpha}]+)/dgv},{match:/\b(interface|with|abstract|and|when|or|not|struct|equality|comparison|unmanaged|delegate|enum)\b/dgv,name:"keyword.fsharp"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.fsharp"}},match:/(static member|member|new)/dgv},{include:"#common_binding_definition"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words isn't blacklisted",match:/(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#keywords"}]},{captures:{"1":{name:"storage.modifier.fsharp"}},match:/\p{space}*(private|internal|public)/dgv},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(?=(=)|[\n\=]|(\(\))|(as))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{include:"#keywords"}]}]},string_formatter:{patterns:[{captures:{"1":{name:"keyword.format.specifier.fsharp"}},match:/(%0?-?(\p{Nd}+)?(([at])|(\.\p{Nd}+)?([EFGMefg])|([Xbcdiosux])|([Obs])|(\+?A)))/dgv,name:"entity.name.type.format.specifier.fsharp"}]},strings:{patterns:[{begin:/(?=[^\\])(@")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(")(?!")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.literal.fsharp",patterns:[{match:/"(")/dgv,name:"constant.character.string.escape.fsharp"}]},{begin:/(?=[^\\])(""")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(""")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.triple.fsharp",patterns:[{include:"#string_formatter"}]},{begin:/(?=[^\\])(")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.double.fsharp",patterns:[{match:/\\(?=\n?$)[\t ]*/dgv,name:"punctuation.separator.string.ignore-eol.fsharp"},{match:/\\(["'\\abfnrtv]|([01][0-9][0-9]|2[0-4][0-9]|25[0-5])|(x\p{AHex}{2})|(u\p{AHex}{4})|(U00(0\p{AHex}|10)\p{AHex}{4}))/dgv,name:"constant.character.string.escape.fsharp"},{match:/\\(([0-9]{1,3})|(x\P{space}{0,2})|(u\P{space}{0,4})|(U\P{space}{0,8})|\P{space})/dgv,name:"invalid.illegal.character.string.fsharp"},{include:"#string_formatter"}]}]},strp_inlined:{patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]}]},strp_inlined_body:{patterns:[{include:"#comments"},{include:"#anonymous_functions"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]},{captures:{"1":{name:"keyword.fsharp"},"2":{name:"variable.fsharp"},"3":{name:"keyword.symbol.fsharp"}},match:/((?:static |)member)\p{space}*(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)\p{space}*(:)/dgv},{include:"#compiler_directives"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#keywords"},{include:"#text"},{include:"#definition"},{include:"#attributes"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}]},text:{patterns:[{match:/\\/dgv,name:"text.fsharp"}]},tuple_signature:{patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{include:"#tuple_signature"}]},{include:"#keywords"}]},variables:{patterns:[{match:/\(\)/dgv,name:"keyword.symbol.fsharp"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/(\??)(``[ '\,\.0-\:\^_\`\p{Alpha}]+``|(?!private|struct\b)\b[ '\.0-9\<\>\^_\`\p{L}\p{M}\p{N}\p{Pc}\p{Alpha}]+)/dgv}]}},scopeName:"source.fsharp",embeddedLangs:["markdown"],aliases:["f#","fs"]})
|
|
3
|
+
const lang = Object.freeze({displayName:"F#",name:"fsharp",patterns:[{include:"#compiler_directives"},{include:"#comments"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#definition"},{include:"#abstract_definition"},{include:"#attributes"},{include:"#modules"},{include:"#anonymous_functions"},{include:"#du_declaration"},{include:"#record_declaration"},{include:"#records"},{include:"#strp_inlined"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}],repository:{abstract_definition:{begin:/\b(static\p{space}+)?(abstract)\p{space}+(member)?(\p{space}+\[<[^\n]*>\])?\p{space}*([\,\.0-9_\`\p{Alpha}\p{space}]+)(<)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"keyword.fsharp"},"4":{name:"support.function.attribute.fsharp"},"5":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(with)\b|=|(?=\n?$)/dgv,endCaptures:{"1":{name:"keyword.fsharp"}},name:"abstract.definition.fsharp",patterns:[{include:"#comments"},{include:"#common_declaration"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.type.fsharp"}},match:/(\??)([ '\.0-9\^_\`\p{Alpha}]+)\p{space}*(:)((?!with\b)\b([ '\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+))?/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words isn't blacklisted",match:/(?!with|get|set\b)\p{space}*(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#keywords"}]},anonymous_functions:{patterns:[{begin:/\b(fun)\b/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/(->)/dgv,endCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"}},name:"function.anonymous",patterns:[{include:"#comments"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(?=(->))/dgv,endCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"}},patterns:[{include:"#member_declaration"}]},{include:"#variables"}]}]},anonymous_record_declaration:{begin:/(\{\|)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\|\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(:)/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#anonymous_record_declaration"},{include:"#keywords"}]},attributes:{patterns:[{begin:/\[</dgv,end:/>?\]/dgv,name:"support.function.attribute.fsharp",patterns:[{include:"$self"}]}]},cexprs:{patterns:[{captures:{"0":{name:"keyword.fsharp"}},match:/\b(async|seq|promise|task|maybe|asyncMaybe|controller|scope|application|pipeline)(?=\p{space}*\{)/dgv,name:"cexpr.fsharp"}]},chars:{patterns:[{captures:{"1":{name:"string.quoted.single.fsharp"}},match:/('\\?[^\n]')/dgv,name:"char.fsharp"}]},comments:{patterns:[{begin:/^\p{space}*(\(\*\*(?!\)))((?!\*\))[^\n])*(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.block.fsharp"}},name:"comment.block.markdown.fsharp",patterns:[{include:"text.html.markdown"}],while:/^(?!\p{space}*(\*)+\)\p{space}*(?=\n?$))/dgv,whileCaptures:{"1":{name:"comment.block.fsharp"}}},{begin:/(\(\*(?!\)))/dgv,beginCaptures:{"1":{name:"comment.block.fsharp"}},end:/(\*+\))/dgv,endCaptures:{"1":{name:"comment.block.fsharp"}},name:"comment.block.fsharp",patterns:[{comments:"Capture // when inside of (* *) like that the rule which capture comments starting by // is not trigger. See https://github.com/ionide/ionide-fsgrammar/issues/155",match:/\/\//dgv,name:"fast-capture.comment.line.double-slash.fsharp"},{comments:"Capture (*) when inside of (* *) so that it doesn't prematurely end the comment block.",match:/\(\*\)/dgv,name:"fast-capture.comment.line.mul-operator.fsharp"},{include:"#comments"}]},{captures:{"1":{name:"comment.block.fsharp"}},match:/((?<!\()(\*)+\))/dgv,name:"comment.block.markdown.fsharp.end"},{begin:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/\/(?!\/)/dgv,name:"comment.line.markdown.fsharp",patterns:[{include:"text.html.markdown"}],while:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/\/(?!\/)/dgv},{match:/(?<![\!\%\&\+-\/\<-\@\^\|])\/\/([^\n]*)(?=\n?$)/dgv,name:"comment.line.double-slash.fsharp"}]},common_binding_definition:{patterns:[{include:"#comments"},{include:"#attributes"},{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))\p{space}*((?=,)|(?==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{begin:/(:)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\)\p{space}*(([ '\.0-9\?\^_\`\p{Alpha}]*)))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(:)\p{space}*(\^['\.0-9_\p{Alpha}]+)\p{space}*(when)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"},"3":{name:"keyword.fsharp"}},end:/(?=:)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\^_\p{Alpha}]+)/dgv},{match:/([\(\)])/dgv,name:"keyword.symbol.fsharp"}]},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"},"4":{name:"entity.name.type.fsharp"}},match:/(:)\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)(\|\p{space}*(null))?/dgv},{captures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"entity.name.type.fsharp"}},match:/(->)\p{space}*(\()?\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)*/dgv},{begin:/(\*)\p{space}*(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\)\p{space}*(([ '\.0-9\?\^_\`\p{Alpha}]+))*)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(\*)(\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+))*/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"entity.name.type.fsharp"}},end:/(?==)|(?=\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#tuple_signature"}]},{begin:/(<+(?!\p{space}*\)))/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},beginComment:"The group (?![[:space:]]*\\) is for protection against overload operator. static member (<)",end:/((?<!:)>|\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},endComment:"The group (?<!:) prevent us from stopping on :> when using SRTP synthax",patterns:[{include:"#generic_declaration"}]},{include:"#anonymous_record_declaration"},{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#record_signature"}]},{include:"#definition"},{include:"#variables"},{include:"#keywords"}]},common_declaration:{patterns:[{begin:/\p{space}*(->)\p{space}*([ '\.0-9\^_\`\p{Alpha}]+)(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"entity.name.type.fsharp"},"3":{name:"keyword.symbol.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]},{captures:{"1":{name:"keyword.symbol.arrow.fsharp"},"2":{name:"entity.name.type.fsharp"}},match:/\p{space}*(->)\p{space}*(?!with|get|set\b)\b(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#anonymous_record_declaration"},{begin:/(\??)([ '\.0-9\^_\`\p{Alpha}]+)\p{space}*(:)(\p{space}*([ '\.0-9\?\^_\`\p{Alpha}]+)(<))/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"keyword.symbol.fsharp"},"5":{name:"entity.name.type.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]}]},compiler_directives:{patterns:[{captures:{},match:/\p{space}?(#(?:if|elif|elseif|else|endif|light|nowarn))/dgv,name:"keyword.control.directive.fsharp"}]},constants:{patterns:[{match:/\(\)/dgv,name:"keyword.symbol.fsharp"},{match:/\b-?[0-9][0-9_]*((\.(?!\.)([0-9][0-9_]*([Ee][\-\+]??[0-9][0-9_]*)?)?)|([Ee][\-\+]??[0-9][0-9_]*))/dgv,name:"constant.numeric.float.fsharp"},{match:/\b(-?((0([Xx])\p{AHex}[_\p{AHex}]*)|(0([Oo])[0-7][0-7_]*)|(0([Bb])[01][01_]*)|([0-9][0-9_]*)))/dgv,name:"constant.numeric.integer.nativeint.fsharp"},{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.fsharp"},{match:/\b(null|void)\b/dgv,name:"constant.other.fsharp"}]},definition:{patterns:[{begin:/\b(let mutable|static let mutable|static let|let inline|let|and inline|and|member val|member inline|static member inline|static member val|static member|default|member|override|let!)(\p{space}+rec|mutable)?(\p{space}+\[<[^\n]*>\])?\p{space}*(private|internal|public)?\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"support.function.attribute.fsharp"},"4":{name:"storage.modifier.fsharp"},"5":{name:"variable.fsharp"}},end:/\p{space}*((with(?: inline|))\b|(=|\n+=|(?<==)))/dgv,endCaptures:{"2":{name:"keyword.fsharp"},"3":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(use!??|and!??)\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/\p{space}*(=)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/(?<=with|and)\p{space}*\b(([gs]et)\p{space}*(?=\())(\[[^\-\=]*\]|[_\p{Alpha}]([\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"4":{name:"variable.fsharp"}},end:/\p{space}*(=|\n+=|(?<==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(static val mutable|val mutable|val inline|val)(\p{space}+rec|mutable)?(\p{space}+\[<[^\n]*>\])?\p{space}*(private|internal|public)?\p{space}+(\[[^\-\=]*\]|[_\p{Alpha}]([\,\.0-9_\p{Alpha}]+)*|``[_\p{Alpha}]([\,\.0-9_\`\p{Alpha}\p{space}]+|(?<=,)\p{space})*)?/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"support.function.attribute.fsharp"},"4":{name:"storage.modifier.fsharp"},"5":{name:"variable.fsharp"}},end:/\n(?=\n?$)/dgv,name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]},{begin:/\b(new)\b\p{space}+(\()/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"binding.fsharp",patterns:[{include:"#common_binding_definition"}]}]},double_tick:{patterns:[{captures:{"1":{name:"string.quoted.single.fsharp"},"2":{name:"variable.other.binding.fsharp"},"3":{name:"string.quoted.single.fsharp"}},match:/(``)([^\`]*)(``)/dgv,name:"variable.other.binding.fsharp"}]},du_declaration:{patterns:[{begin:/\b(of)\b/dgv,beginCaptures:{"1":{name:"keyword.fsharp"}},end:/(?=\n?$)|(\|)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"du_declaration.fsharp",patterns:[{include:"#comments"},{captures:{"1":{name:"variable.parameter.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)\p{space}*(:)\p{space}*(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)/dgv},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(``([ '\.0-9\^_\p{Alpha}]+)``|['\.0-9\^_\`\p{Alpha}]+)/dgv},{include:"#anonymous_record_declaration"},{include:"#keywords"}]}]},generic_declaration:{patterns:[{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{match:/\b(private|to|public|internal|function|yield!?|class|exception|match|delegate|of|new|in|as|if|then|else|elif|for|begin|end|inherit|do|let!|return!?|interface|with|abstract|enum|member|try|finally|and|when|or|use!??|struct|while|mutable|assert|base|done|downcast|downto|extern|fixed|global|lazy|upcast|not)(?!')\b/dgv,name:"keyword.fsharp"},{match:/:/dgv,name:"keyword.symbol.fsharp"},{include:"#constants"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{begin:/(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])['\.0-9_\p{Alpha}]+)/dgv},{include:"#tuple_signature"},{include:"#generic_declaration"}]},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{include:"#tuple_signature"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words are allowed",match:/(?!when|and|or\b)\b(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{captures:{"1":{name:"keyword.symbol.fsharp"}},comments:"Prevent captures of `|>` as a keyword when defining custom operator like `<|>`",match:/(\|)/dgv},{include:"#keywords"}]},keywords:{patterns:[{match:/\b(private|public|internal)\b/dgv,name:"storage.modifier"},{match:/\b(private|to|public|internal|function|class|exception|delegate|of|new|as|begin|end|inherit|let!|interface|abstract|enum|member|and|when|or|use!??|struct|mutable|assert|base|done|downcast|downto|extern|fixed|global|lazy|upcast|not)(?!')\b/dgv,name:"keyword.fsharp"},{match:/\b(match|yield!??|with|if|then|else|elif|for|in|return!?|try|finally|while|do)(?!')\b/dgv,name:"keyword.control"},{match:/(->|<-)/dgv,name:"keyword.symbol.arrow.fsharp"},{match:/[\.\?]*(&&&|\|\|\||\^\^\^|~~~|~\+|~-|<<<|>>>|\|>|:>|:\?>|[\]\:\;\[]|<>|[\=\@]|\|\||&&|[\%\&_\{\|\}]|\.\.|[\!\*-\-\/\>\^]|>=|>>|<=??|[\(\)]|<<)[\.\?]*/dgv,name:"keyword.symbol.fsharp"}]},member_declaration:{patterns:[{include:"#comments"},{include:"#common_declaration"},{begin:/(:)\p{space}*(\()\p{space}*((?:static |)member)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},comments:"SRTP syntax support",end:/(\))\p{space}*((?=,)|(?==))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{include:"#variables"},{include:"#keywords"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{match:/([\(\)])/dgv,name:"keyword.symbol.fsharp"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.type.fsharp"},"7":{name:"entity.name.type.fsharp"}},match:/(\??)(['\.0-9\^_\`\p{Alpha}]+|``[ '\,\.0-\:\^_\`\p{Alpha}]+``)\p{space}*(:?)(\p{space}*([ '\.0-9\<\>\?_\`\p{Alpha}]+))?(\|\p{space}*(null))?/dgv},{include:"#keywords"}]},modules:{patterns:[{begin:/\b(?:(namespace global)|(namespace|module)\p{space}*(public|internal|private|rec)?\p{space}+([\`\|\p{Alpha}][ '\.0-9_\p{Alpha}]*))/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"keyword.fsharp"},"3":{name:"storage.modifier.fsharp"},"4":{name:"entity.name.section.fsharp"}},end:/(\p{space}?=|\p{space}|(?=\n?$))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},name:"entity.name.section.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)([A-Z]['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"}]},{begin:/\b(open(?: type|))\p{space}+([\`\|\p{Alpha}]['0-9_\p{Alpha}]*)(?=(\.[A-Z][0-9_\p{Alpha}]*)*)/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"entity.name.section.fsharp"}},end:/(\p{space}|(?=\n?$))/dgv,name:"namespace.open.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)(\p{Alpha}['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"},{include:"#comments"}]},{begin:/^\p{space}*(module)\p{space}+([A-Z]['0-9_\p{Alpha}]*)\p{space}*(=)\p{space}*([A-Z]['0-9_\p{Alpha}]*)/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"entity.name.type.namespace.fsharp"},"3":{name:"keyword.symbol.fsharp"},"4":{name:"entity.name.section.fsharp"}},end:/(\p{space}|(?=\n?$))/dgv,name:"namespace.alias.fsharp",patterns:[{captures:{"1":{name:"punctuation.separator.namespace-reference.fsharp"},"2":{name:"entity.name.section.fsharp"}},match:/(\.)([A-Z]['0-9_\p{Alpha}]*)/dgv,name:"entity.name.section.fsharp"}]}]},record_declaration:{patterns:[{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(?<=\})/dgv,patterns:[{include:"#comments"},{begin:/(((mutable)\p{space}\p{Alpha}+)|['\.0-9\<\>\^_\`\p{Alpha}]*)\p{space}*((?<!:):(?!:))\p{space}*/dgv,beginCaptures:{"3":{name:"keyword.fsharp"},"4":{name:"keyword.symbol.fsharp"}},end:/(?=\n?$)|([\;\}])/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#comments"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#keywords"}]},{include:"#compiler_directives"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#definition"},{include:"#attributes"},{include:"#anonymous_functions"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}]}]},record_signature:{patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(=)([ '0-9\^_\`\p{Alpha}]+)/dgv},{begin:/(\{)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\})/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/[ '0-9\^_\`\p{Alpha}]+(=)([ '0-9\^_\`\p{Alpha}]+)/dgv},{include:"#record_signature"}]},{include:"#keywords"}]},records:{patterns:[{begin:/\b(type)\p{space}+(private|internal|public)?\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.fsharp"},"2":{name:"storage.modifier.fsharp"}},end:/\p{space}*((with)|((as)\p{space}+(['0-9\p{Alpha}]+))|(=)|[\n\=]|(\(\)))/dgv,endCaptures:{"2":{name:"keyword.fsharp"},"3":{name:"keyword.fsharp"},"4":{name:"keyword.fsharp"},"5":{name:"variable.parameter.fsharp"},"6":{name:"keyword.symbol.fsharp"},"7":{name:"keyword.symbol.fsharp"}},name:"record.fsharp",patterns:[{include:"#comments"},{include:"#attributes"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(['\.0-9\^_\p{Alpha}]+|``[ '\,\.0-\:\^_\`\p{Alpha}]+``)/dgv},{begin:/(<)/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/((?<!:)>)/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/((['\^])``[ \,\.0-\:\^_\`\p{Alpha}]+``|(['\^])[\.0-\:\^_\`\p{Alpha}]+)/dgv},{match:/\b(interface|with|abstract|and|when|or|not|struct|equality|comparison|unmanaged|delegate|enum)\b/dgv,name:"keyword.fsharp"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"keyword.fsharp"}},match:/(static member|member|new)/dgv},{include:"#common_binding_definition"}]},{captures:{"1":{name:"entity.name.type.fsharp"}},comments:"Here we need the \\w modifier in order to check that the words isn't blacklisted",match:/(['\.0-9\^_\`\p{L}\p{M}\p{N}\p{Pc}]+)/dgv},{include:"#keywords"}]},{captures:{"1":{name:"storage.modifier.fsharp"}},match:/\p{space}*(private|internal|public)/dgv},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/\p{space}*(?=(=)|[\n\=]|(\(\))|(as))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{include:"#keywords"}]}]},string_formatter:{patterns:[{captures:{"1":{name:"keyword.format.specifier.fsharp"}},match:/(%0?-?(\p{Nd}+)?(([at])|(\.\p{Nd}+)?([EFGMefg])|([Xbcdiosux])|([Obs])|(\+?A)))/dgv,name:"entity.name.type.format.specifier.fsharp"}]},strings:{patterns:[{begin:/(?=[^\\])(@")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(")(?!")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.literal.fsharp",patterns:[{match:/"(")/dgv,name:"constant.character.string.escape.fsharp"}]},{begin:/(?=[^\\])(""")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(""")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.triple.fsharp",patterns:[{include:"#string_formatter"}]},{begin:/(?=[^\\])(")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.fsharp"}},end:/(")/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.fsharp"}},name:"string.quoted.double.fsharp",patterns:[{match:/\\(?=\n?$)[\t ]*/dgv,name:"punctuation.separator.string.ignore-eol.fsharp"},{match:/\\(["'\\abfnrtv]|([01][0-9][0-9]|2[0-4][0-9]|25[0-5])|(x\p{AHex}{2})|(u\p{AHex}{4})|(U00(0\p{AHex}|10)\p{AHex}{4}))/dgv,name:"constant.character.string.escape.fsharp"},{match:/\\(([0-9]{1,3})|(x\P{space}{0,2})|(u\P{space}{0,4})|(U\P{space}{0,8})|\P{space})/dgv,name:"invalid.illegal.character.string.fsharp"},{include:"#string_formatter"}]}]},strp_inlined:{patterns:[{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]}]},strp_inlined_body:{patterns:[{include:"#comments"},{include:"#anonymous_functions"},{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(\^['\.0-9_\p{Alpha}]+)/dgv},{match:/\b(and|when|or)\b/dgv,name:"keyword.fsharp"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]},{captures:{"1":{name:"keyword.fsharp"},"2":{name:"variable.fsharp"},"3":{name:"keyword.symbol.fsharp"}},match:/((?:static |)member)\p{space}*(['\.0-9\<\>\^_\`\p{Alpha}]+|``[ '\.0-9\<\>\^_\p{Alpha}]+``)\p{space}*(:)/dgv},{include:"#compiler_directives"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#keywords"},{include:"#text"},{include:"#definition"},{include:"#attributes"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}]},text:{patterns:[{match:/\\/dgv,name:"text.fsharp"}]},tuple_signature:{patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{begin:/(\()/dgv,beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:/(\))/dgv,endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{captures:{"1":{name:"entity.name.type.fsharp"}},match:/(([ '\.0-9\?\^_\`\p{Alpha}]+))+/dgv},{include:"#tuple_signature"}]},{include:"#keywords"}]},variables:{patterns:[{match:/\(\)/dgv,name:"keyword.symbol.fsharp"},{captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}},match:/(\??)(``[ '\,\.0-\:\^_\`\p{Alpha}]+``|(?!private|struct\b)\b[ '\.0-9\<\>\^_\`\p{L}\p{M}\p{N}\p{Pc}\p{Alpha}]+)/dgv}]}},scopeName:"source.fsharp",embeddedLangs:["markdown"],aliases:["f#","fs"]})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
...markdown,
|
package/dist/latex.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
import tex from './tex.mjs'
|
|
3
3
|
|
|
4
|
-
const lang = Object.freeze({displayName:"LaTeX",name:"latex",patterns:[{match:/(?<=\\(?:[\@\p{L}\p{M}\p{N}\p{Pc}]|[\@\p{L}\p{M}\p{N}\p{Pc}]{2}|[\@\p{L}\p{M}\p{N}\p{Pc}]{3}|[\@\p{L}\p{M}\p{N}\p{Pc}]{4}|[\@\p{L}\p{M}\p{N}\p{Pc}]{5}|[\@\p{L}\p{M}\p{N}\p{Pc}]{6}))\p{space}/dgv,name:"meta.space-after-command.latex"},{begin:/((\\)(?:usepackage|documentclass))\b(?=[\[\{])/dgv,beginCaptures:{"1":{name:"keyword.control.preamble.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.preamble.latex",patterns:[{include:"#multiline-optional-arg"},{begin:/*@__PURE__*/ new EmulatedRegExp("((?:^|(?<=\\]))\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"support.class.latex",end:/(\})/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"$self"}]}]},{begin:/((\\)in(?:clude|put))(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.include.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.include.latex",patterns:[{include:"$self"}]},{begin:/((\\)((?:sub){0,2}section|(?:sub)?paragraph|chapter|part|addpart|addchap|addsec|minisec|frametitle)\*?)((?:\[[^\[]*?\]){0,2})(\{)/dgv,beginCaptures:{"1":{name:"support.function.section.latex"},"2":{name:"punctuation.definition.function.latex"},"4":{patterns:[{include:"#optional-arg-bracket"}]},"5":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"entity.name.section.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.function.section.$3.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{songs\}\{[^\n]*\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.data.environment.songs.latex",end:/(\\end\{songs\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.songs.latex",patterns:[{include:"text.tex.latex#songs-chords"}]},{begin:/\p{space}*((\\)beginsong)(?=\{)/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"punctuation.definition.arguments.end.latex"}},end:/((\\)endsong)(?:\p{space}*\n)?/dgv,name:"meta.function.environment.song.latex",patterns:[{include:"#multiline-arg-no-highlight"},{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=[\\]\\}]))\\p{space}*","dgv",{"strategy":"clip_search"}),contentName:"meta.data.environment.song.latex",end:/\p{space}*(?=\\endsong)/dgv,patterns:[{include:"text.tex.latex#songs-chords"}]}]},{begin:/(?:^\p{space}*)?\\begin\{(lstlisting|minted|pyglist)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\\end\{\1\}()/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(asy(?:|mptote))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.asy",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.asy"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(bash)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.shell",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.shell"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(c(?:|pp))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(css)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.css",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.css"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(gnuplot)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.gnuplot"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(h(?:s|askell))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.haskell",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.haskell"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(html)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"text.html",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"text.html.basic"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(java)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.java",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.java"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(j(?:l|ulia))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.julia",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.julia"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(j(?:s|avascript))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.js",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.js"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(lua)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.lua",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.lua"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(py|python|sage)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.python"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(r(?:b|uby))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.ruby",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.ruby"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(rust)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.rust",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.rust"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(t(?:s|ypescript))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.ts",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.ts"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(xml)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"text.xml",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"text.xml"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(yaml)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.yaml",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.yaml"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([A-Za-z]*)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{(?:lstlisting|minted|pyglist)\})/dgv,name:"meta.embedded.block.generic.latex"}]},{begin:/\p{space}*\\begin\{asy(?:|code)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{asy(?:|code)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.asymptote",end:/^\p{space}*(?=\\end\{asy(?:|code)\*?\})/dgv,patterns:[{include:"source.asymptote"}]}]},{begin:/\p{space}*\\begin\{cppcode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{cppcode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{cppcode\*?\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/\p{space}*\\begin\{dot(?:2tex|code)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{dot(?:2tex|code)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.dot",end:/^\p{space}*(?=\\end\{dot(?:2tex|code)\*?\})/dgv,patterns:[{include:"source.dot"}]}]},{begin:/\p{space}*\\begin\{gnuplot\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{gnuplot\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{gnuplot\*?\})/dgv,patterns:[{include:"source.gnuplot"}]}]},{begin:/\p{space}*\\begin\{hscode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{hscode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.haskell",end:/^\p{space}*(?=\\end\{hscode\*?\})/dgv,patterns:[{include:"source.haskell"}]}]},{begin:/\p{space}*\\begin\{java(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{java(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.java",end:/^\p{space}*(?=\\end\{java(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.java"}]}]},{begin:/\p{space}*\\begin\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/\p{space}*\\begin\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/\p{space}*\\begin\{luacode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{luacode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.lua",end:/^\p{space}*(?=\\end\{luacode\*?\})/dgv,patterns:[{include:"source.lua"}]}]},{begin:/\p{space}*\\begin\{py(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{py(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{py(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{scalacode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{scalacode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.scala",end:/^\p{space}*(?=\\end\{scalacode\*?\})/dgv,patterns:[{include:"source.scala"}]}]},{begin:/\p{space}*\\begin\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{((?:[A-Za-z]*code|lstlisting|minted|pyglist)\*?)\}(?:\[[^\n]*\])?(?:\{[^\n]*\})?/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.function.embedded.latex",end:/\\end\{\1\}(?:\p{space}*\n)?()/dgv,name:"meta.embedded.block.generic.latex"},{begin:/((?:^\p{space}*)?\\begin\{((?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?))\})(?:\[[^\]]*\]){0,2}(?=\{)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\})()/dgv,patterns:[{begin:/(\{)(?:__|[a-z\p{space}]*)[Aa][Ssſ][Yy](?:|[Mm][Pp][Tt][Oo][Tt][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.asy",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.asy"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Bb][Aa][Ssſ][Hh]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.shell",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.shell"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Cc](?:|[Pp][Pp])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Cc][Ssſ][Ssſ]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.css",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.css"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Gg][Nn][Uu][Pp][Ll][Oo][Tt]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.gnuplot"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Hh](?:[Ssſ]|[Aa][Ssſ][KKk][Ee][Ll][Ll])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.haskell",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.haskell"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Hh][Tt][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.html",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.html.basic"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj][Aa][Vv][Aa]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.java",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.java"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj](?:[Ll]|[Uu][Ll][Ii][Aa])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj](?:[Ssſ]|[Aa][Vv][Aa][Ssſ][Cc][Rr][Ii][Pp][Tt])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.js",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.js"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Ll][Uu][Aa]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.lua",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.lua"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)(?:[Pp][Yy]|[Pp][Yy][Tt][Hh][Oo][Nn]|[Ssſ][Aa][Gg][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Rr](?:[Bb]|[Uu][Bb][Yy])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.ruby",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.ruby"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Rr][Uu][Ssſ][Tt]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.rust",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.rust"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Tt](?:[Ssſ]|[Yy][Pp][Ee][Ssſ][Cc][Rr][Ii][Pp][Tt])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.ts",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.ts"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Xx][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.xml",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.xml"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Yy][Aa][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.yaml",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.yaml"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Tt][Ii][KKk][Zz](?:|[Pp][Ii][Cc][Tt][Uu][Rr][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.tex.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.tex.latex"}]}]},{begin:/(\{)/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,name:"meta.embedded.block.generic.latex"}]}]},{begin:/(?:^\p{space}*)?\\begin\{(terminal\*?)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\\end\{\1\}()/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([A-Za-z]*)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{terminal\*?\})/dgv,name:"meta.embedded.block.generic.latex"}]},{begin:/((\\)cacheMeCode)(?=\[[Aa][Ssſ][Yy](?:|[Mm][Pp][Tt][Oo][Tt][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.asy",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.asy"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Bb][Aa][Ssſ][Hh]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.shell",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.shell"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Cc](?:|[Pp][Pp])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.cpp.embedded.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Cc][Ssſ][Ssſ]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.css",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.css"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Gg][Nn][Uu][Pp][Ll][Oo][Tt]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.gnuplot",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.gnuplot"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Hh](?:[Ssſ]|[Aa][Ssſ][KKk][Ee][Ll][Ll])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.haskell",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.haskell"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Hh][Tt][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.html",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.html.basic"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj][Aa][Vv][Aa]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.java",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.java"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj](?:[Ll]|[Uu][Ll][Ii][Aa])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.julia",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.julia"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj](?:[Ssſ]|[Aa][Vv][Aa][Ssſ][Cc][Rr][Ii][Pp][Tt])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.js",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.js"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Ll][Uu][Aa]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.lua",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.lua"}]}]},{begin:/((\\)cacheMeCode)(?=\[(?:[Pp][Yy]|[Pp][Yy][Tt][Hh][Oo][Nn]|[Ssſ][Aa][Gg][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.python",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.python"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Rr](?:[Bb]|[Uu][Bb][Yy])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.ruby",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.ruby"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Rr][Uu][Ssſ][Tt]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.rust",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.rust"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Tt](?:[Ssſ]|[Yy][Pp][Ee][Ssſ][Cc][Rr][Ii][Pp][Tt])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.ts"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Xx][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.xml",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.xml"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Yy][Aa][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.yaml",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.yaml"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Tt][Ii][KKk][Zz](?:|[Pp][Ii][Cc][Tt][Uu][Rr][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.tex.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex.latex"}]}]},{begin:/((\\)cacheMeCode)(?=[\[\{])/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.embedded.block.generic.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"}]}]},{begin:/((\\)addplot)\+?(\[[^\[]*\])*\p{space}*(gnuplot)\p{space}*(\[[^\[]*\])*\p{space}*(\{)/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"variable.parameter.function.latex"},"5":{patterns:[{include:"#optional-arg-bracket"}]},"6":{name:"punctuation.definition.arguments.begin.latex"}},end:/\p{space}*(\};)/dgv,patterns:[{begin:/%/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.latex"}},end:/(?=\n?$)\n?/dgv,name:"comment.line.percentage.latex"},{include:"source.gnuplot"}]},{begin:/(\p{space}*\\begin\{((?:fboxv|boxedv|[Vv]|spv)erbatim\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"},{begin:/(\p{space}*\\begin\{VerbatimOut\}\{[^\}]*\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{VerbatimOut\})/dgv,name:"meta.function.verbatim.latex"},{begin:/(\p{space}*\\begin\{alltt\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{alltt\})/dgv,name:"meta.function.alltt.latex",patterns:[{captures:{"1":{name:"punctuation.definition.function.latex"}},match:/(\\)[A-Za-z]+/dgv,name:"support.function.general.latex"}]},{begin:/(\p{space}*\\begin\{([Cc]omment)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"comment.line.percentage.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"},{begin:/\p{space}*((\\)h(?:ref|yperref|yperimage))(?=[\[\{])/dgv,beginCaptures:{"1":{name:"support.function.url.latex"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.function.hyperlink.latex",patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([^\\}]*)(\\})(?:\\{[^\\}]*\\}){2}?(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"markup.underline.link.latex"},"3":{name:"punctuation.definition.arguments.end.latex"},"4":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.variable.parameter.function.latex",end:/(?=\})/dgv,patterns:[{include:"$self"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(?:(\\{)[^\\}]*(\\}))?(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"punctuation.definition.arguments.end.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.variable.parameter.function.latex",end:/(?=\})/dgv,patterns:[{include:"$self"}]}]},{captures:{"1":{name:"support.function.url.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"markup.underline.link.latex"},"5":{name:"punctuation.definition.arguments.end.latex"}},match:/\p{space}*((\\)(?:url|path))(\{)([^\}]*)(\})/dgv,name:"meta.function.link.url.latex"},{captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},match:/(\p{space}*\\begin\{document\})/dgv,name:"meta.function.begin-document.latex"},{captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},match:/(\p{space}*\\end\{document\})/dgv,name:"meta.function.end-document.latex"},{begin:/\p{space}*((\\)begin)(\{)((?:\+?array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\+?cases|(?:display)?math|\+?[A-Za-z]*matrix|[BVbpv]?NiceMatrix|[BVbpv]?NiceArray|(?:arg)?m(?:ini|axi))[\!\*]?)(\})(\p{space}*\n)?/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"variable.parameter.function.latex"},"5":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.math.block.latex support.class.math.block.environment.latex",end:/\p{space}*((\\)end)(\{)((?!))(\})(?:\p{space}*\n)?/dgv,name:"meta.function.environment.math.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.equation.align.latex"},{match:/\\\\/dgv,name:"keyword.control.equation.newline.latex"},{include:"#definition-label"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\p{space}*(\\begin\{empheq\}(?:\[[^\n]*\])?)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.math.block.latex support.class.math.block.environment.latex",end:/\p{space}*(\\end\{empheq\})/dgv,name:"meta.function.environment.math.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.equation.align.latex"},{match:/\\\\/dgv,name:"keyword.control.equation.newline.latex"},{include:"#definition-label"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{(tabular[\*xy]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr|NiceTabular[\*X]?|booktabs)\}(\p{space}*\n)?)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.data.environment.tabular.latex",end:/(\p{space}*\\end\{((?!))\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.tabular.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.table.cell.latex"},{match:/\\\\/dgv,name:"keyword.control.table.newline.latex"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{(itemize|enumerate|description|list)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.list.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{tikzpicture\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{tikzpicture\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.latex.tikz",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{frame\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{frame\})/dgv,name:"meta.function.environment.frame.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{(mpost\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.latex.mpost"},{begin:/(\p{space}*\\begin\{markdown\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.embedded.markdown_latex_combined",end:/(\\end\{markdown\})/dgv,patterns:[{include:"text.tex.markdown_latex_combined"}]},{begin:/(\p{space}*\\begin\{(\p{Alphabetic}+\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.general.latex",patterns:[{include:"$self"}]},{captures:{"1":{name:"storage.type.function.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.begin.latex"},"4":{name:"support.function.general.latex"},"5":{name:"punctuation.definition.function.latex"},"6":{name:"punctuation.definition.end.latex"}},match:/((\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand))\*?(\{)((\\)[^\}]*)(\})/dgv},{begin:/((\\)marginpar)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"support.function.marginpar.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.marginpar.begin.latex"}},contentName:"meta.paragraph.margin.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.marginpar.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)footnote)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"support.function.footnote.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.footnote.begin.latex"}},contentName:"entity.name.footnote.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.footnote.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)emph)(\{)/dgv,beginCaptures:{"1":{name:"support.function.emph.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.emph.begin.latex"}},contentName:"markup.italic.emph.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.emph.end.latex"}},name:"meta.function.emph.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)textit)(\{)/dgv,captures:{"1":{name:"support.function.textit.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.textit.begin.latex"}},contentName:"markup.italic.textit.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.textit.end.latex"}},name:"meta.function.textit.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)textbf)(\{)/dgv,captures:{"1":{name:"support.function.textbf.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.textbf.begin.latex"}},contentName:"markup.bold.textbf.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.textbf.end.latex"}},name:"meta.function.textbf.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)texttt)(\{)/dgv,captures:{"1":{name:"support.function.texttt.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.texttt.begin.latex"}},contentName:"markup.raw.texttt.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.texttt.end.latex"}},name:"meta.function.texttt.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{captures:{"0":{name:"keyword.other.item.latex"},"1":{name:"punctuation.definition.keyword.latex"}},match:/(\\)item\b/dgv,name:"meta.scope.item.latex"},{begin:/((\\)(?:[Aa]uto|foot|full|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title)?[ANP]*\*?)((?:(?:\([^\)]*\)){0,2}(?:\[[^\]]*\]){0,2}\{[\-\.\:_\p{Alphabetic}\p{N}]*\})*)(<[^\]\<\>]*>)?((?:\[[^\]]*\])*)(\{)/dgv,captures:{"1":{name:"keyword.control.cite.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{patterns:[{include:"#autocites-arg"}]},"4":{patterns:[{include:"#optional-arg-angle-no-highlight"}]},"5":{patterns:[{include:"#optional-arg-bracket-no-highlight"}]},"6":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.citation.latex",patterns:[{captures:{"1":{name:"comment.line.percentage.tex"},"2":{name:"punctuation.definition.comment.tex"}},match:/((%)[^\n]*)(?=\n?$)/dgv},{match:/[\-\.\:\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.citation.latex"}]},{begin:/((\\)bibentry)(\{)/dgv,captures:{"1":{name:"keyword.control.cite.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.citation.latex",patterns:[{match:/[\.\:\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.citation.latex"}]},{begin:/((\\)[\p{L}\p{M}\p{N}\p{Pc}]*[Rr]ef\*?)(?:\[[^\]]*\])?(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.ref.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.reference.label.latex",patterns:[{match:/[\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.label.latex"}]},{captures:{"1":{name:"keyword.control.ref.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"constant.other.reference.label.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.arguments.begin.latex"},"7":{name:"constant.other.reference.label.latex"},"8":{name:"punctuation.definition.arguments.end.latex"}},match:/((\\)[\p{L}\p{M}\p{N}\p{Pc}]*[Rr]efrange\*?)(?:\[[^\]]*\])?(\{)([\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+)(\})(\{)([\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+)(\})/dgv},{include:"#definition-label"},{begin:/((\\)(?:[Vv]|spv)erb\*?)\p{space}*((\\)scantokens)(\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"support.function.verb.latex"},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"punctuation.definition.begin.latex"}},contentName:"markup.raw.verb.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.end.latex"}},name:"meta.function.verb.latex",patterns:[{include:"$self"}]},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.verb.latex"},"4":{name:"markup.raw.verb.latex"},"5":{name:"punctuation.definition.verb.latex"}},match:/((\\)(?:[Vv]|spv)erb\*?)\p{space}*((?<=\p{space})\P{space}|[^A-Za-z])([^\n]*?)(\3|(?=\n?$))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.arguments.begin.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"markup.raw.verb.latex"},"8":{name:"punctuation.definition.verb.latex"},"9":{name:"punctuation.definition.verb.latex"},"10":{name:"markup.raw.verb.latex"},"11":{name:"punctuation.definition.verb.latex"}},match:/((\\)mint(?:|inline))((?:\[[^\[]*?\])?)(\{)[A-Za-z]*(\})(?:([^A-Za-\{])([^\n]*?)(\6)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"markup.raw.verb.latex"},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"markup.raw.verb.latex"},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)[a-z]+inline)((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"source.python",patterns:[{include:"source.python"}]},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"source.python",patterns:[{include:"source.python"}]},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"source.julia",patterns:[{include:"source.julia"}]},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"source.julia",patterns:[{include:"source.julia"}]},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)j(?:l|ulia)[cv]?)((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{begin:/((\\)(?:directlua|luadirect|luaexec))(\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.lua",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.lua"}]},{match:/\\(?:newline|pagebreak|clearpage|linebreak|pause)\b/dgv,name:"keyword.control.layout.latex"},{begin:/\\\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\\\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\$\$/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\$\$/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{match:/\\\$/dgv,name:"constant.character.escape.latex"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\$/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.tex"}},end:/\$/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.tex"}},name:"meta.math.block.tex support.class.math.block.tex",patterns:[{match:/\\\$/dgv,name:"constant.character.escape.latex"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\\\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\\\]/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{include:"text.tex#math-content"},{include:"$self"}]},{captures:{"1":{name:"punctuation.definition.constant.latex"}},match:/(\\)(text(s(terling|ixoldstyle|urd|e(ction|venoldstyle|rvicemark))|yen|n(ineoldstyle|umero|aira)|c(ircledP|o(py(left|right)|lonmonetary)|urrency|e(nt(oldstyle)?|lsius))|t(hree(superior|oldstyle|quarters(emdash)?)|i(ldelow|mes)|w(o(superior|oldstyle)|elveudash)|rademark)|interrobang(down)?|zerooldstyle|o(hm|ne(superior|half|oldstyle|quarter)|penbullet|rd((?:femin|mascul)ine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t((?:|ent)housand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight((?:dbl|)base)|ingle)|f(iveoldstyle|ouroldstyle|lorin|ractionsolidus)|won|l(not|ira|e(ftarrow|af)|quill|angle|brackdbl)|a(s(cii(caron|dieresis|acute|grave|macron|breve)|teriskcentered)|cutedbl)|r(ightarrow|e(cipe|ferencemark|gistered)|quill|angle|brackdbl)|g(uarani|ravedbl)|m(ho|inus|u(sicalnote)?|arried)|b(igcircle|orn|ullet|lank|a(ht|rdbl)|rokenbar)))\b/dgv,name:"constant.character.latex"},{captures:{"1":{name:"punctuation.definition.variable.latex"}},match:/(\\)(?:[cgl]_+[\@_\p{Alphabetic}]+_[a-z]+|[qs]_[\@_\p{Alphabetic}]+[\@\p{Alphabetic}])/dgv,name:"variable.other.latex3.latex"},{captures:{"1":{name:"punctuation.definition.column-specials.begin.latex"},"2":{name:"punctuation.definition.column-specials.end.latex"}},match:/[\<\>](\{)\$(\})/dgv,name:"meta.column-specials.latex"},{include:"text.tex"}],repository:{"autocites-arg":{patterns:[{captures:{"1":{patterns:[{include:"#optional-arg-parenthesis-no-highlight"}]},"2":{patterns:[{include:"#optional-arg-bracket-no-highlight"}]},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"constant.other.reference.citation.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{patterns:[{include:"#autocites-arg"}]}},match:/((?:\([^\)]*\)){0,2})((?:\[[^\]]*\]){0,2})(\{)([\-\.\:_\p{Alphabetic}\p{N}]+)(\})([^\n]*)/dgv}]},"begin-env-tokenizer":{captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"variable.parameter.function.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.arguments.optional.begin.latex"},"7":{patterns:[{include:"$self"}]},"8":{name:"punctuation.definition.arguments.optional.end.latex"},"9":{name:"punctuation.definition.arguments.begin.latex"},"10":{name:"variable.parameter.function.latex"},"11":{name:"punctuation.definition.arguments.end.latex"}},match:/\p{space}*((\\)(?:begin|end))(\{)(\p{Alphabetic}+\*?)(\})(?:(\[)([^\]]*)(\])){0,2}(?:(\{)([^\{\}]*)(\}))?/dgv},"definition-label":{begin:/((\\)z?label)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.label.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.definition.label.latex",patterns:[{match:/[\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+/dgv,name:"variable.parameter.definition.label.latex"}]},"multiline-arg-no-highlight":{begin:/\{/dgvy,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.parameter.latex",patterns:[{include:"$self"}]},"multiline-optional-arg":{begin:/\[/dgvy,beginCaptures:{"0":{name:"punctuation.definition.arguments.optional.begin.latex"}},contentName:"variable.parameter.function.latex",end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.optional.end.latex"}},name:"meta.parameter.optional.latex",patterns:[{include:"$self"}]},"multiline-optional-arg-no-highlight":{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\}))\\p{space}*\\[","dgv",{"strategy":"clip_search"}),beginCaptures:{"0":{name:"punctuation.definition.arguments.optional.begin.latex"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.optional.end.latex"}},name:"meta.parameter.optional.latex",patterns:[{include:"$self"}]},"optional-arg-angle-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(<)[^\<]*?(>)/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-bracket":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\[)([^\[]*?)(\])/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-bracket-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\[)[^\[]*?(\])/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-parenthesis":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\()([^\(]*?)(\))/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-parenthesis-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\()[^\(]*?(\))/dgv,name:"meta.parameter.optional.latex"}]},"songs-chords":{patterns:[{begin:/\\\[/dgv,end:/\]/dgv,name:"meta.chord.block.latex support.class.chord.block.environment.latex",patterns:[{include:"$self"}]},{match:/\^/dgv,name:"meta.chord.block.latex support.class.chord.block.environment.latex"},{include:"$self"}]}},scopeName:"text.tex.latex",embeddedLangs:["tex"],aliases:undefined,embeddedLangsLazy:["shellscript","css","gnuplot","haskell","html","java","julia","javascript","lua","python","ruby","rust","typescript","xml","yaml","scala"]})
|
|
4
|
+
const lang = Object.freeze({displayName:"LaTeX",name:"latex",patterns:[{match:/(?<=\\(?:[\@\p{L}\p{M}\p{N}\p{Pc}]|[\@\p{L}\p{M}\p{N}\p{Pc}]{2}|[\@\p{L}\p{M}\p{N}\p{Pc}]{3}|[\@\p{L}\p{M}\p{N}\p{Pc}]{4}|[\@\p{L}\p{M}\p{N}\p{Pc}]{5}|[\@\p{L}\p{M}\p{N}\p{Pc}]{6}))\p{space}/dgv,name:"meta.space-after-command.latex"},{begin:/((\\)(?:usepackage|documentclass))\b(?=[\[\{])/dgv,beginCaptures:{"1":{name:"keyword.control.preamble.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.preamble.latex",patterns:[{include:"#multiline-optional-arg"},{begin:/*@__PURE__*/ new EmulatedRegExp("((?:^|(?<=\\]))\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"support.class.latex",end:/(\})/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"$self"}]}]},{begin:/((\\)in(?:clude|put))(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.include.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.include.latex",patterns:[{include:"$self"}]},{begin:/((\\)((?:sub){0,2}section|(?:sub)?paragraph|chapter|part|addpart|addchap|addsec|minisec|frametitle)\*?)((?:\[[^\[]*?\]){0,2})(\{)/dgv,beginCaptures:{"1":{name:"support.function.section.latex"},"2":{name:"punctuation.definition.function.latex"},"4":{patterns:[{include:"#optional-arg-bracket"}]},"5":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"entity.name.section.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.function.section.$3.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{songs\}\{[^\n]*\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.data.environment.songs.latex",end:/(\\end\{songs\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.songs.latex",patterns:[{include:"text.tex.latex#songs-chords"}]},{begin:/\p{space}*((\\)beginsong)(?=\{)/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"punctuation.definition.arguments.end.latex"}},end:/((\\)endsong)(?:\p{space}*\n)?/dgv,name:"meta.function.environment.song.latex",patterns:[{include:"#multiline-arg-no-highlight"},{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=[\\]\\}]))\\p{space}*","dgv",{"strategy":"clip_search"}),contentName:"meta.data.environment.song.latex",end:/\p{space}*(?=\\endsong)/dgv,patterns:[{include:"text.tex.latex#songs-chords"}]}]},{begin:/(?:^\p{space}*)?\\begin\{(lstlisting|minted|pyglist)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\\end\{\1\}()/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(asy(?:|mptote))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.asy",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.asy"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(bash)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.shell",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.shell"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(c(?:|pp))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(css)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.css",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.css"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(gnuplot)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.gnuplot"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(h(?:s|askell))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.haskell",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.haskell"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(html)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"text.html",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"text.html.basic"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(java)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.java",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.java"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(j(?:l|ulia))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.julia",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.julia"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(j(?:s|avascript))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.js",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.js"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(lua)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.lua",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.lua"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(py|python|sage)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.python"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(r(?:b|uby))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.ruby",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.ruby"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(rust)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.rust",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.rust"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(t(?:s|ypescript))(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.ts",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.ts"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(xml)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"text.xml",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"text.xml"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)(yaml)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"source.yaml",end:/^\p{space}*(?=\\end\{(?:minted|lstlisting|pyglist)\})/dgv,patterns:[{include:"source.yaml"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([A-Za-z]*)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{(?:lstlisting|minted|pyglist)\})/dgv,name:"meta.embedded.block.generic.latex"}]},{begin:/\p{space}*\\begin\{asy(?:|code)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{asy(?:|code)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.asymptote",end:/^\p{space}*(?=\\end\{asy(?:|code)\*?\})/dgv,patterns:[{include:"source.asymptote"}]}]},{begin:/\p{space}*\\begin\{cppcode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{cppcode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{cppcode\*?\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/\p{space}*\\begin\{dot(?:2tex|code)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{dot(?:2tex|code)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.dot",end:/^\p{space}*(?=\\end\{dot(?:2tex|code)\*?\})/dgv,patterns:[{include:"source.dot"}]}]},{begin:/\p{space}*\\begin\{gnuplot\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{gnuplot\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{gnuplot\*?\})/dgv,patterns:[{include:"source.gnuplot"}]}]},{begin:/\p{space}*\\begin\{hscode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{hscode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.haskell",end:/^\p{space}*(?=\\end\{hscode\*?\})/dgv,patterns:[{include:"source.haskell"}]}]},{begin:/\p{space}*\\begin\{java(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{java(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.java",end:/^\p{space}*(?=\\end\{java(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.java"}]}]},{begin:/\p{space}*\\begin\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{jl(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/\p{space}*\\begin\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{julia(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/\p{space}*\\begin\{luacode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{luacode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.lua",end:/^\p{space}*(?=\\end\{luacode\*?\})/dgv,patterns:[{include:"source.lua"}]}]},{begin:/\p{space}*\\begin\{py(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{py(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{py(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{pylab(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|pythonq??|pythonrepl)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{scalacode\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{scalacode\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.scala",end:/^\p{space}*(?=\\end\{scalacode\*?\})/dgv,patterns:[{include:"source.scala"}]}]},{begin:/\p{space}*\\begin\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\p{space}*\\end\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\}/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"variable.parameter.function.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}}},{begin:/^(?=\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{sympy(?:code|verbatim|block|concode|console|converbatim)\*?\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/\p{space}*\\begin\{((?:[A-Za-z]*code|lstlisting|minted|pyglist)\*?)\}(?:\[[^\n]*\])?(?:\{[^\n]*\})?/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.function.embedded.latex",end:/\\end\{\1\}(?:\p{space}*\n)?()/dgv,name:"meta.embedded.block.generic.latex"},{begin:/((?:^\p{space}*)?\\begin\{((?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?))\})(?:\[[^\]]*\]){0,2}(?=\{)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\})()/dgv,patterns:[{begin:/(\{)(?:__|[a-z\p{space}]*)[Aa][Ssſ][Yy](?:|[Mm][Pp][Tt][Oo][Tt][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.asy",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.asy"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Bb][Aa][Ssſ][Hh]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.shell",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.shell"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Cc](?:|[Pp][Pp])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.cpp.embedded.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Cc][Ssſ][Ssſ]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.css",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.css"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Gg][Nn][Uu][Pp][Ll][Oo][Tt]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.gnuplot",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.gnuplot"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Hh](?:[Ssſ]|[Aa][Ssſ][KKk][Ee][Ll][Ll])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.haskell",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.haskell"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Hh][Tt][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.html",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.html.basic"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj][Aa][Vv][Aa]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.java",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.java"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj](?:[Ll]|[Uu][Ll][Ii][Aa])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.julia",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.julia"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Jj](?:[Ssſ]|[Aa][Vv][Aa][Ssſ][Cc][Rr][Ii][Pp][Tt])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.js",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.js"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Ll][Uu][Aa]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.lua",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.lua"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)(?:[Pp][Yy]|[Pp][Yy][Tt][Hh][Oo][Nn]|[Ssſ][Aa][Gg][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.python",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.python"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Rr](?:[Bb]|[Uu][Bb][Yy])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.ruby",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.ruby"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Rr][Uu][Ssſ][Tt]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.rust",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.rust"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Tt](?:[Ssſ]|[Yy][Pp][Ee][Ssſ][Cc][Rr][Ii][Pp][Tt])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.ts",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.ts"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Xx][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.xml",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.xml"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Yy][Aa][Mm][Ll]/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"source.yaml",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"source.yaml"}]}]},{begin:/(\{)(?:__|[a-z\p{space}]*)[Tt][Ii][KKk][Zz](?:|[Pp][Ii][Cc][Tt][Uu][Rr][Ee])/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"text.tex.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{include:"text.tex.latex"}]}]},{begin:/(\{)/dgvy,beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"}},end:/(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,patterns:[{begin:/(?:)/dgv,end:/(\})\p{space}*(?=\n?$)/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/^(\p{space}*)/dgv,contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{(?:RobExt)?(?:CacheMeCode|PlaceholderPathFromCode\*?|PlaceholderFromCode\*?|SetPlaceholderCode\*?)\})/dgv,name:"meta.embedded.block.generic.latex"}]}]},{begin:/(?:^\p{space}*)?\\begin\{(terminal\*?)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/\\end\{\1\}()/dgv,patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([A-Za-z]*)(\\})","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.function.embedded.latex",end:/^\p{space}*(?=\\end\{terminal\*?\})/dgv,name:"meta.embedded.block.generic.latex"}]},{begin:/((\\)cacheMeCode)(?=\[[Aa][Ssſ][Yy](?:|[Mm][Pp][Tt][Oo][Tt][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.asy",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.asy"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Bb][Aa][Ssſ][Hh]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.shell",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.shell"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Cc](?:|[Pp][Pp])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.cpp.embedded.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.cpp.embedded.latex"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Cc][Ssſ][Ssſ]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.css",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.css"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Gg][Nn][Uu][Pp][Ll][Oo][Tt]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.gnuplot",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.gnuplot"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Hh](?:[Ssſ]|[Aa][Ssſ][KKk][Ee][Ll][Ll])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.haskell",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.haskell"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Hh][Tt][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.html",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.html.basic"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj][Aa][Vv][Aa]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.java",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.java"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj](?:[Ll]|[Uu][Ll][Ii][Aa])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.julia",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.julia"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Jj](?:[Ssſ]|[Aa][Vv][Aa][Ssſ][Cc][Rr][Ii][Pp][Tt])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.js",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.js"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Ll][Uu][Aa]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.lua",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.lua"}]}]},{begin:/((\\)cacheMeCode)(?=\[(?:[Pp][Yy]|[Pp][Yy][Tt][Hh][Oo][Nn]|[Ssſ][Aa][Gg][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.python",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.python"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Rr](?:[Bb]|[Uu][Bb][Yy])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.ruby",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.ruby"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Rr][Uu][Ssſ][Tt]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.rust",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.rust"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Tt](?:[Ssſ]|[Yy][Pp][Ee][Ssſ][Cc][Rr][Ii][Pp][Tt])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.ts"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Xx][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.xml",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.xml"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Yy][Aa][Mm][Ll]\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.yaml",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.yaml"}]}]},{begin:/((\\)cacheMeCode)(?=\[[Tt][Ii][KKk][Zz](?:|[Pp][Ii][Cc][Tt][Uu][Rr][Ee])\b|\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"text.tex.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex.latex"}]}]},{begin:/((\\)cacheMeCode)(?=[\[\{])/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"}},end:/(?<=\})/dgv,patterns:[{include:"text.tex.latex#multiline-optional-arg-no-highlight"},{begin:/(?<=\])(\{)/dgv,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.embedded.block.generic.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"text.tex#braces"}]}]},{begin:/((\\)addplot)\+?(\[[^\[]*\])*\p{space}*(gnuplot)\p{space}*(\[[^\[]*\])*\p{space}*(\{)/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"variable.parameter.function.latex"},"5":{patterns:[{include:"#optional-arg-bracket"}]},"6":{name:"punctuation.definition.arguments.begin.latex"}},end:/\p{space}*(\};)/dgv,patterns:[{begin:/%/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.latex"}},end:/(?=\n?$)\n?/dgv,name:"comment.line.percentage.latex"},{include:"source.gnuplot"}]},{begin:/(\p{space}*\\begin\{((?:fboxv|boxedv|[Vv]|spv)erbatim\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"},{begin:/(\p{space}*\\begin\{VerbatimOut\}\{[^\}]*\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{VerbatimOut\})/dgv,name:"meta.function.verbatim.latex"},{begin:/(\p{space}*\\begin\{alltt\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"markup.raw.verbatim.latex",end:/(\\end\{alltt\})/dgv,name:"meta.function.alltt.latex",patterns:[{captures:{"1":{name:"punctuation.definition.function.latex"}},match:/(\\)[A-Za-z]+/dgv,name:"support.function.general.latex"}]},{begin:/(\p{space}*\\begin\{([Cc]omment)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"comment.line.percentage.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"},{begin:/\p{space}*((\\)h(?:ref|yperref|yperimage))(?=[\[\{])/dgv,beginCaptures:{"1":{name:"support.function.url.latex"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.function.hyperlink.latex",patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(\\{)([^\\}]*)(\\})(?:\\{[^\\}]*\\}){2}?(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"markup.underline.link.latex"},"3":{name:"punctuation.definition.arguments.end.latex"},"4":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.variable.parameter.function.latex",end:/(?=\})/dgv,patterns:[{include:"$self"}]},{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\]))(?:(\\{)[^\\}]*(\\}))?(\\{)","dgv",{"strategy":"clip_search"}),beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"punctuation.definition.arguments.end.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"meta.variable.parameter.function.latex",end:/(?=\})/dgv,patterns:[{include:"$self"}]}]},{captures:{"1":{name:"support.function.url.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"markup.underline.link.latex"},"5":{name:"punctuation.definition.arguments.end.latex"}},match:/\p{space}*((\\)(?:url|path))(\{)([^\}]*)(\})/dgv,name:"meta.function.link.url.latex"},{captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},match:/(\p{space}*\\begin\{document\})/dgv,name:"meta.function.begin-document.latex"},{captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},match:/(\p{space}*\\end\{document\})/dgv,name:"meta.function.end-document.latex"},{begin:/\p{space}*((\\)begin)(\{)((?:\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\+?cases|(?:display)?math|\+?[A-Za-z]*matrix|[BVbpv]?NiceMatrix|[BVbpv]?NiceArray|(?:arg)?m(?:ini|axi))[\!\*]?)(\})(\p{space}*\n)?/dgv,captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"variable.parameter.function.latex"},"5":{name:"punctuation.definition.arguments.end.latex"}},contentName:"meta.math.block.latex support.class.math.block.environment.latex",end:/\p{space}*((\\)end)(\{)((?!))(\})(?:\p{space}*\n)?/dgv,name:"meta.function.environment.math.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.equation.align.latex"},{match:/\\\\/dgv,name:"keyword.control.equation.newline.latex"},{include:"#definition-label"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\p{space}*(\\begin\{empheq\}(?:\[[^\n]*\])?)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.math.block.latex support.class.math.block.environment.latex",end:/\p{space}*(\\end\{empheq\})/dgv,name:"meta.function.environment.math.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.equation.align.latex"},{match:/\\\\/dgv,name:"keyword.control.equation.newline.latex"},{include:"#definition-label"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{(tabular[\*xy]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr|NiceTabular[\*X]?|booktabs)\}(\p{space}*\n)?)/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.data.environment.tabular.latex",end:/(\p{space}*\\end\{((?!))\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.tabular.latex",patterns:[{match:/(?<!\\)&/dgv,name:"keyword.control.table.cell.latex"},{match:/\\\\/dgv,name:"keyword.control.table.newline.latex"},{include:"$self"}]},{begin:/(\p{space}*\\begin\{(itemize|enumerate|description|list)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.list.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{tikzpicture\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{tikzpicture\}(?:\p{space}*\n)?)/dgv,name:"meta.function.environment.latex.tikz",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{frame\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{frame\})/dgv,name:"meta.function.environment.frame.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{(mpost\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.latex.mpost"},{begin:/(\p{space}*\\begin\{markdown\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.embedded.markdown_latex_combined",end:/(\\end\{markdown\})/dgv,patterns:[{include:"text.tex.markdown_latex_combined"}]},{begin:/(\p{space}*\\begin\{(\p{Alphabetic}+\*?)\})/dgv,captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.general.latex",patterns:[{include:"$self"}]},{captures:{"1":{name:"storage.type.function.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.begin.latex"},"4":{name:"support.function.general.latex"},"5":{name:"punctuation.definition.function.latex"},"6":{name:"punctuation.definition.end.latex"}},match:/((\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand))\*?(\{)((\\)[^\}]*)(\})/dgv},{begin:/((\\)marginpar)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"support.function.marginpar.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.marginpar.begin.latex"}},contentName:"meta.paragraph.margin.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.marginpar.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)footnote)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"support.function.footnote.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.footnote.begin.latex"}},contentName:"entity.name.footnote.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.footnote.end.latex"}},patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)emph)(\{)/dgv,beginCaptures:{"1":{name:"support.function.emph.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.emph.begin.latex"}},contentName:"markup.italic.emph.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.emph.end.latex"}},name:"meta.function.emph.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)textit)(\{)/dgv,captures:{"1":{name:"support.function.textit.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.textit.begin.latex"}},contentName:"markup.italic.textit.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.textit.end.latex"}},name:"meta.function.textit.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)textbf)(\{)/dgv,captures:{"1":{name:"support.function.textbf.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.textbf.begin.latex"}},contentName:"markup.bold.textbf.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.textbf.end.latex"}},name:"meta.function.textbf.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{begin:/((\\)texttt)(\{)/dgv,captures:{"1":{name:"support.function.texttt.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.texttt.begin.latex"}},contentName:"markup.raw.texttt.latex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.texttt.end.latex"}},name:"meta.function.texttt.latex",patterns:[{include:"text.tex#braces"},{include:"$self"}]},{captures:{"0":{name:"keyword.other.item.latex"},"1":{name:"punctuation.definition.keyword.latex"}},match:/(\\)item\b/dgv,name:"meta.scope.item.latex"},{begin:/((\\)(?:[Aa]uto|foot|full|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title)?[ANP]*\*?)((?:(?:\([^\)]*\)){0,2}(?:\[[^\]]*\]){0,2}\{[\-\.\:_\p{Alphabetic}\p{N}]*\})*)(<[^\]\<\>]*>)?((?:\[[^\]]*\])*)(\{)/dgv,captures:{"1":{name:"keyword.control.cite.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{patterns:[{include:"#autocites-arg"}]},"4":{patterns:[{include:"#optional-arg-angle-no-highlight"}]},"5":{patterns:[{include:"#optional-arg-bracket-no-highlight"}]},"6":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.citation.latex",patterns:[{captures:{"1":{name:"comment.line.percentage.tex"},"2":{name:"punctuation.definition.comment.tex"}},match:/((%)[^\n]*)(?=\n?$)/dgv},{match:/[\-\.\:\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.citation.latex"}]},{begin:/((\\)bibentry)(\{)/dgv,captures:{"1":{name:"keyword.control.cite.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.citation.latex",patterns:[{match:/[\.\:\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.citation.latex"}]},{begin:/((\\)[\p{L}\p{M}\p{N}\p{Pc}]*[Rr]ef\*?)(?:\[[^\]]*\])?(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.ref.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.reference.label.latex",patterns:[{match:/[\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+/dgv,name:"constant.other.reference.label.latex"}]},{captures:{"1":{name:"keyword.control.ref.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"constant.other.reference.label.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.arguments.begin.latex"},"7":{name:"constant.other.reference.label.latex"},"8":{name:"punctuation.definition.arguments.end.latex"}},match:/((\\)[\p{L}\p{M}\p{N}\p{Pc}]*[Rr]efrange\*?)(?:\[[^\]]*\])?(\{)([\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+)(\})(\{)([\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+)(\})/dgv},{include:"#definition-label"},{begin:/((\\)(?:[Vv]|spv)erb\*?)\p{space}*((\\)scantokens)(\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"support.function.verb.latex"},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"punctuation.definition.begin.latex"}},contentName:"markup.raw.verb.latex",end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.end.latex"}},name:"meta.function.verb.latex",patterns:[{include:"$self"}]},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.verb.latex"},"4":{name:"markup.raw.verb.latex"},"5":{name:"punctuation.definition.verb.latex"}},match:/((\\)(?:[Vv]|spv)erb\*?)\p{space}*((?<=\p{space})\P{space}|[^A-Za-z])([^\n]*?)(\3|(?=\n?$))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.arguments.begin.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"markup.raw.verb.latex"},"8":{name:"punctuation.definition.verb.latex"},"9":{name:"punctuation.definition.verb.latex"},"10":{name:"markup.raw.verb.latex"},"11":{name:"punctuation.definition.verb.latex"}},match:/((\\)mint(?:|inline))((?:\[[^\[]*?\])?)(\{)[A-Za-z]*(\})(?:([^A-Za-\{])([^\n]*?)(\6)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"markup.raw.verb.latex"},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"markup.raw.verb.latex"},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)[a-z]+inline)((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"source.python",patterns:[{include:"source.python"}]},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"source.python",patterns:[{include:"source.python"}]},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{captures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.verb.latex"},"5":{name:"source.julia",patterns:[{include:"source.julia"}]},"6":{name:"punctuation.definition.verb.latex"},"7":{name:"punctuation.definition.verb.latex"},"8":{name:"source.julia",patterns:[{include:"source.julia"}]},"9":{name:"punctuation.definition.verb.latex"}},match:/((\\)j(?:l|ulia)[cv]?)((?:\[[^\[]*?\])?)(?:([^A-Za-\{])([^\n]*?)(\4)|(\{)([^\n]*?)(\}))/dgv,name:"meta.function.verb.latex"},{begin:/((\\)(?:directlua|luadirect|luaexec))(\{)/dgv,beginCaptures:{"1":{name:"support.function.verb.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},contentName:"source.lua",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},patterns:[{include:"source.lua"}]},{match:/\\(?:newline|pagebreak|clearpage|linebreak|pause)\b/dgv,name:"keyword.control.layout.latex"},{begin:/\\\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\\\)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\$\$/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\$\$/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{match:/\\\$/dgv,name:"constant.character.escape.latex"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\$/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.tex"}},end:/\$/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.tex"}},name:"meta.math.block.tex support.class.math.block.tex",patterns:[{match:/\\\$/dgv,name:"constant.character.escape.latex"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\\\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.latex"}},end:/\\\]/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.latex"}},name:"meta.math.block.latex support.class.math.block.environment.latex",patterns:[{include:"text.tex#math-content"},{include:"$self"}]},{captures:{"1":{name:"punctuation.definition.constant.latex"}},match:/(\\)(text(s(terling|ixoldstyle|urd|e(ction|venoldstyle|rvicemark))|yen|n(ineoldstyle|umero|aira)|c(ircledP|o(py(left|right)|lonmonetary)|urrency|e(nt(oldstyle)?|lsius))|t(hree(superior|oldstyle|quarters(emdash)?)|i(ldelow|mes)|w(o(superior|oldstyle)|elveudash)|rademark)|interrobang(down)?|zerooldstyle|o(hm|ne(superior|half|oldstyle|quarter)|penbullet|rd((?:femin|mascul)ine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t((?:|ent)housand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight((?:dbl|)base)|ingle)|f(iveoldstyle|ouroldstyle|lorin|ractionsolidus)|won|l(not|ira|e(ftarrow|af)|quill|angle|brackdbl)|a(s(cii(caron|dieresis|acute|grave|macron|breve)|teriskcentered)|cutedbl)|r(ightarrow|e(cipe|ferencemark|gistered)|quill|angle|brackdbl)|g(uarani|ravedbl)|m(ho|inus|u(sicalnote)?|arried)|b(igcircle|orn|ullet|lank|a(ht|rdbl)|rokenbar)))\b/dgv,name:"constant.character.latex"},{captures:{"1":{name:"punctuation.definition.variable.latex"}},match:/(\\)(?:[cgl]_+[\@_\p{Alphabetic}]+_[a-z]+|[qs]_[\@_\p{Alphabetic}]+[\@\p{Alphabetic}])/dgv,name:"variable.other.latex3.latex"},{captures:{"1":{name:"punctuation.definition.column-specials.begin.latex"},"2":{name:"punctuation.definition.column-specials.end.latex"}},match:/[\<\>](\{)\$(\})/dgv,name:"meta.column-specials.latex"},{include:"text.tex"}],repository:{"autocites-arg":{patterns:[{captures:{"1":{patterns:[{include:"#optional-arg-parenthesis-no-highlight"}]},"2":{patterns:[{include:"#optional-arg-bracket-no-highlight"}]},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"constant.other.reference.citation.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{patterns:[{include:"#autocites-arg"}]}},match:/((?:\([^\)]*\)){0,2})((?:\[[^\]]*\]){0,2})(\{)([\-\.\:_\p{Alphabetic}\p{N}]+)(\})([^\n]*)/dgv}]},"begin-env-tokenizer":{captures:{"1":{name:"support.function.be.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"},"4":{name:"variable.parameter.function.latex"},"5":{name:"punctuation.definition.arguments.end.latex"},"6":{name:"punctuation.definition.arguments.optional.begin.latex"},"7":{patterns:[{include:"$self"}]},"8":{name:"punctuation.definition.arguments.optional.end.latex"},"9":{name:"punctuation.definition.arguments.begin.latex"},"10":{name:"variable.parameter.function.latex"},"11":{name:"punctuation.definition.arguments.end.latex"}},match:/\p{space}*((\\)(?:begin|end))(\{)(\p{Alphabetic}+\*?)(\})(?:(\[)([^\]]*)(\])){0,2}(?:(\{)([^\{\}]*)(\}))?/dgv},"definition-label":{begin:/((\\)z?label)((?:\[[^\[]*?\])*)(\{)/dgv,beginCaptures:{"1":{name:"keyword.control.label.latex"},"2":{name:"punctuation.definition.keyword.latex"},"3":{patterns:[{include:"#optional-arg-bracket"}]},"4":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.definition.label.latex",patterns:[{match:/[\!\*\,-\/\:\^_\p{Alphabetic}\p{N}]+/dgv,name:"variable.parameter.definition.label.latex"}]},"multiline-arg-no-highlight":{begin:/\{/dgvy,beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.parameter.latex",patterns:[{include:"$self"}]},"multiline-optional-arg":{begin:/\[/dgvy,beginCaptures:{"0":{name:"punctuation.definition.arguments.optional.begin.latex"}},contentName:"variable.parameter.function.latex",end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.optional.end.latex"}},name:"meta.parameter.optional.latex",patterns:[{include:"$self"}]},"multiline-optional-arg-no-highlight":{begin:/*@__PURE__*/ new EmulatedRegExp("(?:^|(?<=\\}))\\p{space}*\\[","dgv",{"strategy":"clip_search"}),beginCaptures:{"0":{name:"punctuation.definition.arguments.optional.begin.latex"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.optional.end.latex"}},name:"meta.parameter.optional.latex",patterns:[{include:"$self"}]},"optional-arg-angle-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(<)[^\<]*?(>)/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-bracket":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\[)([^\[]*?)(\])/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-bracket-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\[)[^\[]*?(\])/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-parenthesis":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\()([^\(]*?)(\))/dgv,name:"meta.parameter.optional.latex"}]},"optional-arg-parenthesis-no-highlight":{patterns:[{captures:{"1":{name:"punctuation.definition.arguments.optional.begin.latex"},"2":{name:"punctuation.definition.arguments.optional.end.latex"}},match:/(\()[^\(]*?(\))/dgv,name:"meta.parameter.optional.latex"}]},"songs-chords":{patterns:[{begin:/\\\[/dgv,end:/\]/dgv,name:"meta.chord.block.latex support.class.chord.block.environment.latex",patterns:[{include:"$self"}]},{match:/\^/dgv,name:"meta.chord.block.latex support.class.chord.block.environment.latex"},{include:"$self"}]}},scopeName:"text.tex.latex",embeddedLangs:["tex"],aliases:undefined,embeddedLangsLazy:["shellscript","css","gnuplot","haskell","html","java","julia","javascript","lua","python","ruby","rust","typescript","xml","yaml","scala"]})
|
|
5
5
|
|
|
6
6
|
export default [
|
|
7
7
|
...tex,
|