@shikijs/langs-precompiled 4.0.1 → 4.1.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/apex.mjs +1 -1
- package/dist/bird2.mjs +1 -1
- package/dist/c3.mjs +1 -1
- package/dist/csharp.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/dart.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/just.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/nextflow-groovy.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/typespec.mjs +1 -1
- package/package.json +4 -4
package/dist/just.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import perl from './perl.mjs'
|
|
|
5
5
|
import python from './python.mjs'
|
|
6
6
|
import ruby from './ruby.mjs'
|
|
7
7
|
|
|
8
|
-
const lang = Object.freeze({displayName:"Just",fileTypes:["just","justfile","Justfile"],firstLineMatch:/#![\t\p{space}]*\/[^\n]*just\b/dgv,name:"just",patterns:[{include:"#comments"},{include:"#import"},{include:"#module"},{include:"#alias"},{include:"#assignment"},{include:"#builtins"},{include:"#keywords"},{include:"#expression-operators"},{include:"#backtick"},{include:"#strings"},{include:"#parenthesis"},{include:"#recipes"},{include:"#recipe-operators"},{include:"#embedded-languages"},{include:"#escaping"}],repository:{alias:{captures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.name.alias.just"},"3":{name:"keyword.operator.assignment.just"},"4":{name:"variable.other.just"}},match:/^(alias)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)\p{space}*([A-Z_a-z][\-0-9A-Z_a-z]*)/dgv},assignment:{patterns:[{include:"#variable-assignment"},{include:"#setting-assignment"}]},backtick:{patterns:[{begin:/(```)/dgv,beginCaptures:{"1":{name:"string.interpolated.just"}},contentName:"source.shell",end:/(```)/dgv,endCaptures:{"1":{name:"string.interpolated.just"}},patterns:[{include:"source.shell"}]},{captures:{"1":{name:"string.interpolated.just"},"2":{name:"source.shell",patterns:[{include:"source.shell"}]},"3":{name:"string.interpolated.just"}},match:/(`)([^\`]*)(`)/dgv}]},boolean:{patterns:[{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.just"}]},"builtin-functions":{patterns:[{match:/\b(arch|num_cpus|os|os_family|shell|env_var|env_var_or_default|env|is_dependency|invocation_directory|invocation_dir|invocation_directory_native|invocation_dir_native|justfile|justfile_directory|justfile_dir|just_executable|just_pid|source_file|source_directory|source_dir|module_file|module_directory|module_dir|append|prepend|encode_uri_component|quote|replace|replace_regex|trim|trim_end|trim_end_match|trim_end_matches|trim_start|trim_start_match|trim_start_matches|capitalize|kebabcase|lowercamelcase|lowercase|shoutykebabcase|shoutysnakecase|snakecase|titlecase|uppercamelcase|uppercase|absolute_path|blake3|blake3_file|canonicalize|extension|file_name|file_stem|parent_directory|parent_dir|without_extension|clean|join|path_exists|error|assert|sha256|sha256_file|uuid|choose|datetime|datetime_utc|semver_matches|style|cache_directory|cache_dir|config_directory|config_dir|config_local_directory|config_local_dir|data_directory|data_dir|data_local_directory|data_local_dir|executable_directory|executable_dir|home_directory|home_dir|which|require|read)\b/dgv,name:"support.function.builtin.just"}]},builtins:{patterns:[{match:/\b(HEX|HEXLOWER|HEXUPPER|PATH_SEP|PATH_VAR_SEP|CLEAR|NORMAL|BOLD|ITALIC|UNDERLINE|INVERT|HIDE|STRIKETHROUGH|BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|BG_BLACK|BG_RED|BG_GREEN|BG_YELLOW|BG_BLUE|BG_MAGENTA|BG_CYAN|BG_WHITE)\b/dgv,name:"constant.language.const.just"},{include:"#builtin-functions"},{include:"#literal"}]},comments:{patterns:[{match:/#(?!!)[^\n]*(?=\n?$)/dgv,name:"comment.line.number-sign.just"}]},"control-keywords":{patterns:[{match:/\b(if|else)\b/dgv,name:"keyword.control.conditional.just"}]},"embedded-languages":{patterns:[{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?node[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.js",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.js"}]},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?deno[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.ts",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.ts"}]},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?perl[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.perl",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.perl"}]},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?python[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.python",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.python"}]},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?ruby[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.ruby",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.ruby"}]},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?(?:|ba|z|fi)sh[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.shell",end:/(?<=^\P{space}+)/dgv,patterns:[{include:"source.shell"}]}]},escaping:{patterns:[{captures:{"1":{name:"string.interpolated.escape.just"},"2":{patterns:[{include:"#expression"}]},"3":{name:"string.interpolated.escape.just"}},match:/(?<!\{)(\{\{)\{?(?!\{)([^\n]*?)(\}\})/dgv,name:"string.interpolated.escaping.just"}]},expression:{patterns:[{include:"#backtick"},{include:"#builtins"},{include:"#control-keywords"},{include:"#expression-operators"},{include:"#parenthesis"},{include:"#strings"}]},"expression-operators":{patterns:[{match:/\//dgv,name:"keyword.operator.path-join.just"},{match:/\+/dgv,name:"keyword.operator.concat.just"},{match:/&&/dgv,name:"keyword.operator.and.just"},{match:/\|\|/dgv,name:"keyword.operator.or.just"},{match:/(==|=~|!=)/dgv,name:"keyword.operator.equality.just"}]},import:{begin:/^(import)(\?)?\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"punctuation.optional.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#strings"}]},keywords:{patterns:[{include:"#reserved-keywords"},{include:"#control-keywords"}]},literal:{patterns:[{include:"#boolean"},{include:"#number"}]},module:{begin:/^(mod)(\?)?\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)(?=[\$\p{space}])/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"punctuation.optional.just"},"3":{name:"variable.name.module.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#strings"}]},number:{patterns:[{match:/(?<![\-A-Z_a-z])(?:\.\p{Nd}+|\p{Nd}+\.\p{Nd}+|\p{Nd}+\.|[1-9]\p{Nd}*)/dgv,name:"constant.numeric.just"},{match:/\b[0-9]+[\-A-Z_a-z]+\b/dgv,name:"invalid.illegal.name.just"}]},parenthesis:{begin:/\(/dgv,end:/\)/dgv,patterns:[{include:"#expression"},{include:"#parenthesis"}]},"recipe-attributes":{patterns:[{captures:{"1":{name:"support.function.system.just"},"2":{name:"support.function.system.just"}},match:/^\[([\-A-z]+)\p{space}*(?:,(\p{space}*[\-A-z]+\p{space}*))*\]\p{space}*(?=\n?$)/dgv},{captures:{"1":{name:"support.function.system.just"},"2":{name:"keyword.operator.attribute.end.just"},"3":{patterns:[{include:"#strings"}]},"4":{patterns:[{include:"#strings"}]}},match:/^\[([\-A-z]+)(?:(:)([^\n]*?)|(\(([^\n]*?)\)))?\]\p{space}*(?=\n?$)/dgv}]},"recipe-dependencies":{captures:{"1":{name:"entity.name.function.just"},"2":{patterns:[{captures:{"1":{name:"entity.name.function.just"},"2":{patterns:[{include:"#expression"}]}},match:/\(([A-Z_a-z][\-0-9A-Z_a-z]*)([^\n]*)\)/dgv}]},"3":{name:"keyword.operator.and.just"}},match:/([A-Z_a-z][\-0-9A-Z_a-z]*)|(\((?:[^\(\)]|\([^\)]*\))*\))|(&&)/dgv},"recipe-operators":{patterns:[{captures:{"1":{name:"keyword.operator.quiet.just"}},match:/^\p{space}+(@)/dgv},{captures:{"1":{name:"keyword.operator.error-suppression.just"}},match:/^\p{space}+(-)/dgv}]},"recipe-params":{captures:{"1":{name:"keyword.other.recipe.variadic.just"},"2":{name:"variable.parameter.recipe.just"},"3":{name:"keyword.operator.default.just"},"4":{patterns:[{include:"#strings"}]},"5":{patterns:[{include:"#backtick"}]},"6":{patterns:[{include:"#parenthesis"}]}},match:/([\$\*\+])?([A-Z_a-z][0-9A-Z_a-z]*)(?:(=)(?:[A-Z_a-z][0-9A-Z_a-z]*|("[^\n]*?"|'[^\n]*?')|(`[^\n]*?`)|(\((?:[^\(\)]|\([^\)]*\))*\))))?/dgv},recipes:{patterns:[{captures:{"1":{name:"keyword.other.recipe.prefix.just"},"2":{name:"entity.name.function.just"},"3":{patterns:[{include:"#recipe-params"}]},"4":{name:"keyword.operator.recipe.end.just"},"5":{patterns:[{include:"#recipe-dependencies"}]}},match:/^(@_|_@|[\@_])?([A-Za-z][\-0-9A-Z_a-z]*)(?:\p{space}+([^\n]*?))?\p{space}*(:)([^\n]*)/dgv},{include:"#recipe-operators"},{include:"#recipe-attributes"},{include:"#embedded-languages"}]},"reserved-keywords":{patterns:[{captures:{"1":{name:"keyword.other.reserved.just"}},match:/^(alias|export|unexport|import|mod|set)\p{space}+/dgv}]},"setting-assignment":{patterns:[{begin:/^(set)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)?/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"},"3":{name:"keyword.operator.assignment.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#expression"},{include:"#comments"}]}]},strings:{patterns:[{match:/(["']{1,3})\{+(\1)/dgv,name:"string.quoted.double.indented.just"},{begin:/([fx])?(""")/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.double.indented.just"}},end:/"""/dgv,name:"string.quoted.double.indented.just",patterns:[{match:/\\[^\n](?:(?<=u)\{[^\n]+?\})?/dgv,name:"constant.character.escape.just"},{include:"#escaping"}]},{begin:/([fx])?(")/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.double.just"}},end:/"/dgv,name:"string.quoted.double.just",patterns:[{match:/\\[^\n](?:(?<=u)\{[^\n]+?\})?/dgv,name:"constant.character.escape.just"},{include:"#escaping"}]},{begin:/([fx])?(''')/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.single.indented.just"}},end:/'''/dgv,name:"string.quoted.single.indented.just",patterns:[{include:"#escaping"}]},{begin:/([fx])?(')/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.single.just"}},end:/'/dgv,name:"string.quoted.single.just",patterns:[{include:"#escaping"}]}]},"variable-assignment":{patterns:[{captures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"}},match:/^(unexport)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)/dgv},{begin:/^(?:(export)\p{space}+)?([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"},"3":{name:"keyword.operator.assignment.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#expression"},{include:"#comments"}]}]}},scopeName:"source.just",embeddedLangs:["shellscript","javascript","typescript","perl","python","ruby"],aliases:undefined})
|
|
8
|
+
const lang = Object.freeze({displayName:"Just",fileTypes:["just","justfile","Justfile"],firstLineMatch:/#![\t\p{space}]*\/[^\n]*just\b/dgv,name:"just",patterns:[{include:"#comments"},{include:"#import"},{include:"#module"},{include:"#alias"},{include:"#assignment"},{include:"#builtins"},{include:"#keywords"},{include:"#expression-operators"},{include:"#backtick"},{include:"#strings"},{include:"#parenthesis"},{include:"#recipes"},{include:"#recipe-operators"},{include:"#embedded-languages"},{include:"#escaping"}],repository:{alias:{captures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.name.alias.just"},"3":{name:"keyword.operator.assignment.just"},"4":{name:"variable.other.just"}},match:/^(alias)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)\p{space}*([A-Z_a-z][\-0-9A-Z_a-z]*)/dgv},assignment:{patterns:[{include:"#variable-assignment"},{include:"#setting-assignment"}]},backtick:{patterns:[{begin:/(```)/dgv,beginCaptures:{"1":{name:"string.interpolated.just"}},contentName:"source.shell",end:/(```)/dgv,endCaptures:{"1":{name:"string.interpolated.just"}},patterns:[{include:"source.shell"}]},{captures:{"1":{name:"string.interpolated.just"},"2":{name:"source.shell",patterns:[{include:"source.shell"}]},"3":{name:"string.interpolated.just"}},match:/(`)([^\`]*)(`)/dgv}]},boolean:{patterns:[{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.just"}]},"builtin-functions":{patterns:[{match:/\b(arch|num_cpus|os|os_family|shell|env_var|env_var_or_default|env|is_dependency|invocation_directory|invocation_dir|invocation_directory_native|invocation_dir_native|justfile|justfile_directory|justfile_dir|just_executable|just_pid|source_file|source_directory|source_dir|module_file|module_directory|module_dir|append|prepend|encode_uri_component|quote|replace|replace_regex|trim|trim_end|trim_end_match|trim_end_matches|trim_start|trim_start_match|trim_start_matches|capitalize|kebabcase|lowercamelcase|lowercase|shoutykebabcase|shoutysnakecase|snakecase|titlecase|uppercamelcase|uppercase|absolute_path|blake3|blake3_file|canonicalize|extension|file_name|file_stem|parent_directory|parent_dir|without_extension|clean|join|path_exists|error|assert|sha256|sha256_file|uuid|choose|datetime|datetime_utc|semver_matches|style|cache_directory|cache_dir|config_directory|config_dir|config_local_directory|config_local_dir|data_directory|data_dir|data_local_directory|data_local_dir|executable_directory|executable_dir|home_directory|home_dir|which|require|read)\b/dgv,name:"support.function.builtin.just"}]},builtins:{patterns:[{match:/\b(HEX|HEXLOWER|HEXUPPER|PATH_SEP|PATH_VAR_SEP|CLEAR|NORMAL|BOLD|ITALIC|UNDERLINE|INVERT|HIDE|STRIKETHROUGH|BLACK|RED|GREEN|YELLOW|BLUE|MAGENTA|CYAN|WHITE|BG_BLACK|BG_RED|BG_GREEN|BG_YELLOW|BG_BLUE|BG_MAGENTA|BG_CYAN|BG_WHITE)\b/dgv,name:"constant.language.const.just"},{include:"#builtin-functions"},{include:"#literal"}]},comments:{patterns:[{match:/#(?!!)[^\n]*(?=\n?$)/dgv,name:"comment.line.number-sign.just"}]},"control-keywords":{patterns:[{match:/\b(if|else)\b/dgv,name:"keyword.control.conditional.just"}]},"embedded-languages":{patterns:[{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?node[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.js",patterns:[{include:"source.js"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?deno[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.ts",patterns:[{include:"source.ts"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?perl[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.perl",patterns:[{include:"source.perl"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?python[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.python",patterns:[{include:"source.python"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?ruby[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.ruby",patterns:[{include:"source.ruby"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv},{begin:/^\p{space}+(#!\/usr\/bin\/env\p{space}+(?:-S\p{space}+)?(?:|ba|z|fi)sh[^\n]*)(?=\n?$)/dgv,beginCaptures:{"1":{name:"comment.line.number-sign.shebang.just"}},contentName:"source.shell",patterns:[{include:"source.shell"}],while:/^(?=\p{space}*(?=\n?$)|\p{space})/dgv}]},escaping:{patterns:[{captures:{"1":{name:"string.interpolated.escape.just"},"2":{patterns:[{include:"#expression"}]},"3":{name:"string.interpolated.escape.just"}},match:/(?<!\{)(\{\{)\{?(?!\{)([^\n]*?)(\}\})/dgv,name:"string.interpolated.escaping.just"}]},expression:{patterns:[{include:"#backtick"},{include:"#builtins"},{include:"#control-keywords"},{include:"#expression-operators"},{include:"#parenthesis"},{include:"#strings"}]},"expression-operators":{patterns:[{match:/\//dgv,name:"keyword.operator.path-join.just"},{match:/\+/dgv,name:"keyword.operator.concat.just"},{match:/&&/dgv,name:"keyword.operator.and.just"},{match:/\|\|/dgv,name:"keyword.operator.or.just"},{match:/(==|=~|!=)/dgv,name:"keyword.operator.equality.just"}]},import:{begin:/^(import)(\?)?\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"punctuation.optional.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#strings"}]},keywords:{patterns:[{include:"#reserved-keywords"},{include:"#control-keywords"}]},literal:{patterns:[{include:"#boolean"},{include:"#number"}]},module:{begin:/^(mod)(\?)?\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)(?=[\$\p{space}])/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"punctuation.optional.just"},"3":{name:"variable.name.module.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#strings"}]},number:{patterns:[{match:/(?<![\-A-Z_a-z])(?:\.\p{Nd}+|\p{Nd}+\.\p{Nd}+|\p{Nd}+\.|[1-9]\p{Nd}*)/dgv,name:"constant.numeric.just"},{match:/\b[0-9]+[\-A-Z_a-z]+\b/dgv,name:"invalid.illegal.name.just"}]},parenthesis:{begin:/\(/dgv,end:/\)/dgv,patterns:[{include:"#expression"},{include:"#parenthesis"}]},"recipe-attributes":{patterns:[{captures:{"1":{name:"support.function.system.just"},"2":{name:"support.function.system.just"}},match:/^\[([\-A-z]+)\p{space}*(?:,(\p{space}*[\-A-z]+\p{space}*))*\]\p{space}*(?=\n?$)/dgv},{captures:{"1":{name:"support.function.system.just"},"2":{name:"keyword.operator.attribute.end.just"},"3":{patterns:[{include:"#strings"}]},"4":{patterns:[{include:"#strings"}]}},match:/^\[([\-A-z]+)(?:(:)([^\n]*?)|(\(([^\n]*?)\)))?\]\p{space}*(?=\n?$)/dgv}]},"recipe-dependencies":{captures:{"1":{name:"entity.name.function.just"},"2":{patterns:[{captures:{"1":{name:"entity.name.function.just"},"2":{patterns:[{include:"#expression"}]}},match:/\(([A-Z_a-z][\-0-9A-Z_a-z]*)([^\n]*)\)/dgv}]},"3":{name:"keyword.operator.and.just"}},match:/([A-Z_a-z][\-0-9A-Z_a-z]*)|(\((?:[^\(\)]|\([^\)]*\))*\))|(&&)/dgv},"recipe-operators":{patterns:[{captures:{"1":{name:"keyword.operator.quiet.just"}},match:/^\p{space}+(@)/dgv},{captures:{"1":{name:"keyword.operator.error-suppression.just"}},match:/^\p{space}+(-)/dgv}]},"recipe-params":{captures:{"1":{name:"keyword.other.recipe.variadic.just"},"2":{name:"variable.parameter.recipe.just"},"3":{name:"keyword.operator.default.just"},"4":{patterns:[{include:"#strings"}]},"5":{patterns:[{include:"#backtick"}]},"6":{patterns:[{include:"#parenthesis"}]}},match:/([\$\*\+])?([A-Z_a-z][0-9A-Z_a-z]*)(?:(=)(?:[A-Z_a-z][0-9A-Z_a-z]*|("[^\n]*?"|'[^\n]*?')|(`[^\n]*?`)|(\((?:[^\(\)]|\([^\)]*\))*\))))?/dgv},recipes:{patterns:[{captures:{"1":{name:"keyword.other.recipe.prefix.just"},"2":{name:"entity.name.function.just"},"3":{patterns:[{include:"#recipe-params"}]},"4":{name:"keyword.operator.recipe.end.just"},"5":{patterns:[{include:"#recipe-dependencies"}]}},match:/^(@_|_@|[\@_])?([A-Za-z][\-0-9A-Z_a-z]*)(?:\p{space}+([^\n]*?))?\p{space}*(:)([^\n]*)/dgv},{include:"#recipe-operators"},{include:"#recipe-attributes"},{include:"#embedded-languages"}]},"reserved-keywords":{patterns:[{captures:{"1":{name:"keyword.other.reserved.just"}},match:/^(alias|export|unexport|import|mod|set)\p{space}+/dgv}]},"setting-assignment":{patterns:[{begin:/^(set)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)?/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"},"3":{name:"keyword.operator.assignment.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#expression"},{include:"#comments"}]}]},strings:{patterns:[{match:/(["']{1,3})\{+(\1)/dgv,name:"string.quoted.double.indented.just"},{begin:/([fx])?(""")/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.double.indented.just"}},end:/"""/dgv,name:"string.quoted.double.indented.just",patterns:[{match:/\\[^\n](?:(?<=u)\{[^\n]+?\})?/dgv,name:"constant.character.escape.just"},{include:"#escaping"}]},{begin:/([fx])?(")/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.double.just"}},end:/"/dgv,name:"string.quoted.double.just",patterns:[{match:/\\[^\n](?:(?<=u)\{[^\n]+?\})?/dgv,name:"constant.character.escape.just"},{include:"#escaping"}]},{begin:/([fx])?(''')/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.single.indented.just"}},end:/'''/dgv,name:"string.quoted.single.indented.just",patterns:[{include:"#escaping"}]},{begin:/([fx])?(')/dgv,beginCaptures:{"1":{name:"constant.character.expanded.just"},"2":{name:"string.quoted.single.just"}},end:/'/dgv,name:"string.quoted.single.just",patterns:[{include:"#escaping"}]}]},"variable-assignment":{patterns:[{captures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"}},match:/^(unexport)\p{space}+([A-Z_a-z][\-0-9A-Z_a-z]*)/dgv},{begin:/^(?:(export)\p{space}+)?([A-Z_a-z][\-0-9A-Z_a-z]*)\p{space}*(:=)/dgv,beginCaptures:{"1":{name:"keyword.other.reserved.just"},"2":{name:"variable.other.just"},"3":{name:"keyword.operator.assignment.just"}},end:/(?=\n?$)/dgv,patterns:[{include:"#expression"},{include:"#comments"}]}]}},scopeName:"source.just",embeddedLangs:["shellscript","javascript","typescript","perl","python","ruby"],aliases:undefined})
|
|
9
9
|
|
|
10
10
|
export default [
|
|
11
11
|
...shellscript,
|
package/dist/kusto.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Kusto",fileTypes:["csl","kusto","kql"],name:"kusto",patterns:[{match:/\b(by|from|of|to|step|with)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\b/dgv,name:"keyword.control.kusto"},{match:/\b(and|or|has_all|has_any|matches|regex)\b/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Strings"}]}},match:/\b(cluster|database)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.special.database.kusto"},{match:/\b(external_table|materialized_view|materialize|table|toscalar)\b/dgv,name:"support.function.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?between)\b/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{patterns:[{include:"#Numeric"}]}},match:/\b(binary_(?:and|or|shift_left|shift_right|xor))(?:\p{space}*\(\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*,\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.bitwise.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(bi(?:nary_not|tset_count_ones))(?:\p{space}*\(\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.bitwise.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?in~?)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.other.operator.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"3":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"4":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},match:/\b(range)\p{space}*\((?:\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)\p{space}*,\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)\p{space}*,?(?:\p{space}*)?([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)?\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.range.kusto"},{match:/\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2?|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2?|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\b/dgv,name:"support.function.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"3":{patterns:[{include:"#TimeSpanLiterals"},{include:"#Numeric"}]}},match:/\b(bin)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*,\p{space}*([^\n]+?)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.bin.kusto"},{match:/\b(count)\p{space}*\(\p{space}*\)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"support.function.kusto"},{match:/\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles?|stdevif|stdevp?|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep?)\b/dgv,name:"support.function.kusto"},{match:/\b(geo_(?:distance_2points|distance_point_to_line|distance_point_to_polygon|intersects_2lines|intersects_2polygons|intersects_line_with_polygon|intersection_2lines|intersection_2polygons|intersection_line_with_polygon|line_centroid|line_densify|line_length|line_simplify|polygon_area|polygon_centroid|polygon_densify|polygon_perimeter|polygon_simplify|polygon_to_s2cells|point_in_circle|point_in_polygon|point_to_geohash|point_to_h3cell|point_to_s2cell|geohash_to_central_point|geohash_neighbors|geohash_to_polygon|s2cell_to_central_point|s2cell_neighbors|s2cell_to_polygon|h3cell_to_central_point|h3cell_neighbors|h3cell_to_polygon|h3cell_parent|h3cell_children|h3cell_level|h3cell_rings|simplify_polygons_array|union_lines_array|union_polygons_array))\b/dgv,name:"support.function.kusto"},{match:/\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\b/dgv,name:"support.function.kusto"},{match:/\.(create-or-alter|replace)/dgv,name:"keyword.control.kusto"},{match:/(?<=let )[^\n]+(?=[^\p{L}\p{M}\p{N}\p{Pc}]*=)/dgv,name:"entity.function.name.lambda.kusto"},{match:/\b(folder|docstring|skipvalidation)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(function)\b/dgv,name:"storage.type.kusto"},{match:/\b(bool|boolean|decimal|dynamic|guid|int|long|real|string)\b/dgv,name:"storage.type.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"variable.other.kusto"}},match:/\b(as)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv,name:"meta.query.as.kusto"},{match:/\b(datatable)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\()/dgv,name:"keyword.other.query.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"}},match:/\b(facet)(?:\p{space}+(by))?\b/dgv,name:"meta.query.facet.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"entity.name.function.kusto"}},match:/\b(invoke)(?:\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.invoke.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"},"3":{name:"variable.other.column.kusto"}},match:/\b(order)(?:\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.order.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"variable.other.column.kusto"},"3":{name:"keyword.other.operator.kusto"},"4":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"5":{name:"keyword.other.operator.kusto"},"6":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"7":{name:"keyword.other.operator.kusto"},"8":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},match:/\b(range)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(from)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\p{space}+(to)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\p{space}+(step)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\b/dgv,name:"meta.query.range.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(sample)(?:\p{space}+(\p{Nd}+))?(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.query.sample.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"}},match:/\b(sample-distinct)(?:\p{space}+(\p{Nd}+)\p{space}+(of)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.sample-distinct.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"}},match:/\b(sort)(?:\p{space}+(by))?\b/dgv,name:"meta.query.sort.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(take|limit)\p{space}+(\p{Nd}+)\b/dgv,name:"meta.query.take.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"}},match:/\b(top)(?:\p{space}+(\p{Nd}+)\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?(?![\-\p{L}\p{M}\p{N}\p{Pc}])\b/dgv,name:"meta.query.top.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"},"5":{name:"keyword.other.operator.kusto"},"6":{name:"variable.other.column.kusto"}},match:/\b(top-hitters)(?:\p{space}+(\p{Nd}+)\p{space}+(of)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(?:\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?)?\b/dgv,name:"meta.query.top-hitters.kusto"},{match:/\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\b/dgv,name:"keyword.other.query.kusto"},{match:/\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\b/dgv,name:"support.function.kusto"},{match:/\b(on|kind|hint\.remote|hint\.strategy)\b/dgv,name:"keyword.other.operator.kusto"},{match:/(\$(?:left|right))\b/dgv,name:"keyword.other.kusto"},{match:/\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\b/dgv,name:"keyword.other.kusto"},{match:/\b(series_(?:abs|acos|add|asin|atan|cos|decompose|decompose_anomalies|decompose_forecast|divide|equals|exp|fft|fill_backward|fill_const|fill_forward|fill_linear|fir|fit_2lines_dynamic|fit_2lines|fit_line_dynamic|fit_line|fit_poly|greater_equals|greater|ifft|iir|less_equals|less|multiply|not_equals|outliers|pearson_correlation|periods_detect|periods_validate|pow|seasonal|sign|sin|stats|stats_dynamic|subtract|tan))\b/dgv,name:"support.function.kusto"},{match:/\b(bag|array)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(asc|desc|nulls first|nulls last)\b/dgv,name:"keyword.other.kusto"},{match:/\b(regex|simple|relaxed)\b/dgv,name:"keyword.other.kusto"},{match:/\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\b/dgv,name:"support.function.kusto"},{include:"#Strings"},{match:/\{[^\n]*?\}/dgv,name:"string.other.kusto"},{match:/\/\/[^\n]*/dgv,name:"comment.line.kusto"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#DateTimeTimeSpanDataTypes"},{include:"#Numeric"},{match:/\b(true|false|null)\b/dgv,name:"constant.language.kusto"},{match:/\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\(|\b)/dgv,name:"invalid.deprecated.kusto"}],repository:{DateTimeTimeSpanDataTypes:{patterns:[{match:/\b(datetime|timespan|time)\b/dgv,name:"storage.type.kusto"}]},DateTimeTimeSpanFunctions:{patterns:[{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"}]},"3":{patterns:[{include:"#Strings"}]}},match:/\b(format_datetime)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*,\p{space}*(["'][^\n]*?["'])\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.format_datetime.kusto"},{match:/\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\()/dgv,name:"support.function.kusto"}]},Escapes:{patterns:[{match:/(\\["'\\])/dgv,name:"constant.character.escape.kusto"}]},Numeric:{patterns:[{match:/*@__PURE__*/ new EmulatedRegExp("\\b((0([Xx])\\p{AHex}*)|(([0-9]+\\.?(?:(?=([0-9]*))\\6))|(\\.[0-9]+))(([Ee])([\\-\\+])?[0-9]+)?)([Ll]|UL|ul|[FUfu]|ll|LL|ull|ULL)?(?=\\b|[\\p{L}\\p{M}\\p{N}\\p{Pc}])","dgv",{"hiddenCaptures":[6]}),name:"constant.numeric.kusto"}]},Strings:{patterns:[{begin:/([\@h]?")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.double.kusto",patterns:[{include:"#Escapes"}]},{begin:/([\@h]?')/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.single.kusto",patterns:[{include:"#Escapes"}]},{begin:/([\@h]?```)/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/```/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.multi.kusto",patterns:[{include:"#Escapes"}]}]},TimeSpanLiterals:{patterns:[{match:/[\-\+]?(?:\p{Nd}*\.)?\p{Nd}+(?:microseconds?|ticks?|seconds?|ms|[dhms])\b/dgv,name:"constant.numeric.kusto"}]}},scopeName:"source.kusto",embeddedLangs:undefined,aliases:["kql"]})
|
|
3
|
+
const lang = Object.freeze({displayName:"Kusto",fileTypes:["csl","kusto","kql"],name:"kusto",patterns:[{match:/\b(by|from|of|to|step|with)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\b/dgv,name:"keyword.control.kusto"},{match:/\b(and|or|has_all|has_any|matches|regex)\b/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Strings"}]}},match:/\b(cluster|database)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.special.database.kusto"},{match:/\b(external_table|materialized_view|materialize|table|toscalar)\b/dgv,name:"support.function.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?between)\b/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{patterns:[{include:"#Numeric"}]}},match:/\b(binary_(?:and|or|shift_left|shift_right|xor))(?:\p{space}*\(\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*,\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.bitwise.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(bi(?:nary_not|tset_count_ones))(?:\p{space}*\(\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.bitwise.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?in~?)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.other.operator.kusto"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"keyword.other.operator.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"3":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"4":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},match:/\b(range)\p{space}*\((?:\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)\p{space}*,\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)\p{space}*,?(?:\p{space}*)?([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([^\n]*?\))?)?\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.range.kusto"},{match:/\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2?|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2?|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_tdigest|percentile_array_tdigest|percentrank_tdigest|pi|pow|radians|rand|rank_tdigest|regex_quote|repeat|replace_regex|replace_string|reverse|round|set_difference|set_has_element|set_intersect|set_union|sign|sin|split|sqrt|strcat_array|strcat_delim|strcmp|strcat|string_size|strlen|strrep|substring|tan|to_utf8|tobool|todecimal|todouble|toreal|toguid|tohex|toint|tolong|tolower|tostring|toupper|translate|treepath|trim_end|trim_start|trim|unixtime_microseconds_todatetime|unixtime_milliseconds_todatetime|unixtime_nanoseconds_todatetime|unixtime_seconds_todatetime|url_decode|url_encode_component|url_encode|welch_test|zip|zlib_compress_to_base64_string|zlib_decompress_from_base64_string)\b/dgv,name:"support.function.kusto"},{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"3":{patterns:[{include:"#TimeSpanLiterals"},{include:"#Numeric"}]}},match:/\b(bin)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*,\p{space}*([^\n]+?)\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.bin.kusto"},{match:/\b(count)\p{space}*\(\p{space}*\)(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"support.function.kusto"},{match:/\b(arg_max|arg_min|avgif|avg|binary_all_and|binary_all_or|binary_all_xor|buildschema|countif|dcount|dcountif|hll|hll_merge|make_bag_if|make_bag|make_list_with_nulls|make_list_if|make_list|make_set_if|make_set|maxif|max|minif|min|percentilesw_array|percentiles_array|percentilesw|percentilew|percentiles?|stdevif|stdevp?|sumif|sum|take_anyif|take_any|tdigest_merge|merge_tdigest|tdigest|varianceif|variancep?)\b/dgv,name:"support.function.kusto"},{match:/\b(geo_(?:distance_2points|distance_point_to_line|distance_point_to_polygon|intersects_2lines|intersects_2polygons|intersects_line_with_polygon|intersection_2lines|intersection_2polygons|intersection_line_with_polygon|line_centroid|line_densify|line_length|line_simplify|polygon_area|polygon_centroid|polygon_densify|polygon_perimeter|polygon_simplify|polygon_to_s2cells|point_in_circle|point_in_polygon|point_to_geohash|point_to_h3cell|point_to_s2cell|geohash_to_central_point|geohash_neighbors|geohash_to_polygon|s2cell_to_central_point|s2cell_neighbors|s2cell_to_polygon|h3cell_to_central_point|h3cell_neighbors|h3cell_to_polygon|h3cell_parent|h3cell_children|h3cell_level|h3cell_rings|simplify_polygons_array|union_lines_array|union_polygons_array))\b/dgv,name:"support.function.kusto"},{match:/\b(next|prev|row_cumsum|row_number|row_rank|row_window_session)\b/dgv,name:"support.function.kusto"},{match:/\.(create-or-alter|replace)/dgv,name:"keyword.control.kusto"},{match:/(?<=let )[^\n]+(?=[^\p{L}\p{M}\p{N}\p{Pc}]*=)/dgv,name:"entity.function.name.lambda.kusto"},{match:/\b(folder|docstring|skipvalidation)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(function)\b/dgv,name:"storage.type.kusto"},{match:/\b(bool|boolean|decimal|dynamic|guid|int|long|real|string)\b/dgv,name:"storage.type.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"variable.other.kusto"}},match:/\b(as)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv,name:"meta.query.as.kusto"},{match:/\b(datatable)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\()/dgv,name:"keyword.other.query.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"}},match:/\b(facet)(?:\p{space}+(by))?\b/dgv,name:"meta.query.facet.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"entity.name.function.kusto"}},match:/\b(invoke)(?:\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.invoke.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"},"3":{name:"variable.other.column.kusto"}},match:/\b(order)(?:\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.order.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"variable.other.column.kusto"},"3":{name:"keyword.other.operator.kusto"},"4":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"5":{name:"keyword.other.operator.kusto"},"6":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"7":{name:"keyword.other.operator.kusto"},"8":{patterns:[{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},match:/\b(range)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(from)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\p{space}+(to)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\p{space}+(step)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+(?:\([\p{L}\p{M}\p{N}\p{Pc}]*\))?)\b/dgv,name:"meta.query.range.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(sample)(?:\p{space}+(\p{Nd}+))?(?![\-\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.query.sample.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"}},match:/\b(sample-distinct)(?:\p{space}+(\p{Nd}+)\p{space}+(of)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?\b/dgv,name:"meta.query.sample-distinct.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{name:"keyword.other.operator.kusto"}},match:/\b(sort)(?:\p{space}+(by))?\b/dgv,name:"meta.query.sort.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]}},match:/\b(take|limit)\p{space}+(\p{Nd}+)\b/dgv,name:"meta.query.take.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"}},match:/\b(top)(?:\p{space}+(\p{Nd}+)\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?(?![\-\p{L}\p{M}\p{N}\p{Pc}])\b/dgv,name:"meta.query.top.kusto"},{captures:{"1":{name:"keyword.other.query.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{name:"keyword.other.operator.kusto"},"4":{name:"variable.other.column.kusto"},"5":{name:"keyword.other.operator.kusto"},"6":{name:"variable.other.column.kusto"}},match:/\b(top-hitters)(?:\p{space}+(\p{Nd}+)\p{space}+(of)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(?:\p{space}+(by)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+))?)?\b/dgv,name:"meta.query.top-hitters.kusto"},{match:/\b(consume|count|distinct|evaluate|extend|externaldata|find|fork|getschema|join|lookup|make-series|mv-apply|mv-expand|project-away|project-keep|project-rename|project-reorder|project|parse|parse-where|parse-kv|partition|print|reduce|render|scan|search|serialize|shuffle|summarize|top-nested|union|where)\b/dgv,name:"keyword.other.query.kusto"},{match:/\b(active_users_count|activity_counts_metrics|activity_engagement|new_activity_metrics|activity_metrics|autocluster|azure_digital_twins_query_request|bag_unpack|basket|cosmosdb_sql_request|dcount_intersect|diffpatterns|funnel_sequence_completion|funnel_sequence|http_request_post|http_request|infer_storage_schema|ipv4_lookup|mysql_request|narrow|pivot|preview|rolling_percentile|rows_near|schema_merge|session_count|sequence_detect|sliding_window_counts|sql_request)\b/dgv,name:"support.function.kusto"},{match:/\b(on|kind|hint\.remote|hint\.strategy)\b/dgv,name:"keyword.other.operator.kusto"},{match:/(\$(?:left|right))\b/dgv,name:"keyword.other.kusto"},{match:/\b(innerunique|inner|leftouter|rightouter|fullouter|leftanti|anti|leftantisemi|rightanti|rightantisemi|leftsemi|rightsemi|broadcast)\b/dgv,name:"keyword.other.kusto"},{match:/\b(series_(?:abs|acos|add|asin|atan|cos|decompose|decompose_anomalies|decompose_forecast|divide|equals|exp|fft|fill_backward|fill_const|fill_forward|fill_linear|fir|fit_2lines_dynamic|fit_2lines|fit_line_dynamic|fit_line|fit_poly|greater_equals|greater|ifft|iir|less_equals|less|multiply|not_equals|outliers|pearson_correlation|periods_detect|periods_validate|pow|seasonal|sign|sin|stats|stats_dynamic|subtract|tan))\b/dgv,name:"support.function.kusto"},{match:/\b(bag|array)\b/dgv,name:"keyword.other.operator.kusto"},{match:/\b(asc|desc|nulls first|nulls last)\b/dgv,name:"keyword.other.kusto"},{match:/\b(regex|simple|relaxed)\b/dgv,name:"keyword.other.kusto"},{match:/\b(anomalychart|areachart|barchart|card|columnchart|ladderchart|linechart|piechart|pivotchart|scatterchart|stackedareachart|timechart|timepivot)\b/dgv,name:"support.function.kusto"},{include:"#Strings"},{match:/\{[^\n]*?\}/dgv,name:"string.other.kusto"},{match:/\/\/[^\n]*/dgv,name:"comment.line.kusto"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#DateTimeTimeSpanDataTypes"},{include:"#Numeric"},{match:/\b(true|false|null)\b/dgv,name:"constant.language.kusto"},{match:/\b(anyif|any|array_strcat|base64_decodestring|base64_encodestring|make_dictionary|makelist|makeset|mvexpand|todynamic|parse_json|replace|weekofyear)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\(|\b)/dgv,name:"invalid.deprecated.kusto"}],repository:{DateTimeTimeSpanDataTypes:{patterns:[{match:/\b(datetime|timespan|time)\b/dgv,name:"storage.type.kusto"}]},DateTimeTimeSpanFunctions:{patterns:[{captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"}]},"3":{patterns:[{include:"#Strings"}]}},match:/\b(format_datetime)(?:\p{space}*\(\p{space}*([^\n]+?)\p{space}*,\p{space}*(["'][^\n]*?["'])\p{space}*\))?(?![\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"meta.scalar.function.format_datetime.kusto"},{match:/\b(ago|datetime_add|datetime_diff|datetime_local_to_utc|datetime_part|datetime_utc_to_local|dayofmonth|dayofweek|dayofyear|endofday|endofmonth|endofweek|endofyear|format_timespan|getmonth|getyear|hourofday|make_datetime|make_timespan|monthofyear|now|startofday|startofmonth|startofweek|startofyear|todatetime|totimespan|week_of_year)(?=[^\p{L}\p{M}\p{N}\p{Pc}]*\()/dgv,name:"support.function.kusto"}]},Escapes:{patterns:[{match:/\\["'\\nt]/dgv,name:"constant.character.escape.kusto"}]},Numeric:{patterns:[{match:/*@__PURE__*/ new EmulatedRegExp("\\b((0([Xx])\\p{AHex}*)|(([0-9]+\\.?(?:(?=([0-9]*))\\6))|(\\.[0-9]+))(([Ee])([\\-\\+])?[0-9]+)?)([Ll]|UL|ul|[FUfu]|ll|LL|ull|ULL)?(?=\\b|[\\p{L}\\p{M}\\p{N}\\p{Pc}])","dgv",{"hiddenCaptures":[6]}),name:"constant.numeric.kusto"}]},Strings:{patterns:[{begin:/([\@h]?")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.double.kusto",patterns:[{include:"#Escapes"}]},{begin:/([\@h]?')/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.single.kusto",patterns:[{include:"#Escapes"}]},{begin:/([\@h]?```)/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.kusto"}},end:/```/dgv,endCaptures:{"0":{name:"punctuation.definition.string.kusto"}},name:"string.quoted.multi.kusto",patterns:[{include:"#Escapes"}]}]},TimeSpanLiterals:{patterns:[{match:/[\-\+]?(?:\p{Nd}*\.)?\p{Nd}+(?:microseconds?|ticks?|seconds?|ms|[dhms])\b/dgv,name:"constant.numeric.kusto"}]}},scopeName:"source.kusto",embeddedLangs:undefined,aliases:["kql"]})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
lang
|
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"},{include:"#songs-env"},{include:"#embedded-code-env"},{include:"#verbatim-env"},{include:"#document-env"},{include:"#all-balanced-env"},{include:"#documentclass-usepackage-macro"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#newcommand-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"text.tex"}],repository:{"all-balanced-env":{patterns:[{begin:/\p{space}*((\\)begin)(\{)((?:\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|(?:[\+dr]|dr)?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:"#label-macro"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\p{space}*(\\begin\{empheq\}(?:\[[^\n]*\])?)/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#label-macro"},{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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},end:/(\\end\{frame\})/dgv,name:"meta.function.environment.frame.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{(mpost\*?)\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.latex.mpost"},{begin:/(\p{space}*\\begin\{markdown\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.general.latex",patterns:[{include:"$self"}]}]},"all-other-macro":{patterns:[{match:/\\(?:newline|pagebreak|clearpage|linebreak|pause)\b/dgv,name:"keyword.control.layout.latex"},{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:"#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:"#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"},{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"}]},"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}]},braces:{begin:/(?<!\\)\{/dgv,beginCaptures:{"0":{name:"punctuation.group.begin.latex"}},end:/(?<!\\)\}/dgv,endCaptures:{"0":{name:"punctuation.group.end.latex"}},name:"meta.group.braces.latex",patterns:[{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#macro-with-args-tokenizer"},{include:"#all-other-macro"},{include:"text.tex"},{include:"#braces"}]},"citation-macro":{begin:/((\\)(?:[Aa]uto|foot|full|footfull|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart|[FPfp]vol|vol)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title|url|date)?[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"}]},"column-specials":{captures:{"1":{name:"punctuation.definition.column-specials.begin.latex"},"2":{name:"punctuation.definition.column-specials.end.latex"}},match:/[\<\>](\{)\$(\})/dgv,name:"meta.column-specials.latex"},"display-math":{patterns:[{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"}]}]},"document-env":{patterns:[{captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},match:/(\p{space}*\\begin\{document\})/dgv,name:"meta.function.begin-document.latex"},{captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},match:/(\p{space}*\\end\{document\})/dgv,name:"meta.function.end-document.latex"}]},"documentclass-usepackage-macro":{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"}]}]},"embedded-code-env":{patterns:[{begin:/(?:^\p{space}*)?\\begin\{(lstlisting|minted|pyglist)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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\{lua(?:code|draw)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#macro-with-args-tokenizer"}]}},end:/\p{space}*\\end\{lua(?:code|draw)\*?\}/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\{lua(?:code|draw)\*?\})/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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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"}]}]},"hyperref-macro":{patterns:[{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"}]},"inline-code-macro":{patterns:[{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"}]},{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-\[a-\{\}\p{space}])([^\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"},{include:"text.tex#braces"}]},{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"}]}]}]},"inline-math":{patterns:[{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.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"}]}]},"input-macro":{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"}]},"label-macro":{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"}]},"macro-with-args-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}*((\\)\p{Alphabetic}+)(\{)(\\?\p{Alphabetic}+\*?)(\})(?:(\[)([^\]]*)(\])){0,2}(?:(\{)([^\{\}]*)(\}))?/dgv},"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:"#documentclass-usepackage-macro"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#newcommand-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"#braces"},{include:"text.tex"}]},"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"}]},"newcommand-macro":{begin:/((\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand)\*?)(\{)((\\)\p{Alphabetic}+\*?)(\})(?:(\[)[^\]]*(\])){0,2}(\{)/dgv,beginCaptures:{"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"},"7":{name:"punctuation.definition.arguments.optional.begin.latex"},"8":{name:"punctuation.definition.arguments.optional.end.latex"},"9":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.parameter.newcommand.latex",patterns:[{include:"#documentclass-usepackage-macro"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#macro-with-args-tokenizer"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"#braces"},{include:"text.tex"}]},"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"}]},"references-macro":{patterns:[{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},{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"}]}]},"sections-macro":{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:"#braces"},{include:"$self"}]},"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"}]},"songs-env":{patterns:[{begin:/(\p{space}*\\begin\{songs\}\{[^\n]*\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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"}]}]}]},"text-font-macro":{patterns:[{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:"#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:"#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:"#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:"#braces"},{include:"$self"}]}]},"verb-macro":{patterns:[{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"}]},"verbatim-env":{patterns:[{begin:/(\p{space}*\\begin\{((?:fboxv|boxedv|[Vv]|spv)erbatim\*?)\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},contentName:"comment.line.percentage.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"}]}},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"},{include:"#songs-env"},{include:"#embedded-code-env"},{include:"#verbatim-env"},{include:"#document-env"},{include:"#all-balanced-env"},{include:"#documentclass-usepackage-macro"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#newcommand-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"text.tex"}],repository:{"all-balanced-env":{patterns:[{begin:/\p{space}*((\\)begin)(\{)((?:\+?array|equation|(?:IEEE|sub)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|(?:[\+dr]|dr)?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:"#label-macro"},{include:"text.tex#math-content"},{include:"$self"}]},{begin:/\p{space}*(\\begin\{empheq\}(?:\[[^\n]*\])?)/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#label-macro"},{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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},end:/(\\end\{frame\})/dgv,name:"meta.function.environment.frame.latex",patterns:[{include:"$self"}]},{begin:/(\p{space}*\\begin\{(mpost\*?)\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.latex.mpost"},{begin:/(\p{space}*\\begin\{markdown\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},end:/(\\end\{\2\}(?:\p{space}*\n)?)()/dgv,name:"meta.function.environment.general.latex",patterns:[{include:"$self"}]}]},"all-other-macro":{patterns:[{match:/\\(?:newline|pagebreak|clearpage|linebreak|pause)\b/dgv,name:"keyword.control.layout.latex"},{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:"#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:"#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"},{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"}]},"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}]},braces:{begin:/(?<!\\)\{/dgv,beginCaptures:{"0":{name:"punctuation.group.begin.latex"}},end:/(?<!\\)\}/dgv,endCaptures:{"0":{name:"punctuation.group.end.latex"}},name:"meta.group.braces.latex",patterns:[{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#macro-with-args-tokenizer"},{include:"#all-other-macro"},{include:"text.tex"},{include:"#braces"}]},"citation-macro":{begin:/((\\)(?:[Aa]uto|foot|full|footfull|no|ref|short|[Tt]ext|[Pp]aren|[Ss]mart|[FPfp]vol|vol)?[Cc]ite(?:al)?(?:[pst]|author|year(?:par)?|title|url|date)?[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"}]},"column-specials":{captures:{"1":{name:"punctuation.definition.column-specials.begin.latex"},"2":{name:"punctuation.definition.column-specials.end.latex"}},match:/[\<\>](\{)\$(\})/dgv,name:"meta.column-specials.latex"},"display-math":{patterns:[{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"}]}]},"document-env":{patterns:[{captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},match:/(\p{space}*\\begin\{document\})/dgv,name:"meta.function.begin-document.latex"},{captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},match:/(\p{space}*\\end\{document\})/dgv,name:"meta.function.end-document.latex"}]},"documentclass-usepackage-macro":{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"}]}]},"embedded-code-env":{patterns:[{begin:/(?:^\p{space}*)?\\begin\{(lstlisting|minted|pyglist)\}(?=[\[\{])/dgv,captures:{"0":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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\{lua(?:code|draw)\*?\}(?:\[[\-0-9A-Z_a-z]*\])?(?=[\[\{]|\p{space}*(?=\n?$))/dgv,captures:{"0":{patterns:[{include:"#macro-with-args-tokenizer"}]}},end:/\p{space}*\\end\{lua(?:code|draw)\*?\}/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\{lua(?:code|draw)\*?\})/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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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"}]}]},"hyperref-macro":{patterns:[{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"}]},"inline-code-macro":{patterns:[{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"}]},{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-\[a-\{\}\p{space}])([^\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"},{include:"text.tex#braces"}]},{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"}]}]}]},"inline-math":{patterns:[{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.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"}]}]},"input-macro":{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"}]},"label-macro":{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"}]},"macro-with-args-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}*((\\)\p{Alphabetic}+)(\{)(\\?\p{Alphabetic}+\*?)(\})(?:(\[)([^\]]*)(\])){0,2}(?:(\{)([^\{\}]*)(\}))?/dgv},"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:"#documentclass-usepackage-macro"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#newcommand-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"#braces"},{include:"text.tex"}]},"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"}]},"newcommand-macro":{begin:/((\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand)\*?)(\{)((\\)\p{Alphabetic}+\*?)(\})(?:(\[)[^\]]*(\])){0,2}(\{)/dgv,beginCaptures:{"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"},"7":{name:"punctuation.definition.arguments.optional.begin.latex"},"8":{name:"punctuation.definition.arguments.optional.end.latex"},"9":{name:"punctuation.definition.arguments.begin.latex"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.parameter.newcommand.latex",patterns:[{include:"#documentclass-usepackage-macro"},{include:"#unbalanced-env"},{include:"#input-macro"},{include:"#sections-macro"},{include:"#hyperref-macro"},{include:"#text-font-macro"},{include:"#citation-macro"},{include:"#references-macro"},{include:"#label-macro"},{include:"#verb-macro"},{include:"#inline-code-macro"},{include:"#macro-with-args-tokenizer"},{include:"#all-other-macro"},{include:"#display-math"},{include:"#inline-math"},{include:"#column-specials"},{include:"#braces"},{include:"text.tex"}]},"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"}]},"references-macro":{patterns:[{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},{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"}]}]},"sections-macro":{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:"#braces"},{include:"$self"}]},"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"}]},"songs-env":{patterns:[{begin:/(\p{space}*\\begin\{songs\}\{[^\n]*\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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"}]}]}]},"text-font-macro":{patterns:[{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:"#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:"#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:"#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:"#braces"},{include:"$self"}]}]},"unbalanced-env":{patterns:[{captures:{"1":{patterns:[{include:"#macro-with-args-tokenizer"}]}},match:/(\p{space}*\\(?:begin|end)\{(\p{Alphabetic}+\*?)\})/dgv,name:"meta.function.environment.general.latex"}]},"verb-macro":{patterns:[{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"}]},"verbatim-env":{patterns:[{begin:/(\p{space}*\\begin\{((?:fboxv|boxedv|[Vv]|spv)erbatim\*?)\})/dgv,captures:{"1":{patterns:[{include:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-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:"#macro-with-args-tokenizer"}]}},contentName:"comment.line.percentage.latex",end:/(\\end\{\2\})()/dgv,name:"meta.function.verbatim.latex"}]}},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,
|