@kong-ui-public/documentation 0.3.42 → 0.4.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.
Files changed (155) hide show
  1. package/dist/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
  2. package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
  3. package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
  4. package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
  5. package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
  6. package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
  7. package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
  8. package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
  9. package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
  10. package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
  11. package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
  12. package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
  13. package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
  14. package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
  15. package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
  16. package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
  17. package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
  18. package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
  19. package/dist/docker-B10O2enb-B10O2enb.js +7 -0
  20. package/dist/documentation.es.js +5 -3130
  21. package/dist/documentation.umd.js +10152 -50
  22. package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
  23. package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
  24. package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
  25. package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
  26. package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
  27. package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
  28. package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
  29. package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
  30. package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
  31. package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
  32. package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
  33. package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
  34. package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
  35. package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
  36. package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
  37. package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
  38. package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
  39. package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
  40. package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
  41. package/dist/index-B-5DuDrq.js +29996 -0
  42. package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
  43. package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
  44. package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
  45. package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
  46. package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
  47. package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
  48. package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
  49. package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
  50. package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
  51. package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
  52. package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
  53. package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
  54. package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
  55. package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
  56. package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
  57. package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
  58. package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
  59. package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
  60. package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
  61. package/dist/make-whncTQWE-whncTQWE.js +7 -0
  62. package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
  63. package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
  64. package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
  65. package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
  66. package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
  67. package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
  68. package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
  69. package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
  70. package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
  71. package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
  72. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
  73. package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
  74. package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
  75. package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
  76. package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
  77. package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
  78. package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
  79. package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
  80. package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
  81. package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
  82. package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
  83. package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
  84. package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
  85. package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
  86. package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
  87. package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
  88. package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
  89. package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
  90. package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
  91. package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
  92. package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
  93. package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
  94. package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
  95. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
  96. package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
  97. package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
  98. package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
  99. package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
  100. package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
  101. package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
  102. package/dist/style.css +1 -1
  103. package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
  104. package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
  105. package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
  106. package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
  107. package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
  108. package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
  109. package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
  110. package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
  111. package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
  112. package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
  113. package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
  114. package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
  115. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
  116. package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
  117. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
  118. package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
  119. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
  120. package/dist/types/composables/useI18n.d.ts +4 -0
  121. package/dist/types/composables/useI18n.d.ts.map +1 -1
  122. package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
  123. package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
  124. package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
  125. package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
  126. package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
  127. package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
  128. package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
  129. package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
  130. package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
  131. package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
  132. package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
  133. package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
  134. package/package.json +13 -13
  135. package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
  136. package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
  137. package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
  138. package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
  139. package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
  140. package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
  141. package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
  142. package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
  143. package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
  144. package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
  145. package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
  146. package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
  147. package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
  148. package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
  149. package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
  150. package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
  151. package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
  152. package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
  153. package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
  154. package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
  155. package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
@@ -0,0 +1,339 @@
1
+ import e from "./r-DU7Q70f1-DU7Q70f1.js";
2
+ import a from "./css-CAzixsid-CEpuX1HY.js";
3
+ import i from "./haskell-BfFu8DD8-BmkPJdLL.js";
4
+ import o from "./html-BZB5lEhh-B74zAnWx.js";
5
+ import r from "./xml-CfRpfi_B-BH3JRQfc.js";
6
+ import p from "./java-Bk2JzfKB-Bk2JzfKB.js";
7
+ import l from "./lua-5TZ-G8Be-CogscVHC.js";
8
+ import { r as c } from "./cpp-DizfY48B-CA38N4Mn.js";
9
+ import n from "./python-BQXev0_W-BQXev0_W.js";
10
+ import t from "./javascript-DqVBMyXe-DqVBMyXe.js";
11
+ import s from "./sql-DkzN59UV-DkzN59UV.js";
12
+ import u from "./ruby-CZZKXaz8-BxaDEkRP.js";
13
+ import m from "./typescript-AEg-ehu7-AEg-ehu7.js";
14
+ import d from "./yaml-PGla5xPP-HJurM_FJ.js";
15
+ import g from "./rust-CIl6NRUt-CIl6NRUt.js";
16
+ const b = Object.freeze({ displayName: "TeX", name: "tex", patterns: [{ captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z@])", name: "keyword.control.tex" }, { captures: { 1: { name: "keyword.control.catcode.tex" }, 2: { name: "punctuation.definition.keyword.tex" }, 3: { name: "punctuation.separator.key-value.tex" }, 4: { name: "constant.numeric.category.tex" } }, match: "((\\\\)catcode)`(?:\\\\)?.(=)(\\d+)", name: "meta.catcode.tex" }, { begin: "(^[ \\t]+)?(?=%)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.tex" } }, end: "(?!\\G)", patterns: [{ begin: "%:?", beginCaptures: { 0: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.tex" }, { begin: "^(%!TEX) (\\S*) =", beginCaptures: { 1: { name: "punctuation.definition.comment.tex" } }, end: "$\\n?", name: "comment.line.percentage.directive.tex" }] }, { match: "[\\[\\]]", name: "punctuation.definition.brackets.tex" }, { begin: "(\\$\\$|\\$)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.tex" } }, end: "(\\1)", endCaptures: { 1: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.tex" }, { include: "#math" }, { include: "$self" }] }, { match: "\\\\\\\\", name: "keyword.control.newline.tex" }, { captures: { 1: { name: "punctuation.definition.function.tex" } }, match: "(\\\\)(?:[\\p{Alphabetic}@]+|[,;])", name: "support.function.general.tex" }, { captures: { 1: { name: "punctuation.definition.keyword.tex" } }, match: "(\\\\)[^a-zA-Z@]", name: "constant.character.escape.tex" }], repository: { braces: { begin: "(?<!\\\\)\\{", beginCaptures: { 0: { name: "punctuation.group.begin.tex" } }, end: "(?<!\\\\)\\}", endCaptures: { 0: { name: "punctuation.group.end.tex" } }, name: "meta.group.braces.tex", patterns: [{ include: "#braces" }] }, math: { patterns: [{ begin: "((\\\\)(?:text|mbox))(\\{)", beginCaptures: { 1: { name: "constant.other.math.tex" }, 2: { name: "punctuation.definition.function.tex" }, 3: { name: "punctuation.definition.arguments.begin.tex meta.text.normal.tex" } }, contentName: "meta.text.normal.tex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.tex meta.text.normal.tex" } }, patterns: [{ include: "#math" }, { include: "$base" }] }, { match: "\\\\{|\\\\}", name: "punctuation.math.bracket.pair.tex" }, { match: "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle)", name: "punctuation.math.bracket.pair.big.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z@])", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\\b", name: "constant.character.math.tex" }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\\b", name: "constant.other.math.tex" }, { begin: "((\\\\)Sexpr(\\{))", beginCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.definition.function.math.tex" }, 3: { name: "punctuation.section.embedded.begin.math.tex" } }, contentName: "support.function.sexpr.math.tex", end: "(((\\})))", endCaptures: { 1: { name: "support.function.sexpr.math.tex" }, 2: { name: "punctuation.section.embedded.end.math.tex" }, 3: { name: "source.r" } }, name: "meta.embedded.line.r", patterns: [{ begin: "\\G(?!\\})", end: "(?=\\})", name: "source.r", patterns: [{ include: "source.r" }] }] }, { captures: { 1: { name: "punctuation.definition.constant.math.tex" } }, match: "(\\\\)(?!begin\\{|verb)([A-Za-z]+)", name: "constant.other.general.math.tex" }, { match: "(?<!\\\\)\\{", name: "punctuation.math.begin.bracket.curly.tex" }, { match: "(?<!\\\\)\\}", name: "punctuation.math.end.bracket.curly.tex" }, { match: "(?<!\\\\)\\(", name: "punctuation.math.begin.bracket.round.tex" }, { match: "(?<!\\\\)\\)", name: "punctuation.math.end.bracket.round.tex" }, { match: "(([0-9]*[\\.][0-9]+)|[0-9]+)", name: "constant.numeric.math.tex" }, { match: "[\\+\\*/_\\^-]", name: "punctuation.math.operator.tex" }] } }, scopeName: "text.tex", embeddedLangs: ["r"] });
17
+ var h = [
18
+ ...e,
19
+ b
20
+ ];
21
+ const f = Object.freeze({ displayName: "Julia", name: "julia", patterns: [{ include: "#operator" }, { include: "#array" }, { include: "#string" }, { include: "#parentheses" }, { include: "#bracket" }, { include: "#function_decl" }, { include: "#function_call" }, { include: "#for_block" }, { include: "#keyword" }, { include: "#number" }, { include: "#comment" }, { include: "#type_decl" }, { include: "#symbol" }, { include: "#punctuation" }], repository: { array: { patterns: [{ begin: "\\[", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\])((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, name: "meta.array.julia", patterns: [{ match: "\\bbegin\\b", name: "constant.numeric.julia" }, { match: "\\bend\\b", name: "constant.numeric.julia" }, { include: "#self_no_for_block" }] }] }, bracket: { patterns: [{ begin: "\\{", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\})((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, comment: { patterns: [{ include: "#comment_block" }, { begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.julia" } }, end: "\\n", name: "comment.line.number-sign.julia", patterns: [{ include: "#comment_tags" }] }] }, comment_block: { patterns: [{ begin: "#=", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.julia" } }, end: "=#", endCaptures: { 0: { name: "punctuation.definition.comment.end.julia" } }, name: "comment.block.number-sign-equals.julia", patterns: [{ include: "#comment_tags" }, { include: "#comment_block" }] }] }, comment_tags: { patterns: [{ match: "\\bTODO\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bFIXME\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bCHANGED\\b", name: "keyword.other.comment-annotation.julia" }, { match: "\\bXXX\\b", name: "keyword.other.comment-annotation.julia" }] }, for_block: { comment: "for blocks need to be special-cased to support tokenizing 'outer' properly", patterns: [{ begin: "\\b(for)\\b", beginCaptures: { 0: { name: "keyword.control.julia" } }, end: "(?<!,|\\s)(\\s*\\n)", patterns: [{ match: "\\bouter\\b", name: "keyword.other.julia" }, { include: "$self" }] }] }, function_call: { patterns: [{ begin: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()", beginCaptures: { 1: { name: "support.function.julia" }, 2: { name: "support.type.julia" }, 3: { name: "meta.bracket.julia" } }, end: "\\)(('|(\\.'))*\\.?')?", endCaptures: { 0: { name: "meta.bracket.julia" }, 1: { name: "keyword.operator.transposed-func.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, function_decl: { patterns: [{ captures: { 1: { name: "entity.name.function.julia" }, 2: { name: "support.type.julia" } }, comment: `first group is function name
22
+ Second group is type parameters (e.g. {T<:Number, S})
23
+ Then open parens
24
+ Then a lookahead ensures that we are followed by:
25
+ - anything (function arguments)
26
+ - 0 or more spaces
27
+ - Finally an equal sign
28
+ Negative lookahead ensures we don't have another equal sign (not \`==\`)`, match: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=>]))" }, { captures: { 1: { name: "keyword.other.julia" }, 2: { name: "keyword.operator.dots.julia" }, 3: { name: "entity.name.function.julia" }, 4: { name: "support.type.julia" } }, comment: "similar regex to previous, but with keyword not 1-line syntax", match: "\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()" }] }, keyword: { patterns: [{ match: "\\b(?<![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|module|baremodule|where)\\b", name: "keyword.other.julia" }, { match: "\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\b", name: "keyword.control.julia" }, { match: "\\b(?<![:_])end\\b", name: "keyword.control.end.julia" }, { match: "\\b(?<![:_])(?:global|local|const)\\b", name: "keyword.storage.modifier.julia" }, { match: "\\b(?<![:_])(?:export)\\b", name: "keyword.control.export.julia" }, { match: "\\b(?<![:_])(?:public)\\b", name: "keyword.control.public.julia" }, { match: "\\b(?<![:_])(?:import)\\b", name: "keyword.control.import.julia" }, { match: "\\b(?<![:_])(?:using)\\b", name: "keyword.control.using.julia" }, { match: "(?<=\\w\\s)\\b(as)\\b(?=\\s\\w)", name: "keyword.control.as.julia" }, { match: "(@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*))", name: "support.function.macro.julia" }] }, number: { patterns: [{ captures: { 1: { name: "constant.numeric.julia" }, 2: { name: "keyword.operator.conjugate-number.julia" } }, match: "((?<!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)" }, { match: "\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b", name: "constant.global.julia" }, { match: "\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b", name: "constant.language.julia" }] }, operator: { patterns: [{ match: "(?:->|<-|-->|=>)", name: "keyword.operator.arrow.julia" }, { match: "(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|&=|\\.&=|⊻=|\\.⊻=|\\$=|<<=|>>=|>>>=|=(?!=))", name: "keyword.operator.update.julia" }, { match: "(?:<<|>>>|>>|\\.>>>|\\.>>|\\.<<)", name: "keyword.operator.shift.julia" }, { captures: { 1: { name: "keyword.operator.relation.types.julia" }, 2: { name: "support.type.julia" }, 3: { name: "keyword.operator.transpose.julia" } }, match: `(?:\\s*(::|>:|<:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:".+?(?<!\\\\)"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)` }, { match: "(?:===|∈|\\.∈|∉|\\.∉|∋|\\.∋|∌|\\.∌|≈|\\.≈|≉|\\.≉|≠|\\.≠|≡|\\.≡|≢|\\.≢|⊆|\\.⊆|⊇|\\.⊇|⊈|\\.⊈|⊉|\\.⊉|⊊|\\.⊊|⊋|\\.⊋|\\.==|!==|!=|\\.>=|\\.>|\\.<=|\\.<|\\.≤|\\.≥|==|\\.!=|\\.=|\\.!|<:|>:|:>|(?<!>)>=|(?<!<)<=|>|<|≥|≤)", name: "keyword.operator.relation.julia" }, { match: "(?<=\\s)(?:\\?)(?=\\s)", name: "keyword.operator.ternary.julia" }, { match: "(?<=\\s)(?:\\:)(?=\\s)", name: "keyword.operator.ternary.julia" }, { match: "(?:\\|\\||&&|(?<!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)", name: "keyword.operator.boolean.julia" }, { match: "(?<=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)", name: "keyword.operator.range.julia" }, { match: "(?:\\|>)", name: "keyword.operator.applies.julia" }, { match: "(?:\\||\\.\\||\\&|\\.\\&|~|\\.~|⊻|\\.⊻)", name: "keyword.operator.bitwise.julia" }, { match: "(?:\\+\\+|--|\\+|\\.\\+|-|\\.\\-|\\*|\\.\\*|//(?!=)|\\.//(?!=)|/|\\./|%|\\.%|\\\\|\\.\\\\|\\^|\\.\\^|÷|\\.÷|⋅|\\.⋅|∩|\\.∩|∪|\\.∪|×|√|∛)", name: "keyword.operator.arithmetic.julia" }, { match: "(?:∘)", name: "keyword.operator.compose.julia" }, { match: "(?:::|(?<=\\s)isa(?=\\s))", name: "keyword.operator.isa.julia" }, { match: "(?:(?<=\\s)in(?=\\s))", name: "keyword.operator.relation.in.julia" }, { match: "(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+)", name: "keyword.operator.dots.julia" }, { match: "(?:\\$)(?=.+)", name: "keyword.operator.interpolation.julia" }, { captures: { 2: { name: "keyword.operator.transposed-variable.julia" } }, match: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')" }, { captures: { 1: { name: "bracket.end.julia" }, 2: { name: "keyword.operator.transposed-matrix.julia" } }, match: "(\\])((?:'|(?:\\.'))*\\.?')" }, { captures: { 1: { name: "bracket.end.julia" }, 2: { name: "keyword.operator.transposed-parens.julia" } }, match: "(\\))((?:'|(?:\\.'))*\\.?')" }] }, parentheses: { patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "meta.bracket.julia" } }, end: "(\\))((?:\\.)?'*)", endCaptures: { 1: { name: "meta.bracket.julia" }, 2: { name: "keyword.operator.transpose.julia" } }, patterns: [{ include: "#self_no_for_block" }] }] }, punctuation: { patterns: [{ match: ",", name: "punctuation.separator.comma.julia" }, { match: ";", name: "punctuation.separator.semicolon.julia" }] }, self_no_for_block: { comment: "Same as $self, but does not contain #for_block. 'outer' is not valid in some contexts (e.g. generators, comprehensions, indexing), so use this when matching those in begin/end patterns. Keep this up-to-date with $self!", patterns: [{ include: "#operator" }, { include: "#array" }, { include: "#string" }, { include: "#parentheses" }, { include: "#bracket" }, { include: "#function_decl" }, { include: "#function_call" }, { include: "#keyword" }, { include: "#number" }, { include: "#comment" }, { include: "#type_decl" }, { include: "#symbol" }, { include: "#punctuation" }] }, string: { patterns: [{ begin: '(?:(@doc)\\s((?:doc)?""")|(doc"""))', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '(""") ?(->)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "keyword.operator.arrow.julia" } }, name: "string.docstring.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(i?cxx)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.cpp", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.cxx.julia", patterns: [{ include: "source.cpp#root_context" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(py)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.python", end: '([\\s\\w]*)(""")', endCaptures: { 2: { name: "punctuation.definition.string.end.julia" } }, name: "embed.python.julia", patterns: [{ include: "source.python" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(js)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.javascript", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.js.julia", patterns: [{ include: "source.js" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(R)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.r", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.R.julia", patterns: [{ include: "source.r" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '(raw)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(raw)(")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(sql)(""")', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, contentName: "meta.embedded.inline.sql", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "embed.sql.julia", patterns: [{ include: "source.sql" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: 'var"""', end: '"""', name: "constant.other.symbol.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: 'var"', end: '"', name: "constant.other.symbol.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '^\\s?(doc)?(""")\\s?$', beginCaptures: { 1: { name: "support.function.macro.julia" }, 2: { name: "punctuation.definition.string.begin.julia" } }, comment: `This only matches docstrings that start and end with triple quotes on
29
+ their own line in the void`, end: '(""")', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" } }, name: "string.docstring.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" } }, end: "'(?!')", endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.single.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.multiline.begin.julia" } }, comment: "multi-line string with triple double quotes", end: '"""', endCaptures: { 0: { name: "punctuation.definition.string.multiline.end.julia" } }, name: "string.quoted.triple.double.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: '"(?!"")', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" } }, comment: "String with single pair of double quotes. Regex matches isolated double quote", end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.julia" } }, name: "string.quoted.double.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: 'r"""', beginCaptures: { 0: { name: "punctuation.definition.string.regexp.begin.julia" } }, end: '(""")([imsx]{0,4})?', endCaptures: { 1: { name: "punctuation.definition.string.regexp.end.julia" }, 2: { comment: "I took this scope name from python regex grammar", name: "keyword.other.option-toggle.regexp.julia" } }, name: "string.regexp.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: 'r"', beginCaptures: { 0: { name: "punctuation.definition.string.regexp.begin.julia" } }, end: '(")([imsx]{0,4})?', endCaptures: { 1: { name: "punctuation.definition.string.regexp.end.julia" }, 2: { comment: "I took this scope name from python regex grammar", name: "keyword.other.option-toggle.regexp.julia" } }, name: "string.regexp.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(?<!")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: '(""")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: '(?<!")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: '(?<![^\\\\]\\\\)(")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?', endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.quoted.other.julia", patterns: [{ include: "#string_escaped_char" }] }, { begin: "(?<!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: "(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?", endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.interpolated.backtick.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }, { begin: "(?<!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.julia" }, 1: { name: "support.function.macro.julia" } }, end: "(?<![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?", endCaptures: { 1: { name: "punctuation.definition.string.end.julia" }, 2: { name: "support.function.macro.julia" } }, name: "string.interpolated.backtick.julia", patterns: [{ include: "#string_escaped_char" }, { include: "#string_dollar_sign_interpolate" }] }] }, string_dollar_sign_interpolate: { patterns: [{ match: "\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]|[^\\p{^Sc}$])*", name: "variable.interpolation.julia" }, { begin: "\\$(\\()", beginCaptures: { 1: { name: "meta.bracket.julia" } }, comment: "`punctuation.section.embedded`, `constant.escape`,\n& `meta.embedded.line` were considered but appear to have even spottier\nsupport among popular syntaxes.", end: "\\)", endCaptures: { 0: { name: "meta.bracket.julia" } }, name: "variable.interpolation.julia", patterns: [{ include: "#self_no_for_block" }] }] }, string_escaped_char: { patterns: [{ match: "\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)", name: "constant.character.escape.julia" }] }, symbol: { patterns: [{ comment: "This is string.quoted.symbol.julia in tpoisot's package", match: '(?<![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?!["`])', name: "constant.other.symbol.julia" }] }, type_decl: { patterns: [{ captures: { 1: { name: "entity.name.type.julia" }, 2: { name: "entity.other.inherited-class.julia" }, 3: { name: "punctuation.separator.inheritance.julia" } }, match: "(?>!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(<:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}-¡]|[^\\P{Mc}-¡]|[^\\P{Nd}-¡]|[^\\P{Pc}-¡]|[^\\P{Sk}-¡]|[^\\P{Me}-¡]|[^\\P{No}-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?", name: "meta.type.julia" }] } }, scopeName: "source.julia", embeddedLangs: ["cpp", "python", "javascript", "r", "sql"] });
30
+ var x = [
31
+ ...c,
32
+ ...n,
33
+ ...t,
34
+ ...e,
35
+ ...s,
36
+ f
37
+ ];
38
+ const L = Object.freeze({ displayName: "Scala", fileTypes: ["scala"], firstLineMatch: "^#!/.*\\b\\w*scala\\b", foldingStartMarker: "/\\*\\*|\\{\\s*$", foldingStopMarker: "\\*\\*/|^\\s*\\}", name: "scala", patterns: [{ include: "#code" }], repository: { backQuotedVariable: { match: "`[^`]+`" }, "block-comments": { patterns: [{ captures: { 0: { name: "punctuation.definition.comment.scala" } }, match: "/\\*\\*/", name: "comment.block.empty.scala" }, { begin: "^\\s*(/\\*\\*)(?!/)", beginCaptures: { 1: { name: "punctuation.definition.comment.scala" } }, end: "\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.scala" } }, name: "comment.block.documentation.scala", patterns: [{ captures: { 1: { name: "keyword.other.documentation.scaladoc.scala" }, 2: { name: "variable.parameter.scala" } }, match: "(@param)\\s+(\\S+)" }, { captures: { 1: { name: "keyword.other.documentation.scaladoc.scala" }, 2: { name: "entity.name.class" } }, match: "(@(?:tparam|throws))\\s+(\\S+)" }, { match: "@(return|see|note|example|constructor|usecase|author|version|since|todo|deprecated|migration|define|inheritdoc)\\b", name: "keyword.other.documentation.scaladoc.scala" }, { captures: { 1: { name: "punctuation.definition.documentation.link.scala" }, 2: { name: "string.other.link.title.markdown" }, 3: { name: "punctuation.definition.documentation.link.scala" } }, match: "(\\[\\[)([^\\]]+)(\\]\\])" }, { include: "#block-comments" }] }, { begin: "/\\*", captures: { 0: { name: "punctuation.definition.comment.scala" } }, end: "\\*/", name: "comment.block.scala", patterns: [{ include: "#block-comments" }] }] }, "char-literal": { patterns: [{ captures: { 1: { name: "punctuation.definition.character.begin.scala" }, 2: { name: "punctuation.definition.character.end.scala" } }, match: "(')'(')", name: "string.quoted.other constant.character.literal.scala" }, { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.character.begin.scala" } }, end: "'|$", endCaptures: { 0: { name: "punctuation.definition.character.end.scala" } }, name: "string.quoted.other constant.character.literal.scala", patterns: [{ match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-character-escape.scala" }, { match: "[^']{2,}", name: "invalid.illegal.character-literal-too-long" }, { match: "(?<!')[^']", name: "invalid.illegal.character-literal-too-long" }] }] }, code: { patterns: [{ include: "#using-directive" }, { include: "#script-header" }, { include: "#storage-modifiers" }, { include: "#declarations" }, { include: "#inheritance" }, { include: "#extension" }, { include: "#imports" }, { include: "#exports" }, { include: "#comments" }, { include: "#strings" }, { include: "#initialization" }, { include: "#xml-literal" }, { include: "#keywords" }, { include: "#using" }, { include: "#constants" }, { include: "#singleton-type" }, { include: "#inline" }, { include: "#scala-quoted-or-symbol" }, { include: "#char-literal" }, { include: "#empty-parentheses" }, { include: "#parameter-list" }, { include: "#qualifiedClassName" }, { include: "#backQuotedVariable" }, { include: "#curly-braces" }, { include: "#meta-brackets" }, { include: "#meta-bounds" }, { include: "#meta-colons" }] }, comments: { patterns: [{ include: "#block-comments" }, { begin: "(^[ \\t]+)?(?=//)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.scala" } }, end: "(?!\\G)", patterns: [{ begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.scala" } }, end: "\\n", name: "comment.line.double-slash.scala" }] }] }, constants: { patterns: [{ match: "\\b(false|null|true)\\b", name: "constant.language.scala" }, { match: "\\b(0[xX][0-9a-fA-F_]*)\\b", name: "constant.numeric.scala" }, { match: "\\b(([0-9][0-9_]*(\\.[0-9][0-9_]*)?)([eE](\\+|-)?[0-9][0-9_]*)?|[0-9][0-9_]*)[LlFfDd]?\\b", name: "constant.numeric.scala" }, { match: "(\\.[0-9][0-9_]*)([eE](\\+|-)?[0-9][0-9_]*)?[LlFfDd]?\\b", name: "constant.numeric.scala" }, { match: "\\b0[bB][01]([01_]*[01])?[Ll]?\\b", name: "constant.numeric.scala" }, { match: "\\b(this|super)\\b", name: "variable.language.scala" }] }, "curly-braces": { begin: "\\{", beginCaptures: { 0: { name: "punctuation.section.block.begin.scala" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.section.block.end.scala" } }, patterns: [{ include: "#code" }] }, declarations: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.function.declaration" } }, match: "\\b(def)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.class.declaration" } }, match: "\\b(trait)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "keyword.declaration.scala" }, 3: { name: "entity.name.class.declaration" } }, match: "\\b(?:(case)\\s+)?(class|object|enum)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.type.declaration" } }, match: "(?<!\\.)\\b(type)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { captures: { 1: { name: "keyword.declaration.stable.scala" }, 2: { name: "keyword.declaration.volatile.scala" } }, match: "\\b(?:(val)|(var))\\b\\s*(?!//|/\\*)(?=(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)?\\()" }, { captures: { 1: { name: "keyword.declaration.stable.scala" }, 2: { name: "variable.stable.declaration.scala" } }, match: '\\b(val)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)(?:\\s*,\\s*(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))*)?(?!")' }, { captures: { 1: { name: "keyword.declaration.volatile.scala" }, 2: { name: "variable.volatile.declaration.scala" } }, match: '\\b(var)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)(?:\\s*,\\s*(?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))*)?(?!")' }, { captures: { 1: { name: "keyword.other.package.scala" }, 2: { name: "keyword.declaration.scala" }, 3: { name: "entity.name.class.declaration" } }, match: "\\b(package)\\s+(object)\\b\\s*(?!//|/\\*)((?:(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`))?" }, { begin: "\\b(package)\\s+", beginCaptures: { 1: { name: "keyword.other.package.scala" } }, end: "(?<=[\\n;])", name: "meta.package.scala", patterns: [{ include: "#comments" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.package.scala" }, { match: "\\.", name: "punctuation.definition.package" }] }, { captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.given.declaration" } }, match: "\\b(given)\\b\\s*([_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`)?" }] }, "empty-parentheses": { captures: { 1: { name: "meta.bracket.scala" } }, match: "(\\(\\))", name: "meta.parentheses.scala" }, exports: { begin: "\\b(export)\\s+", beginCaptures: { 1: { name: "keyword.other.export.scala" } }, end: "(?<=[\\n;])", name: "meta.export.scala", patterns: [{ include: "#comments" }, { match: "\\b(given)\\b", name: "keyword.other.export.given.scala" }, { match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?", name: "entity.name.class.export.scala" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.export.scala" }, { match: "\\.", name: "punctuation.definition.export" }, { begin: "{", beginCaptures: { 0: { name: "meta.bracket.scala" } }, end: "}", endCaptures: { 0: { name: "meta.bracket.scala" } }, name: "meta.export.selector.scala", patterns: [{ captures: { 1: { name: "keyword.other.export.given.scala" }, 2: { name: "entity.name.class.export.renamed-from.scala" }, 3: { name: "entity.name.export.renamed-from.scala" }, 4: { name: "keyword.other.arrow.scala" }, 5: { name: "entity.name.class.export.renamed-to.scala" }, 6: { name: "entity.name.export.renamed-to.scala" } }, match: "(?x)(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*" }, { match: "\\b(given)\\b", name: "keyword.other.export.given.scala" }, { captures: { 1: { name: "keyword.other.export.given.scala" }, 2: { name: "entity.name.class.export.scala" }, 3: { name: "entity.name.export.scala" } }, match: "(given\\s+)?(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))" }] }] }, extension: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" } }, match: "^\\s*(extension)\\s+(?=[\\[\\(])" }] }, imports: { begin: "\\b(import)\\s+", beginCaptures: { 1: { name: "keyword.other.import.scala" } }, end: "(?<=[\\n;])", name: "meta.import.scala", patterns: [{ include: "#comments" }, { match: "\\b(given)\\b", name: "keyword.other.import.given.scala" }, { match: "\\s(as)\\s", name: "keyword.other.import.as.scala" }, { match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?", name: "entity.name.class.import.scala" }, { match: "(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))", name: "entity.name.import.scala" }, { match: "\\.", name: "punctuation.definition.import" }, { begin: "{", beginCaptures: { 0: { name: "meta.bracket.scala" } }, end: "}", endCaptures: { 0: { name: "meta.bracket.scala" } }, name: "meta.import.selector.scala", patterns: [{ captures: { 1: { name: "keyword.other.import.given.scala" }, 2: { name: "entity.name.class.import.renamed-from.scala" }, 3: { name: "entity.name.import.renamed-from.scala" }, 4: { name: "keyword.other.arrow.scala" }, 5: { name: "entity.name.class.import.renamed-to.scala" }, 6: { name: "entity.name.import.renamed-to.scala" } }, match: "(?x)(given\\s)?\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*(=>)\\s*(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))\\s*" }, { match: "\\b(given)\\b", name: "keyword.other.import.given.scala" }, { captures: { 1: { name: "keyword.other.import.given.scala" }, 2: { name: "entity.name.class.import.scala" }, 3: { name: "entity.name.import.scala" } }, match: "(given\\s+)?(?:([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)|(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))" }] }] }, inheritance: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" }, 2: { name: "entity.name.class" } }, match: '\\b(extends|with|derives)\\b\\s*([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`|(?=\\([^\\)]+=>)|(?=(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))|(?="))?' }] }, initialization: { captures: { 1: { name: "keyword.declaration.scala" } }, match: "\\b(new)\\b" }, inline: { patterns: [{ match: "\\b(inline)(?=\\s+((?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)|`[^`]+`)\\s*:)", name: "storage.modifier.other" }, { match: "\\b(inline)\\b(?=(?:.(?!\\b(?:val|def|given)\\b))*\\b(if|match)\\b)", name: "keyword.control.flow.scala" }] }, keywords: { patterns: [{ match: "\\b(return|throw)\\b", name: "keyword.control.flow.jump.scala" }, { match: "\\b(classOf|isInstanceOf|asInstanceOf)\\b", name: "support.function.type-of.scala" }, { match: "\\b(else|if|then|do|while|for|yield|match|case)\\b", name: "keyword.control.flow.scala" }, { match: "^\\s*(end)\\s+(if|while|for|match)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.control.flow.end.scala" }, { match: "^\\s*(end)\\s+(val)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.declaration.stable.end.scala" }, { match: "^\\s*(end)\\s+(var)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.declaration.volatile.end.scala" }, { captures: { 1: { name: "keyword.declaration.end.scala" }, 2: { name: "keyword.declaration.end.scala" }, 3: { name: "entity.name.type.declaration" } }, match: "^\\s*(end)\\s+(?:(new|extension)|([A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)" }, { match: "\\b(catch|finally|try)\\b", name: "keyword.control.exception.scala" }, { match: "^\\s*(end)\\s+(try)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)", name: "keyword.control.exception.end.scala" }, { captures: { 1: { name: "keyword.declaration.end.scala" }, 2: { name: "entity.name.declaration" } }, match: "^\\s*(end)\\s+(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))?(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)" }, { match: "(==?|!=|<=|>=|<>|<|>)", name: "keyword.operator.comparison.scala" }, { match: "(\\-|\\+|\\*|/(?![/*])|%|~)", name: "keyword.operator.arithmetic.scala" }, { match: "(?<![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]|_)(!|&&|\\|\\|)(?![!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}])", name: "keyword.operator.logical.scala" }, { match: "(<-|←|->|→|=>|⇒|\\?|\\:+|@|\\|)+", name: "keyword.operator.scala" }] }, "meta-bounds": { comment: "For themes: Matching view bounds", match: "<%|=:=|<:<|<%<|>:|<:", name: "meta.bounds.scala" }, "meta-brackets": { comment: "For themes: Brackets look nice when colored.", patterns: [{ comment: "The punctuation.section.*.begin is needed for return snippet in source bundle", match: "\\{", name: "punctuation.section.block.begin.scala" }, { comment: "The punctuation.section.*.end is needed for return snippet in source bundle", match: "\\}", name: "punctuation.section.block.end.scala" }, { match: "{|}|\\(|\\)|\\[|\\]", name: "meta.bracket.scala" }] }, "meta-colons": { comment: "For themes: Matching type colons", patterns: [{ match: "(?<!:):(?!:)", name: "meta.colon.scala" }] }, "parameter-list": { patterns: [{ captures: { 1: { name: "variable.parameter.scala" }, 2: { name: "meta.colon.scala" } }, match: "(?<=[^\\._$a-zA-Z0-9])(`[^`]+`|[_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)\\s*(:)\\s+" }] }, qualifiedClassName: { captures: { 1: { name: "entity.name.class" } }, match: "(\\b([A-Z][\\w]*)(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?)" }, "scala-quoted-or-symbol": { patterns: [{ captures: { 1: { name: "keyword.control.flow.staging.scala constant.other.symbol.scala" }, 2: { name: "constant.other.symbol.scala" } }, match: "(')((?>(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)))(?!')" }, { match: "'(?=\\s*\\{(?!'))", name: "keyword.control.flow.staging.scala" }, { match: "'(?=\\s*\\[(?!'))", name: "keyword.control.flow.staging.scala" }, { match: "\\$(?=\\s*\\{)", name: "keyword.control.flow.staging.scala" }] }, "script-header": { captures: { 1: { name: "string.unquoted.shebang.scala" } }, match: "^#!(.*)$", name: "comment.block.shebang.scala" }, "singleton-type": { captures: { 1: { name: "keyword.type.scala" } }, match: "\\.(type)(?![A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[0-9])" }, "storage-modifiers": { patterns: [{ match: "\\b(private\\[\\S+\\]|protected\\[\\S+\\]|private|protected)\\b", name: "storage.modifier.access" }, { match: "\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|override|@transient|@native)\\b", name: "storage.modifier.other" }, { match: "(?<=^|\\s)\\b(transparent|opaque|infix|open|inline)\\b(?=[a-z\\s]*\\b(def|val|var|given|type|class|trait|object|enum)\\b)", name: "storage.modifier.other" }] }, "string-interpolation": { patterns: [{ match: "\\$\\$", name: "constant.character.escape.interpolation.scala" }, { captures: { 1: { name: "punctuation.definition.template-expression.begin.scala" } }, match: "(\\$)([A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\p{Lo}\\p{Nl}\\p{Ll}0-9]*)", name: "meta.template.expression.scala" }, { begin: "\\$\\{", beginCaptures: { 0: { name: "punctuation.definition.template-expression.begin.scala" } }, contentName: "meta.embedded.line.scala", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.template-expression.end.scala" } }, name: "meta.template.expression.scala", patterns: [{ include: "#code" }] }] }, strings: { patterns: [{ begin: '"""', beginCaptures: { 0: { name: "punctuation.definition.string.begin.scala" } }, end: '"""(?!")', endCaptures: { 0: { name: "punctuation.definition.string.end.scala" } }, name: "string.quoted.triple.scala", patterns: [{ match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}", name: "constant.character.escape.scala" }] }, { begin: '\\b(raw)(""")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(""")(?!")|\\$
39
+ |(\\$[^\\$"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[\\$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: ".", name: "string.quoted.triple.interpolated.scala" }] }, { begin: '\\b((?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(""")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(""")(?!")|\\$
40
+ |(\\$[^\\$"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ include: "#string-interpolation" }, { match: "\\\\\\\\|\\\\u[0-9A-Fa-f]{4}", name: "constant.character.escape.scala" }, { match: ".", name: "string.quoted.triple.interpolated.scala" }] }, { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.scala" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.scala" } }, name: "string.quoted.double.scala", patterns: [{ match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-string-escape.scala" }] }, { begin: '\\b(raw)(")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(")|\\$
41
+ |(\\$[^\\$"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[\\$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: ".", name: "string.quoted.double.interpolated.scala" }] }, { begin: '\\b((?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?))(")', beginCaptures: { 1: { name: "keyword.interpolation.scala" }, 2: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.begin.scala" } }, end: `(")|\\$
42
+ |(\\$[^\\$"_{A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}])`, endCaptures: { 1: { name: "string.quoted.double.interpolated.scala punctuation.definition.string.end.scala" }, 2: { name: "invalid.illegal.unrecognized-string-escape.scala" } }, patterns: [{ match: '\\$[\\$"]', name: "constant.character.escape.scala" }, { include: "#string-interpolation" }, { match: `\\\\(?:[btnfr\\\\"']|[0-7]{1,3}|u[0-9A-Fa-f]{4})`, name: "constant.character.escape.scala" }, { match: "\\\\.", name: "invalid.illegal.unrecognized-string-escape.scala" }, { match: ".", name: "string.quoted.double.interpolated.scala" }] }] }, using: { patterns: [{ captures: { 1: { name: "keyword.declaration.scala" } }, match: "(?<=\\()\\s*(using)\\s" }] }, "using-directive": { begin: "^\\s*(//>)\\s*(using)[^\\S\\n]+(?:(\\S+))?", beginCaptures: { 1: { name: "punctuation.definition.comment.scala" }, 2: { name: "keyword.other.import.scala" }, 3: { patterns: [{ match: "[A-Z\\p{Lt}\\p{Lu}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)", name: "entity.name.import.scala" }, { match: "\\.", name: "punctuation.definition.import" }] } }, end: "\\n", name: "comment.line.shebang.scala", patterns: [{ include: "#constants" }, { include: "#strings" }, { match: "[^\\s,]+", name: "string.quoted.double.scala" }] }, "xml-doublequotedString": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.xml" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.xml" } }, name: "string.quoted.double.xml", patterns: [{ include: "#xml-entity" }] }, "xml-embedded-content": { patterns: [{ begin: "{", captures: { 0: { name: "meta.bracket.scala" } }, end: "}", name: "meta.source.embedded.scala", patterns: [{ include: "#code" }] }, { captures: { 1: { name: "entity.other.attribute-name.namespace.xml" }, 2: { name: "entity.other.attribute-name.xml" }, 3: { name: "punctuation.separator.namespace.xml" }, 4: { name: "entity.other.attribute-name.localname.xml" } }, match: " (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)=" }, { include: "#xml-doublequotedString" }, { include: "#xml-singlequotedString" }] }, "xml-entity": { captures: { 1: { name: "punctuation.definition.constant.xml" }, 3: { name: "punctuation.definition.constant.xml" } }, match: "(&)([:a-zA-Z_][:a-zA-Z0-9_.-]*|#[0-9]+|#x[0-9a-fA-F]+)(;)", name: "constant.character.entity.xml" }, "xml-literal": { patterns: [{ begin: "(<)((?:([_a-zA-Z0-9][_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*))(?=(\\s[^>]*)?></\\2>)", beginCaptures: { 1: { name: "punctuation.definition.tag.xml" }, 3: { name: "entity.name.tag.namespace.xml" }, 4: { name: "entity.name.tag.xml" }, 5: { name: "punctuation.separator.namespace.xml" }, 6: { name: "entity.name.tag.localname.xml" } }, comment: "We do not allow a tag name to start with a - since this would likely conflict with the <- operator. This is not very common for tag names anyway. Also code such as -- if (val <val2 || val> val3) will falsly be recognized as an xml tag. The solution is to put a space on either side of the comparison operator", end: "(>(<))/(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]*[_a-zA-Z0-9])(>)", endCaptures: { 1: { name: "punctuation.definition.tag.xml" }, 2: { name: "meta.scope.between-tag-pair.xml" }, 3: { name: "entity.name.tag.namespace.xml" }, 4: { name: "entity.name.tag.xml" }, 5: { name: "punctuation.separator.namespace.xml" }, 6: { name: "entity.name.tag.localname.xml" }, 7: { name: "punctuation.definition.tag.xml" } }, name: "meta.tag.no-content.xml", patterns: [{ include: "#xml-embedded-content" }] }, { begin: "(</?)(?:([_a-zA-Z0-9][-_a-zA-Z0-9]*)((:)))?([_a-zA-Z0-9][-_a-zA-Z0-9:]*)(?=[^>]*?>)", captures: { 1: { name: "punctuation.definition.tag.xml" }, 2: { name: "entity.name.tag.namespace.xml" }, 3: { name: "entity.name.tag.xml" }, 4: { name: "punctuation.separator.namespace.xml" }, 5: { name: "entity.name.tag.localname.xml" } }, end: "(/?>)", name: "meta.tag.xml", patterns: [{ include: "#xml-embedded-content" }] }, { include: "#xml-entity" }] }, "xml-singlequotedString": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.xml" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.xml" } }, name: "string.quoted.single.xml", patterns: [{ include: "#xml-entity" }] } }, scopeName: "source.scala" });
43
+ var y = [
44
+ L
45
+ ];
46
+ const w = Object.freeze({ displayName: "Gnuplot", fileTypes: ["gp", "plt", "plot", "gnuplot"], name: "gnuplot", patterns: [{ match: "(\\\\(?!\\n).*)", name: "invalid.illegal.backslash.gnuplot" }, { match: "(;)", name: "punctuation.separator.statement.gnuplot" }, { include: "#LineComment" }, { include: "#DataBlock" }, { include: "#MacroExpansion" }, { include: "#VariableDecl" }, { include: "#ArrayDecl" }, { include: "#FunctionDecl" }, { include: "#ShellCommand" }, { include: "#Command" }], repository: { ArrayDecl: { begin: `\\b(?x:
47
+ (array)\\s+
48
+ ([A-Za-z_]\\w*)?
49
+
50
+
51
+ )`, beginCaptures: { 1: { name: "support.type.array.gnuplot" }, 2: { name: "entity.name.variable.gnuplot", patterns: [{ include: "#InvalidVariableDecl" }, { include: "#BuiltinVariable" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.variable.gnuplot", patterns: [{ include: "#Expression" }] }, BuiltinFunction: { patterns: [{ match: `\\b(?x:
52
+ defined
53
+ )\\b`, name: "invalid.deprecated.function.gnuplot" }, { match: `\\b(?x:
54
+ abs |
55
+ acos |
56
+ acosh |
57
+ airy |
58
+ arg |
59
+ asin |
60
+ asinh |
61
+ atan |
62
+ atan2 |
63
+ atanh |
64
+ EllipticK |
65
+ EllipticE |
66
+ EllipticPi |
67
+ besj0 |
68
+ besj1 |
69
+ besy0 |
70
+ besy1 |
71
+ ceil |
72
+ cos |
73
+ cosh |
74
+ erf |
75
+ erfc |
76
+ exp |
77
+ expint |
78
+ floor |
79
+ gamma |
80
+ ibeta |
81
+ inverf |
82
+ igamma |
83
+ imag |
84
+ invnorm |
85
+ int |
86
+ lambertw |
87
+ lgamma |
88
+ log |
89
+ log10 |
90
+ norm |
91
+ rand |
92
+ real |
93
+ sgn |
94
+ sin |
95
+ sinh |
96
+ sqrt |
97
+ tan |
98
+ tanh |
99
+ voigt |
100
+ cerf |
101
+ cdawson |
102
+ faddeeva |
103
+ erfi |
104
+ VP
105
+ )\\b`, name: "support.function.math.gnuplot" }, { match: `\\b(?x:
106
+ gprintf |
107
+ sprintf |
108
+ strlen |
109
+ strstrt |
110
+ substr |
111
+ strftime |
112
+ strptime |
113
+ system |
114
+ word |
115
+ words
116
+ )\\b`, name: "support.function.string.gnuplot" }, { match: `\\b(?x:
117
+ column |
118
+ columnhead |
119
+ exists |
120
+ hsv2rgb |
121
+ stringcolumn |
122
+ timecolumn |
123
+ tm_hour |
124
+ tm_mday |
125
+ tm_min |
126
+ tm_mon |
127
+ tm_sec |
128
+ tm_wday |
129
+ tm_yday |
130
+ tm_year |
131
+ time |
132
+ valid |
133
+ value
134
+ )\\b`, name: "support.function.other.gnuplot" }] }, BuiltinOperator: { patterns: [{ match: "(&&|\\|\\|)", name: "keyword.operator.logical.gnuplot" }, { match: "(<<|>>|&|\\||\\^)", name: "keyword.operator.bitwise.gnuplot" }, { match: "(==|!=|<=|<|>=|>)", name: "keyword.operator.comparison.gnuplot" }, { match: "(=)", name: "keyword.operator.assignment.gnuplot" }, { match: "(\\+|-|~|!)", name: "keyword.operator.arithmetic.gnuplot" }, { match: "(\\*\\*|\\+|-|\\*|/|%)", name: "keyword.operator.arithmetic.gnuplot" }, { captures: { 2: { name: "keyword.operator.word.gnuplot" } }, match: "(\\.|\\b(eq|ne)\\b)", name: "keyword.operator.strings.gnuplot" }] }, BuiltinVariable: { patterns: [{ match: `\\b(?x:
135
+ FIT_LIMIT |
136
+ FIT_MAXITER |
137
+ FIT_START_LAMBDA |
138
+ FIT_LAMBDA_FACTOR |
139
+ FIT_SKIP |
140
+ FIT_INDEX
141
+ )\\b`, name: "invalid.deprecated.variable.gnuplot" }, { match: "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b", name: "support.constant.gnuplot" }, { match: "\\b(ARG[0-9C]|GPFUN_\\w*|FIT_\\w*|STATS_\\w*|pi|NaN)\\b", name: "support.variable.gnuplot" }] }, ColumnIndexLiteral: { match: "([$][0-9]+)\\b", name: "support.constant.columnindex.gnuplot" }, Command: { patterns: [{ begin: `\\b(?x:
142
+ update
143
+ )\\b`, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "invalid.deprecated.command.gnuplot" }, { begin: `\\b(?x:
144
+ break |
145
+ clear |
146
+ continue |
147
+ pwd |
148
+ refresh |
149
+ replot |
150
+ reread |
151
+ shell
152
+ )\\b`, beginCaptures: { 0: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#InvalidWord" }] }, { begin: `\\b(?x:
153
+ cd |
154
+ call |
155
+ eval |
156
+ exit |
157
+ help |
158
+ history |
159
+ load |
160
+ lower |
161
+ pause |
162
+ print |
163
+ printerr |
164
+ quit |
165
+ raise |
166
+ save |
167
+ stats |
168
+ system |
169
+ test |
170
+ toggle
171
+ )\\b`, beginCaptures: { 0: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, { begin: "\\b(import)\\s(.+)\\s(from)", beginCaptures: { 1: { name: "keyword.control.import.gnuplot" }, 2: { patterns: [{ include: "#FunctionDecl" }] }, 3: { name: "keyword.control.import.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#SingleQuotedStringLiteral" }, { include: "#DoubleQuotedStringLiteral" }, { include: "#InvalidWord" }] }, { begin: "\\b(reset)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "\\b(bind|error(state)?|session)\\b", name: "support.class.reset.gnuplot" }, { include: "#InvalidWord" }] }, { begin: "\\b(undefine)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#BuiltinVariable" }, { include: "#BuiltinFunction" }, { match: "(?<=\\s)([$]?[A-Za-z_]\\w*\\*?)(?=\\s)", name: "source.gnuplot" }, { include: "#InvalidWord" }] }, { begin: "\\b(if|while)\\b", beginCaptures: { 1: { name: "keyword.control.conditional.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, { begin: "\\b(else)\\b", beginCaptures: { 1: { name: "keyword.control.conditional.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))" }, { begin: "\\b(do)\\b", beginCaptures: { 1: { name: "keyword.control.flow.gnuplot" } }, end: "(?=(\\{|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ForIterationExpr" }] }, { begin: "\\b(set)(?=\\s+pm3d)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "\\b(hidden3d|map|transparent|solid)\\b", name: "invalid.deprecated.options.gnuplot" }, { include: "#SetUnsetOptions" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }, { begin: "\\b((un)?set)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#SetUnsetOptions" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }, { begin: "\\b(show)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ExtraShowOptions" }, { include: "#SetUnsetOptions" }, { include: "#Expression" }] }, { begin: "\\b(fit|(s)?plot)\\b", beginCaptures: { 1: { name: "keyword.other.command.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#ColumnIndexLiteral" }, { include: "#PlotModifiers" }, { include: "#ForIterationExpr" }, { include: "#Expression" }] }] }, DataBlock: { begin: `(?x:
172
+ ([$][A-Za-z_]\\w*)\\s*
173
+ (<<)\\s*
174
+ ([A-Za-z_]\\w*)\\s*
175
+ (?=(\\#|$))
176
+ )`, beginCaptures: { 1: { patterns: [{ include: "#SpecialVariable" }] }, 3: { name: "constant.language.datablock.gnuplot" } }, end: "^(\\3)\\b(.*)", endCaptures: { 1: { name: "constant.language.datablock.gnuplot" }, 2: { name: "invalid.illegal.datablock.gnuplot" } }, name: "meta.datablock.gnuplot", patterns: [{ include: "#LineComment" }, { include: "#NumberLiteral" }, { include: "#DoubleQuotedStringLiteral" }] }, DeprecatedScriptArgsLiteral: { match: "([$][0-9#])", name: "invalid.illegal.scriptargs.gnuplot" }, DoubleQuotedStringLiteral: { begin: '(")', beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: '((")|(?=(?<!\\\\)\\n$))', endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.quoted.double.gnuplot", patterns: [{ include: "#EscapedChar" }, { include: "#RGBColorSpec" }, { include: "#DeprecatedScriptArgsLiteral" }, { include: "#InterpolatedStringLiteral" }] }, EscapedChar: { match: "(\\\\.)", name: "constant.character.escape.gnuplot" }, Expression: { patterns: [{ include: "#Literal" }, { include: "#SpecialVariable" }, { include: "#BuiltinVariable" }, { include: "#BuiltinOperator" }, { include: "#TernaryExpr" }, { include: "#FunctionCallExpr" }, { include: "#SummationExpr" }] }, ExtraShowOptions: { match: `\\b(?x:
177
+ all |
178
+ bind |
179
+ colornames |
180
+ functions |
181
+ plot |
182
+ variables |
183
+ version
184
+ )\\b`, name: "support.class.options.gnuplot" }, ForIterationExpr: { begin: `\\b(?x:
185
+ (for)\\s*
186
+ (\\[)\\s*
187
+ (?:
188
+ ([A-Za-z_]\\w*)\\s+
189
+ (in)\\b
190
+ )?
191
+ )`, beginCaptures: { 1: { name: "keyword.control.flow.gnuplot" }, 2: { patterns: [{ include: "#RangeSeparators" }] }, 3: { name: "variable.other.iterator.gnuplot" }, 4: { name: "keyword.control.flow.gnuplot" } }, end: "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { patterns: [{ include: "#RangeSeparators" }] } }, patterns: [{ include: "#Expression" }, { include: "#RangeSeparators" }] }, FunctionCallExpr: { begin: "\\b([A-Za-z_]\\w*)\\s*(\\()", beginCaptures: { 1: { name: "variable.function.gnuplot", patterns: [{ include: "#BuiltinFunction" }] }, 2: { name: "punctuation.definition.arguments.begin.gnuplot" } }, end: "((\\))|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { name: "punctuation.definition.arguments.end.gnuplot" } }, name: "meta.function-call.gnuplot", patterns: [{ include: "#Expression" }] }, FunctionDecl: { begin: `\\b(?x:
192
+ ([A-Za-z_]\\w*)\\s*
193
+ (
194
+ (\\()\\s*
195
+ ([A-Za-z_]\\w*)\\s*
196
+ (?:
197
+ (,)\\s*
198
+ ([A-Za-z_]\\w*)\\s*
199
+ )*
200
+ (\\))
201
+ )
202
+ )`, beginCaptures: { 1: { name: "entity.name.function.gnuplot", patterns: [{ include: "#BuiltinFunction" }] }, 2: { name: "meta.function.parameters.gnuplot" }, 3: { name: "punctuation.definition.parameters.begin.gnuplot" }, 4: { name: "variable.parameter.function.language.gnuplot" }, 5: { name: "punctuation.separator.parameters.gnuplot" }, 6: { name: "variable.parameter.function.language.gnuplot" }, 7: { name: "punctuation.definition.parameters.end.gnuplot" } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.function.gnuplot", patterns: [{ include: "#Expression" }] }, InterpolatedStringLiteral: { begin: "(`)", beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: "((`)|(?=(?<!\\\\)\\n$))", endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.interpolated.gnuplot", patterns: [{ include: "#EscapedChar" }] }, InvalidVariableDecl: { match: "\\b(GPVAL_\\w*|MOUSE_\\w*)\\b", name: "invalid.illegal.variable.gnuplot" }, InvalidWord: { match: "([^;#\\\\[:space:]]+)", name: "invalid.illegal.gnuplot" }, LineComment: { begin: "(#)", beginCaptures: { 1: { name: "punctuation.definition.comment.begin.gnuplot" } }, end: "(?=(?<!\\\\)\\n$)", endCaptures: { 0: { name: "punctuation.definition.comment.end.gnuplot" } }, name: "comment.line.number-sign.gnuplot" }, Literal: { patterns: [{ include: "#NumberLiteral" }, { include: "#DeprecatedScriptArgsLiteral" }, { include: "#SingleQuotedStringLiteral" }, { include: "#DoubleQuotedStringLiteral" }, { include: "#InterpolatedStringLiteral" }] }, MacroExpansion: { begin: "([@][A-Za-z_]\\w*)", beginCaptures: { 1: { patterns: [{ include: "#SpecialVariable" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ include: "#Expression" }] }, NumberLiteral: { patterns: [{ match: `(?x:
203
+
204
+ ( ((\\b[0-9]+)|(?<!\\d)) )
205
+ ( [.][0-9]+ )
206
+ ( [Ee][+-]?[0-9]+ )?
207
+ )(cm|in)?\\b`, name: "constant.numeric.float.gnuplot" }, { match: `(?x:
208
+
209
+ ( \\b[0-9]+ )
210
+ (
211
+ ( ( [Ee][+-]?[0-9]+\\b ) ) |
212
+ ( [.] ( [Ee][+-]?[0-9]+\\b )? )
213
+ )
214
+ )(cm\\b|in\\b)?`, name: "constant.numeric.float.gnuplot" }, { match: "\\b(0[Xx][0-9a-fA-F]+)(cm|in)?\\b", name: "constant.numeric.hex.gnuplot" }, { match: "\\b(0+)(cm|in)?\\b", name: "constant.numeric.dec.gnuplot" }, { match: "\\b(0[0-7]+)(cm|in)?\\b", name: "constant.numeric.oct.gnuplot" }, { match: "\\b(0[0-9]+)(cm|in)?\\b", name: "invalid.illegal.oct.gnuplot" }, { match: "\\b([0-9]+)(cm|in)?\\b", name: "constant.numeric.dec.gnuplot" }] }, PlotModifiers: { patterns: [{ match: "\\b(thru)\\b", name: "invalid.deprecated.plot.gnuplot" }, { match: `\\b(?x:
215
+ in(dex)? |
216
+ every |
217
+ us(ing)? |
218
+ wi(th)? |
219
+ via
220
+ )\\b`, name: "storage.type.plot.gnuplot" }, { match: "\\b(newhist(ogram)?)\\b", name: "storage.type.plot.gnuplot" }] }, RGBColorSpec: { match: "\\G(0x|#)(([0-9a-fA-F]{6})|([0-9a-fA-F]{8}))\\b", name: "constant.other.placeholder.gnuplot" }, RangeSeparators: { patterns: [{ match: "(\\[)", name: "punctuation.section.brackets.begin.gnuplot" }, { match: "(:)", name: "punctuation.separator.range.gnuplot" }, { match: "(\\])", name: "punctuation.section.brackets.end.gnuplot" }] }, SetUnsetOptions: { patterns: [{ match: `\\G\\s*\\b(?x:
221
+ clabel |
222
+ data |
223
+ function |
224
+ historysize |
225
+ macros |
226
+ ticslevel |
227
+ ticscale |
228
+ (style\\s+increment\\s+\\w+)
229
+ )\\b`, name: "invalid.deprecated.options.gnuplot" }, { match: `\\G\\s*\\b(?x:
230
+ angles |
231
+ arrow |
232
+ autoscale |
233
+ border |
234
+ boxwidth |
235
+ clip |
236
+ cntr(label|param) |
237
+ color(box|sequence)?|
238
+ contour |
239
+ (dash|line)type |
240
+ datafile |
241
+ decimal(sign)? |
242
+ dgrid3d |
243
+ dummy |
244
+ encoding |
245
+ (error)?bars |
246
+ fit |
247
+ fontpath |
248
+ format |
249
+ grid |
250
+ hidden3d |
251
+ history |
252
+ (iso)?samples |
253
+ jitter |
254
+ key |
255
+ label |
256
+ link |
257
+ loadpath |
258
+ locale |
259
+ logscale |
260
+ mapping |
261
+ [lrtb]margin |
262
+ margins |
263
+ micro |
264
+ minus(sign)? |
265
+ mono(chrome)? |
266
+ mouse |
267
+ multiplot |
268
+ nonlinear |
269
+ object |
270
+ offsets |
271
+ origin |
272
+ output |
273
+ parametric |
274
+ (p|r)axis |
275
+ pm3d |
276
+ palette |
277
+ pointintervalbox |
278
+ pointsize |
279
+ polar |
280
+ print |
281
+ psdir |
282
+ size |
283
+ style |
284
+ surface |
285
+ table |
286
+ terminal |
287
+ termoption |
288
+ theta |
289
+ tics |
290
+ timestamp |
291
+ timefmt |
292
+ title |
293
+ view |
294
+ xyplane |
295
+ zero |
296
+ (no)?(m)?(x|x2|y|y2|z|cb|r|t)tics |
297
+ (x|x2|y|y2|z|cb)data |
298
+ (x|x2|y|y2|z|cb|r)label |
299
+ (x|x2|y|y2|z|cb)dtics |
300
+ (x|x2|y|y2|z|cb)mtics |
301
+ (x|x2|y|y2|z|cb|[rtuv])range |
302
+ (x|x2|y|y2|z)?zeroaxis
303
+ )\\b`, name: "support.class.options.gnuplot" }] }, ShellCommand: { begin: "(!)", beginCaptures: { 1: { name: "keyword.other.shell.gnuplot" } }, end: "(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$))", patterns: [{ match: "([^#]|\\\\(?=\\n))", name: "string.unquoted" }] }, SingleQuotedStringLiteral: { begin: "(')", beginCaptures: { 1: { name: "punctuation.definition.string.begin.gnuplot" } }, end: "((')(?!')|(?=(?<!\\\\)\\n$))", endCaptures: { 0: { name: "punctuation.definition.string.end.gnuplot" } }, name: "string.quoted.single.gnuplot", patterns: [{ include: "#RGBColorSpec" }, { match: "('')", name: "constant.character.escape.gnuplot" }] }, SpecialVariable: { patterns: [{ captures: { 1: { name: "constant.language.wildcard.gnuplot" } }, match: "(?<=[\\[:=])\\s*(\\*)\\s*(?=[:\\]])" }, { captures: { 2: { name: "punctuation.definition.variable.gnuplot" } }, match: "(([@$])[A-Za-z_]\\w*)\\b", name: "constant.language.special.gnuplot" }] }, SummationExpr: { begin: "\\b(sum)\\s*(\\[)", beginCaptures: { 1: { name: "keyword.other.sum.gnuplot" }, 2: { patterns: [{ include: "#RangeSeparators" }] } }, end: "((\\])|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { patterns: [{ include: "#RangeSeparators" }] } }, patterns: [{ include: "#Expression" }, { include: "#RangeSeparators" }] }, TernaryExpr: { begin: "(?<!\\?)(\\?)(?!\\?)", beginCaptures: { 1: { name: "keyword.operator.ternary.gnuplot" } }, end: "((?<!:)(:)(?!:)|(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$)))", endCaptures: { 2: { name: "keyword.operator.ternary.gnuplot" } }, patterns: [{ include: "#Expression" }] }, VariableDecl: { begin: `\\b(?x:
304
+ ([A-Za-z_]\\w*)\\s*
305
+ (?:
306
+ (\\[)\\s*
307
+ (.*)\\s*
308
+ (\\])\\s*
309
+ )?
310
+ (?=(=)(?!\\s*=))
311
+ )`, beginCaptures: { 1: { name: "entity.name.variable.gnuplot", patterns: [{ include: "#InvalidVariableDecl" }, { include: "#BuiltinVariable" }] }, 3: { patterns: [{ include: "#Expression" }] } }, end: "(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))", name: "meta.variable.gnuplot", patterns: [{ include: "#Expression" }] } }, scopeName: "source.gnuplot" });
312
+ var k = [
313
+ w
314
+ ];
315
+ const _ = Object.freeze({ displayName: "LaTeX", name: "latex", patterns: [{ comment: "This scope identifies partially typed commands such as `\\tab`. We use this to trigger “Command Completion” only when it makes sense.", match: "(?<=\\\\[\\w@]|\\\\[\\w@]{2}|\\\\[\\w@]{3}|\\\\[\\w@]{4}|\\\\[\\w@]{5}|\\\\[\\w@]{6})\\s", name: "meta.space-after-command.latex" }, { begin: "((\\\\)(?:usepackage|documentclass))\\b(?=\\[|\\{)", beginCaptures: { 1: { name: "keyword.control.preamble.latex" }, 2: { name: "punctuation.definition.function.latex" } }, end: "(?<=\\})", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.preamble.latex", patterns: [{ include: "#multiline-optional-arg" }, { begin: "((?:\\G|(?<=\\]))\\{)", beginCaptures: { 0: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "support.class.latex", end: "(\\})", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, patterns: [{ include: "$self" }] }] }, { begin: "((\\\\)(?:include|input))(\\{)", beginCaptures: { 1: { name: "keyword.control.include.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.include.latex", patterns: [{ include: "$self" }] }, { begin: "((\\\\)((?:sub){0,2}section|(?:sub)?paragraph|chapter|part|addpart|addchap|addsec|minisec|frametitle)(?:\\*)?)((?:\\[[^\\[]*?\\]){0,2})(\\{)", beginCaptures: { 1: { name: "support.function.section.latex" }, 2: { name: "punctuation.definition.function.latex" }, 4: { patterns: [{ include: "#optional-arg" }] }, 5: { name: "punctuation.definition.arguments.begin.latex" } }, comment: "this works OK with all kinds of crazy stuff as long as section is one line", contentName: "entity.name.section.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.function.section.$3.latex", patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((?:\\s*)\\\\begin\\{songs\\}\\{.*\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.data.environment.songs.latex", end: "(\\\\end\\{songs\\}(?:\\s*\\n)?)", name: "meta.function.environment.songs.latex", patterns: [{ begin: "\\\\\\[", end: "\\]", name: "meta.chord.block.latex support.class.chord.block.environment.latex", patterns: [{ include: "$base" }] }, { match: "\\^", name: "meta.chord.block.latex support.class.chord.block.environment.latex" }, { include: "$self" }] }, { begin: "(?:^\\s*)?\\\\begin\\{(lstlisting|minted|pyglist)\\}(?=\\[|\\{)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\\\end\\{\\1\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:c|cpp))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.cpp.embedded.latex" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:asy|asymptote))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.asy" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:css))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.css" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:hs|haskell))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.haskell" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:html))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "text.html.basic" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:xml))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "text.xml" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:java))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.java" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:lua))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.lua" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:jl|julia))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.julia" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:rb|ruby))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.ruby" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:js|javascript))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.js" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:ts|typescript))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.ts" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:py|python))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.python" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:yaml))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.yaml" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)((?:rust))(\\})", 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: "^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})", patterns: [{ include: "source.rust" }] }, { begin: "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})", 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: "^\\s*(?=\\\\end\\{(?:lstlisting|minted|pyglist)\\})", name: "meta.embedded.block.generic.latex" }] }, { begin: "\\s*\\\\begin\\{(?:cppcode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:cppcode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.cpp.embedded.latex", end: "^\\s*(?=\\\\end\\{(?:cppcode)\\*?\\})", patterns: [{ include: "source.cpp.embedded.latex" }] }] }, { begin: "\\s*\\\\begin\\{(?:hscode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:hscode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.haskell", end: "^\\s*(?=\\\\end\\{(?:hscode)\\*?\\})", patterns: [{ include: "source.haskell" }] }] }, { begin: "\\s*\\\\begin\\{(?:luacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:luacode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.lua", end: "^\\s*(?=\\\\end\\{(?:luacode)\\*?\\})", patterns: [{ include: "source.lua" }] }] }, { begin: "\\s*\\\\begin\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:jlcode|jlverbatim|jlblock|jlconcode|jlconsole|jlconverbatim)\\*?\\})", patterns: [{ include: "source.julia" }] }] }, { begin: "\\s*\\\\begin\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.julia", end: "^\\s*(?=\\\\end\\{(?:juliacode|juliaverbatim|juliablock|juliaconcode|juliaconsole|juliaconverbatim)\\*?\\})", patterns: [{ include: "source.julia" }] }] }, { begin: "\\s*\\\\begin\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:sageblock|sagesilent|sageverbatim|sageexample|sagecommandline|python|pythonq|pythonrepl)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:pycode|pyverbatim|pyblock|pyconcode|pyconsole|pyconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:pylabcode|pylabverbatim|pylabblock|pylabconcode|pylabconsole|pylabconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.python", end: "^\\s*(?=\\\\end\\{(?:sympycode|sympyverbatim|sympyblock|sympyconcode|sympyconsole|sympyconverbatim)\\*?\\})", patterns: [{ include: "source.python" }] }] }, { begin: "\\s*\\\\begin\\{(?:scalacode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:scalacode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.scala", end: "^\\s*(?=\\\\end\\{(?:scalacode)\\*?\\})", patterns: [{ include: "source.scala" }] }] }, { begin: "\\s*\\\\begin\\{(?:asy|asycode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:asy|asycode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.asymptote", end: "^\\s*(?=\\\\end\\{(?:asy|asycode)\\*?\\})", patterns: [{ include: "source.asymptote" }] }] }, { begin: "\\s*\\\\begin\\{(?:dot2tex|dotcode)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:dot2tex|dotcode)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.dot", end: "^\\s*(?=\\\\end\\{(?:dot2tex|dotcode)\\*?\\})", patterns: [{ include: "source.dot" }] }] }, { begin: "\\s*\\\\begin\\{(?:gnuplot)\\*?\\}(?:\\[[a-zA-Z0-9_-]*\\])?(?=\\[|\\{|\\s*$)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\s*\\\\end\\{(?:gnuplot)\\*?\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } } }, { begin: "^(?=\\s*)", contentName: "source.gnuplot", end: "^\\s*(?=\\\\end\\{(?:gnuplot)\\*?\\})", patterns: [{ include: "source.gnuplot" }] }] }, { begin: "\\s*\\\\begin\\{([a-zA-Z]*code|lstlisting|minted|pyglist)\\*?\\}(?:\\[.*\\])?(?:\\{.*\\})?", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.function.embedded.latex", end: "\\\\end\\{\\1\\}(?:\\s*\\n)?", name: "meta.embedded.block.generic.latex" }, { begin: "(?:^\\s*)?\\\\begin\\{(terminal\\*?)\\}(?=\\[|\\{)", captures: { 0: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "\\\\end\\{\\1\\}", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)([a-zA-Z]*)(\\})", 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: "^\\s*(?=\\\\end\\{terminal\\*?\\})", name: "meta.embedded.block.generic.latex" }] }, { begin: "((\\\\)addplot)(?:\\+?)((?:\\[[^\\[]*\\]))*\\s*(gnuplot)\\s*((?:\\[[^\\[]*\\]))*\\s*(\\{)", captures: { 1: { name: "support.function.be.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 4: { name: "variable.parameter.function.latex" }, 5: { patterns: [{ include: "#optional-arg" }] }, 6: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\s*(\\};)", patterns: [{ begin: "%", beginCaptures: { 0: { name: "punctuation.definition.comment.latex" } }, end: "$\\n?", name: "comment.line.percentage.latex" }, { include: "source.gnuplot" }] }, { begin: "(\\s*\\\\begin\\{((?:fboxv|boxedv|V|v|spv)erbatim\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{\\2\\})", name: "meta.function.verbatim.latex" }, { begin: "(\\s*\\\\begin\\{VerbatimOut\\}\\{[^\\}]*\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{\\VerbatimOut\\})", name: "meta.function.verbatim.latex" }, { begin: "(\\s*\\\\begin\\{alltt\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "markup.raw.verbatim.latex", end: "(\\\\end\\{alltt\\})", name: "meta.function.alltt.latex", patterns: [{ captures: { 1: { name: "punctuation.definition.function.latex" } }, match: "(\\\\)[A-Za-z]+", name: "support.function.general.latex" }] }, { begin: "(\\s*\\\\begin\\{([Cc]omment)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "punctuation.definition.comment.latex", end: "(\\\\end\\{\\2\\})", name: "meta.function.verbatim.latex" }, { begin: "(?:\\s*)((\\\\)(?:href|hyperref|hyperimage))(?=\\[|\\{)", beginCaptures: { 1: { name: "support.function.url.latex" } }, comment: "Captures \\command[option]{url}{optional category}{optional name}{text}", end: "(\\})", endCaptures: { 1: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.function.hyperlink.latex", patterns: [{ include: "#multiline-optional-arg-no-highlight" }, { begin: "(?:\\G|(?<=\\]))(\\{)([^}]*)(\\})(?:\\{[^}]*\\}){2}?(\\{)", 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: "(?=\\})", patterns: [{ include: "$base" }] }, { begin: "(?:\\G|(?<=\\]))(?:(\\{)[^}]*(\\}))?(\\{)", 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: "(?=\\})", patterns: [{ include: "$base" }] }] }, { captures: { 1: { name: "support.function.url.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, "'": { name: "markup.underline.link.latex" } }, match: "(?:\\s*)((\\\\)url)(\\{)([^}]*)(\\})", name: "meta.function.link.url.latex" }, { captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, comment: "These two patterns match the \\begin{document} and \\end{document} commands, so that the environment matching pattern following them will ignore those commands.", match: "(\\s*\\\\begin\\{document\\})", name: "meta.function.begin-document.latex" }, { captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, match: "(\\s*\\\\end\\{document\\})", name: "meta.function.end-document.latex" }, { begin: "(?:\\s*)((\\\\)begin)(\\{)((?:\\+?array|equation|(?:IEEE)?eqnarray|multline|align|aligned|alignat|alignedat|flalign|flaligned|flalignat|split|gather|gathered|\\+?cases|(?:display)?math|\\+?[a-zA-Z]*matrix|[pbBvV]?NiceMatrix|[pbBvV]?NiceArray|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?", 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: "(?:\\s*)((\\\\)end)(\\{)(\\4)(\\})(?:\\s*\\n)?", name: "meta.function.environment.math.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.equation.align.latex" }, { match: "\\\\\\\\", name: "keyword.control.equation.newline.latex" }, { include: "#definition-label" }, { include: "text.tex#math" }, { include: "$base" }] }, { begin: "(?:\\s*)(\\\\begin\\{empheq\\}(?:\\[.*\\])?)", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.math.block.latex support.class.math.block.environment.latex", end: "(?:\\s*)(\\\\end\\{empheq\\})", name: "meta.function.environment.math.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.equation.align.latex" }, { match: "\\\\\\\\", name: "keyword.control.equation.newline.latex" }, { include: "#definition-label" }, { include: "text.tex#math" }, { include: "$base" }] }, { begin: "(\\s*\\\\begin\\{(tabular[xy*]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr|NiceTabular[X*]?|booktabs)\\}(\\s*\\n)?)", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.data.environment.tabular.latex", end: "(\\s*\\\\end\\{(\\2)\\}(?:\\s*\\n)?)", name: "meta.function.environment.tabular.latex", patterns: [{ match: "(?<!\\\\)&", name: "keyword.control.table.cell.latex" }, { match: "\\\\\\\\", name: "keyword.control.table.newline.latex" }, { include: "$base" }] }, { begin: "(\\s*\\\\begin\\{(itemize|enumerate|description|list)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.list.latex", patterns: [{ include: "$base" }] }, { begin: "(\\s*\\\\begin\\{tikzpicture\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{tikzpicture\\}(?:\\s*\\n)?)", name: "meta.function.environment.latex.tikz", patterns: [{ include: "$base" }] }, { begin: "(\\s*\\\\begin\\{frame\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{frame\\})", name: "meta.function.environment.frame.latex", patterns: [{ include: "$base" }] }, { begin: "(\\s*\\\\begin\\{(mpost\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.latex.mpost" }, { begin: "(\\s*\\\\begin\\{markdown\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, contentName: "meta.embedded.markdown_latex_combined", end: "(\\\\end\\{markdown\\})", patterns: [{ include: "text.tex.markdown_latex_combined" }] }, { begin: "(\\s*\\\\begin\\{(\\w+\\*?)\\})", captures: { 1: { patterns: [{ include: "#begin-env-tokenizer" }] } }, end: "(\\\\end\\{\\2\\}(?:\\s*\\n)?)", name: "meta.function.environment.general.latex", patterns: [{ include: "$base" }] }, { captures: { 1: { name: "storage.type.function.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.begin.latex" }, 4: { name: "support.function.general.latex" }, 5: { name: "punctuation.definition.function.latex" }, 6: { name: "punctuation.definition.end.latex" } }, match: "((\\\\)(?:newcommand|renewcommand|(?:re)?newrobustcmd|DeclareRobustCommand))\\*?({)((\\\\)[^}]*)(})" }, { begin: "((\\\\)marginpar)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "support.function.marginpar.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 4: { name: "punctuation.definition.marginpar.begin.latex" } }, contentName: "meta.paragraph.margin.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.marginpar.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((\\\\)footnote)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "support.function.footnote.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 4: { name: "punctuation.definition.footnote.begin.latex" } }, contentName: "entity.name.footnote.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.footnote.end.latex" } }, patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((\\\\)emph)(\\{)", 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: "\\}", endCaptures: { 0: { name: "punctuation.definition.emph.end.latex" } }, name: "meta.function.emph.latex", patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((\\\\)textit)(\\{)", captures: { 1: { name: "support.function.textit.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.textit.begin.latex" } }, comment: `We put the keyword in a capture and name this capture, so that disabling spell checking for “keyword” won't be inherited by the argument to \\textit{...}.
316
+
317
+ Put specific matches for particular LaTeX keyword.functions before the last two more general functions`, contentName: "markup.italic.textit.latex", end: "\\}", endCaptures: { 0: { name: "punctuation.definition.textit.end.latex" } }, name: "meta.function.textit.latex", patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((\\\\)textbf)(\\{)", 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: "\\}", endCaptures: { 0: { name: "punctuation.definition.textbf.end.latex" } }, name: "meta.function.textbf.latex", patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { begin: "((\\\\)texttt)(\\{)", 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: "\\}", endCaptures: { 0: { name: "punctuation.definition.texttt.end.latex" } }, name: "meta.function.texttt.latex", patterns: [{ include: "text.tex#braces" }, { include: "$base" }] }, { captures: { 0: { name: "keyword.other.item.latex" }, 1: { name: "punctuation.definition.keyword.latex" } }, match: "(\\\\)item\\b", name: "meta.scope.item.latex" }, { begin: "((\\\\)(?:[aA]uto|foot|full|no|ref|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\([^\\)]*\\)){0,2}(?:\\[[^\\]]*\\]){0,2}\\{[\\p{Alphabetic}:.]*\\})*)(?:([<\\[])[^\\]<>]*([>\\]]))?(?:(\\[)[^\\]]*(\\]))?(\\{)", captures: { 1: { name: "keyword.control.cite.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { patterns: [{ include: "#autocites-arg" }] }, 4: { name: "punctuation.definition.arguments.optional.begin.latex" }, 5: { name: "punctuation.definition.arguments.optional.end.latex" }, 6: { name: "punctuation.definition.arguments.optional.begin.latex" }, 7: { name: "punctuation.definition.arguments.optional.end.latex" }, 8: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", 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: "((%).*)$" }, { match: "[\\p{Alphabetic}\\p{Number}:.-]+", name: "constant.other.reference.citation.latex" }] }, { begin: "((\\\\)bibentry)(\\{)", captures: { 1: { name: "keyword.control.cite.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.citation.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}:.]+", name: "constant.other.reference.citation.latex" }] }, { begin: "((\\\\)(?:\\w*[rR]ef\\*?))(\\{)", beginCaptures: { 1: { name: "keyword.control.ref.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.reference.label.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}\\.,:/*!^_-]", name: "constant.other.reference.label.latex" }] }, { include: "#definition-label" }, { begin: "((\\\\)(?:verb|Verb|spverb)\\*?)\\s*((\\\\)scantokens)(\\{)", 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: "(\\})", 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: "((\\\\)(?:verb|Verb|spverb)\\*?)\\s*((?<=\\s)\\S|[^a-zA-Z])(.*?)(\\3|$)", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 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|mintinline))((?:\\[[^\\[]*?\\])?)(\\{)[a-zA-Z]*(\\})(?:(?:([^a-zA-Z\\{])(.*?)(\\6))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 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-Z\\{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 4: { name: "punctuation.definition.verb.latex" }, 5: { name: "source.python", patterns: [{ include: "source.python" }] }, 6: { name: "punctuation.definition.verb.latex" }, 7: { name: "punctuation.definition.verb.latex" }, 8: { name: "source.python", patterns: [{ include: "source.python" }] }, 9: { name: "punctuation.definition.verb.latex" } }, match: "((\\\\)(?:(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?|pyq|pycq|pyif))((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z\\{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { captures: { 1: { name: "support.function.verb.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 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: "((\\\\)(?:jl|julia)[cv]?)((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z\\{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))", name: "meta.function.verb.latex" }, { match: "\\\\(?:newline|pagebreak|clearpage|linebreak|pause)(?:\\b)", name: "keyword.control.layout.latex" }, { begin: "\\\\\\(", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\\\\\)", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ include: "text.tex#math" }, { include: "$base" }] }, { begin: "\\$\\$", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\$\\$", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.latex" }, { include: "text.tex#math" }, { include: "$base" }] }, { begin: "\\$", beginCaptures: { 0: { name: "punctuation.definition.string.begin.tex" } }, end: "\\$", endCaptures: { 0: { name: "punctuation.definition.string.end.tex" } }, name: "meta.math.block.tex support.class.math.block.tex", patterns: [{ match: "\\\\\\$", name: "constant.character.escape.latex" }, { include: "text.tex#math" }, { include: "$base" }] }, { begin: "\\\\\\[", beginCaptures: { 0: { name: "punctuation.definition.string.begin.latex" } }, end: "\\\\\\]", endCaptures: { 0: { name: "punctuation.definition.string.end.latex" } }, name: "meta.math.block.latex support.class.math.block.environment.latex", patterns: [{ include: "text.tex#math" }, { include: "$base" }] }, { 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(feminine|masculine))|d(i(scount|ed|v(orced)?)|o(ng|wnarrow|llar(oldstyle)?)|egree|agger(dbl)?|blhyphen(char)?)|uparrow|p(ilcrow|e(so|r(t(housand|enthousand)|iodcentered))|aragraph|m)|e(stimated|ightoldstyle|uro)|quotes(traight(dblbase|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", name: "constant.character.latex" }, { captures: { 1: { name: "punctuation.definition.column-specials.begin.latex" }, 2: { name: "punctuation.definition.column-specials.end.latex" } }, match: "(?:<|>)(\\{)\\$(\\})", name: "meta.column-specials.latex" }, { include: "text.tex" }], repository: { "autocites-arg": { patterns: [{ captures: { 1: { name: "punctuation.definition.arguments.optional.begin.latex" }, 2: { name: "punctuation.definition.arguments.optional.end.latex" }, 3: { name: "punctuation.definition.arguments.optional.begin.latex" }, 4: { name: "punctuation.definition.arguments.optional.end.latex" }, 5: { name: "punctuation.definition.arguments.begin.latex" }, 6: { name: "constant.other.reference.citation.latex" }, 7: { name: "punctuation.definition.arguments.end.latex" }, 8: { patterns: [{ include: "#autocites-arg" }] } }, match: "(?:(\\()[^\\)]*(\\))){0,2}(?:(\\[)[^\\]]*(\\])){0,2}(\\{)([\\p{Alphabetic}\\p{Number}:.]+)(\\})(.*)" }] }, "begin-env-tokenizer": { captures: { 1: { name: "support.function.be.latex" }, 2: { name: "punctuation.definition.function.latex" }, 3: { name: "punctuation.definition.arguments.begin.latex" }, 4: { name: "variable.parameter.function.latex" }, 5: { name: "punctuation.definition.arguments.end.latex" }, 6: { name: "punctuation.definition.arguments.optional.begin.latex" }, 7: { patterns: [{ include: "$base" }] }, 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: "\\s*((\\\\)(?:begin|end))(\\{)([a-zA-Z]*\\*?)(\\})(?:(\\[)(.*)(\\]))?(?:(\\{)([^{}]*)(\\}))?" }, "definition-label": { begin: "((\\\\)label)((?:\\[[^\\[]*?\\])*)(\\{)", beginCaptures: { 1: { name: "keyword.control.label.latex" }, 2: { name: "punctuation.definition.keyword.latex" }, 3: { patterns: [{ include: "#optional-arg" }] }, 4: { name: "punctuation.definition.arguments.begin.latex" } }, end: "\\}", endCaptures: { 0: { name: "punctuation.definition.arguments.end.latex" } }, name: "meta.definition.label.latex", patterns: [{ match: "[\\p{Alphabetic}\\p{Number}\\.,:/*!^_-]", name: "variable.parameter.definition.label.latex" }] }, "multiline-optional-arg": { begin: "\\G\\[", beginCaptures: { 0: { name: "punctuation.definition.arguments.optional.begin.latex" } }, contentName: "variable.parameter.function.latex", end: "\\]", endCaptures: { 0: { name: "punctuation.definition.arguments.optional.end.latex" } }, name: "meta.parameter.optional.latex", patterns: [{ include: "$self" }] }, "multiline-optional-arg-no-highlight": { begin: "\\G\\[", beginCaptures: { 0: { name: "punctuation.definition.arguments.optional.begin.latex" } }, end: "\\]", endCaptures: { 0: { name: "punctuation.definition.arguments.optional.end.latex" } }, name: "meta.parameter.optional.latex", patterns: [{ include: "$self" }] }, "optional-arg": { 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: "(\\[)([^\\[]*?)(\\])", name: "meta.parameter.optional.latex" }] } }, scopeName: "text.tex.latex", embeddedLangs: ["tex", "css", "haskell", "html", "xml", "java", "lua", "julia", "ruby", "javascript", "typescript", "python", "yaml", "rust", "scala", "gnuplot"] });
318
+ var I = [
319
+ ...h,
320
+ ...a,
321
+ ...i,
322
+ ...o,
323
+ ...r,
324
+ ...p,
325
+ ...l,
326
+ ...x,
327
+ ...u,
328
+ ...t,
329
+ ...m,
330
+ ...n,
331
+ ...d,
332
+ ...g,
333
+ ...y,
334
+ ...k,
335
+ _
336
+ ];
337
+ export {
338
+ I as default
339
+ };