github-linguist 9.6.0 → 9.8.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 (226) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/documentation.markdown.injection.haxe.json +1 -1
  3. data/grammars/gno.mod.json +1 -0
  4. data/grammars/inline.hbs.json +1 -1
  5. data/grammars/inline.template.json +1 -1
  6. data/grammars/markdown.glimmer.codeblock.json +1 -1
  7. data/grammars/markdown.goose.codeblock.json +1 -0
  8. data/grammars/markdown.nextflow.codeblock.json +1 -0
  9. data/grammars/markdown.ocaml.codeblock.json +1 -0
  10. data/grammars/markdown.reason.codeblock.json +1 -0
  11. data/grammars/markdown.roc.codeblock.json +1 -0
  12. data/grammars/nextflow.interpolation.injection.json +1 -0
  13. data/grammars/nextflow.script.injection.json +1 -0
  14. data/grammars/source.abl.json +1 -1
  15. data/grammars/source.abnf.json +1 -1
  16. data/grammars/source.action.menhir.json +1 -0
  17. data/grammars/source.aleo.json +1 -0
  18. data/grammars/source.ampl.dat.json +1 -0
  19. data/grammars/source.ampl.json +1 -1
  20. data/grammars/source.apl.json +1 -1
  21. data/grammars/source.armasm.json +1 -0
  22. data/grammars/source.astro.json +1 -1
  23. data/grammars/source.astylerc.json +1 -0
  24. data/grammars/source.atd.json +1 -0
  25. data/grammars/source.avisynth.json +1 -0
  26. data/grammars/source.baml.json +1 -1
  27. data/grammars/source.bbcbasic.json +1 -0
  28. data/grammars/source.bend.json +1 -0
  29. data/grammars/source.bird2.json +1 -0
  30. data/grammars/source.blueprint.json +1 -0
  31. data/grammars/source.bnd.json +1 -1
  32. data/grammars/source.bsl.json +1 -1
  33. data/grammars/source.c++.json +1 -1
  34. data/grammars/source.c.json +1 -1
  35. data/grammars/source.c3.json +1 -1
  36. data/grammars/source.carbon.json +1 -0
  37. data/grammars/source.cedar.json +1 -0
  38. data/grammars/source.cj.json +1 -1
  39. data/grammars/source.cl.json +1 -1
  40. data/grammars/source.clar.json +1 -1
  41. data/grammars/source.cmake.json +1 -1
  42. data/grammars/source.cmd.json +1 -1
  43. data/grammars/source.cmhg.json +1 -0
  44. data/grammars/source.comment-string.wesl.json +1 -1
  45. data/grammars/source.comment-string.wgsl.json +1 -1
  46. data/grammars/source.compact.json +1 -0
  47. data/grammars/source.cram.json +1 -0
  48. data/grammars/source.cs.json +1 -1
  49. data/grammars/source.csswg.json +1 -1
  50. data/grammars/source.cue.json +1 -1
  51. data/grammars/source.curlrc.json +1 -1
  52. data/grammars/source.dart.json +1 -1
  53. data/grammars/source.dataflex.json +1 -0
  54. data/grammars/source.dax.json +1 -0
  55. data/grammars/source.dds.dspf.json +1 -1
  56. data/grammars/source.dds.icff.json +1 -1
  57. data/grammars/source.dds.lf.json +1 -1
  58. data/grammars/source.dds.pf.json +1 -1
  59. data/grammars/source.dds.prtf.json +1 -1
  60. data/grammars/source.deq.json +1 -0
  61. data/grammars/source.ditroff.desc.json +1 -1
  62. data/grammars/source.dm.json +1 -1
  63. data/grammars/source.dml.json +1 -0
  64. data/grammars/source.dune-project.json +1 -0
  65. data/grammars/source.dune-workspace.json +1 -0
  66. data/grammars/source.dune.json +1 -1
  67. data/grammars/source.easycrypt.json +1 -0
  68. data/grammars/source.emacs.lisp.json +1 -1
  69. data/grammars/source.env-spec.json +1 -0
  70. data/grammars/source.erlang.json +1 -1
  71. data/grammars/source.ets.json +1 -0
  72. data/grammars/source.fift.json +1 -0
  73. data/grammars/source.flix.json +1 -1
  74. data/grammars/source.fpp.json +1 -0
  75. data/grammars/source.func.json +1 -0
  76. data/grammars/source.gdscript.json +1 -1
  77. data/grammars/source.gedcom.json +1 -1
  78. data/grammars/source.gitconfig.json +1 -1
  79. data/grammars/source.gjs.json +1 -1
  80. data/grammars/source.gno.json +1 -0
  81. data/grammars/source.goose.json +1 -0
  82. data/grammars/source.graphql.json +1 -1
  83. data/grammars/source.gts.json +1 -1
  84. data/grammars/source.hack.json +1 -1
  85. data/grammars/source.hx.json +1 -1
  86. data/grammars/source.hxml.json +1 -1
  87. data/grammars/source.ice.json +1 -1
  88. data/grammars/source.ifc.json +1 -0
  89. data/grammars/source.indent-profile.json +1 -0
  90. data/grammars/source.ink.json +1 -1
  91. data/grammars/source.jac.json +1 -1
  92. data/grammars/source.jass.json +1 -0
  93. data/grammars/source.julia.console.json +1 -1
  94. data/grammars/source.julia.json +1 -1
  95. data/grammars/source.kcl.json +1 -1
  96. data/grammars/source.kerml.json +1 -0
  97. data/grammars/source.koka.json +1 -1
  98. data/grammars/source.leo.json +1 -1
  99. data/grammars/source.liquidsoap.json +1 -1
  100. data/grammars/source.lobster.json +1 -0
  101. data/grammars/source.logos.json +1 -1
  102. data/grammars/source.lsf.json +1 -0
  103. data/grammars/source.luau.json +1 -1
  104. data/grammars/source.lumscript.json +1 -0
  105. data/grammars/source.m2.json +1 -1
  106. data/grammars/source.maple.json +1 -0
  107. data/grammars/source.metafont.json +1 -0
  108. data/grammars/source.metapost.json +1 -0
  109. data/grammars/source.mi.json +1 -1
  110. data/grammars/source.mo.json +1 -1
  111. data/grammars/source.mojo.json +1 -1
  112. data/grammars/source.moonbit.config.json +1 -1
  113. data/grammars/source.moonbit.json +1 -1
  114. data/grammars/source.ms.json +1 -0
  115. data/grammars/source.nextflow-config.json +1 -0
  116. data/grammars/source.nextflow-groovy.json +1 -1
  117. data/grammars/source.nextflow-log.json +1 -0
  118. data/grammars/source.nextflow.json +1 -1
  119. data/grammars/source.nim.json +1 -1
  120. data/grammars/source.nushell.json +1 -1
  121. data/grammars/source.ocaml.META.json +1 -0
  122. data/grammars/source.ocaml.interface.json +1 -0
  123. data/grammars/source.ocaml.json +1 -1
  124. data/grammars/source.ocaml.menhir.json +1 -0
  125. data/grammars/source.ocaml.merlin.json +1 -0
  126. data/grammars/source.ocaml.mlx.json +1 -0
  127. data/grammars/source.ocaml.oasis.json +1 -0
  128. data/grammars/source.ocaml.ocamlbuild.json +1 -0
  129. data/grammars/source.ocaml.ocamldoc.json +1 -0
  130. data/grammars/source.ocaml.ocamlformat.json +1 -0
  131. data/grammars/source.ocaml.ocamllex.json +1 -0
  132. data/grammars/source.ocaml.opam-install.json +1 -0
  133. data/grammars/source.ocaml.opam.json +1 -0
  134. data/grammars/source.openqasm.json +1 -1
  135. data/grammars/source.opy.json +1 -1
  136. data/grammars/source.paperspecs.json +1 -0
  137. data/grammars/source.pkl.json +1 -1
  138. data/grammars/source.pl.json +1 -0
  139. data/grammars/source.pnlgrp.json +1 -1
  140. data/grammars/source.prisma.json +1 -1
  141. data/grammars/source.qsharp.json +1 -1
  142. data/grammars/source.quint.json +1 -1
  143. data/grammars/source.rarlist.json +1 -0
  144. data/grammars/source.rascal.json +1 -1
  145. data/grammars/source.rascript.json +1 -1
  146. data/grammars/source.reason.json +1 -1
  147. data/grammars/source.rego.json +1 -1
  148. data/grammars/source.rhai.json +1 -0
  149. data/grammars/source.roc.json +1 -1
  150. data/grammars/source.ron.json +1 -1
  151. data/grammars/source.rpg.json +1 -1
  152. data/grammars/source.rpgle.json +1 -1
  153. data/grammars/source.rpm-spec.json +1 -1
  154. data/grammars/source.rust.json +1 -1
  155. data/grammars/source.scala.json +1 -1
  156. data/grammars/source.skip.json +1 -0
  157. data/grammars/source.skript.json +1 -0
  158. data/grammars/source.slice.json +1 -1
  159. data/grammars/source.smithy.json +1 -1
  160. data/grammars/source.spicedb.json +1 -1
  161. data/grammars/source.stim.json +1 -0
  162. data/grammars/source.surrealql.json +1 -1
  163. data/grammars/source.swift.json +1 -1
  164. data/grammars/source.sysml.json +1 -0
  165. data/grammars/source.tablegen.json +1 -0
  166. data/grammars/source.tasm.json +1 -0
  167. data/grammars/source.tlb.json +1 -0
  168. data/grammars/source.tolk.json +1 -0
  169. data/grammars/source.tsp.json +1 -1
  170. data/grammars/source.tsq.json +1 -0
  171. data/grammars/source.tsrx.json +1 -0
  172. data/grammars/source.ucode-template.json +1 -0
  173. data/grammars/source.ucode.json +1 -0
  174. data/grammars/source.uiua.json +1 -0
  175. data/grammars/source.vento.json +1 -1
  176. data/grammars/source.verse.json +1 -0
  177. data/grammars/source.veryl.json +1 -0
  178. data/grammars/source.vespaSchema.json +1 -0
  179. data/grammars/source.vespaYQL.json +1 -0
  180. data/grammars/source.vhs.json +1 -0
  181. data/grammars/source.vim9.json +1 -0
  182. data/grammars/source.wdl.json +1 -1
  183. data/grammars/source.webassembly.json +1 -1
  184. data/grammars/source.wesl.json +1 -1
  185. data/grammars/source.wgsl.json +1 -1
  186. data/grammars/source.yaml.salt.json +1 -1
  187. data/grammars/text.bbcode.json +1 -0
  188. data/grammars/text.html.cobmd.json +1 -0
  189. data/grammars/text.html.ember-handlebars.json +1 -1
  190. data/grammars/text.html.handlebars.json +1 -1
  191. data/grammars/text.html.jte.json +1 -1
  192. data/grammars/text.html.markdown.json +1 -0
  193. data/grammars/text.html.pfm.json +1 -0
  194. data/grammars/text.html.ss.json +1 -0
  195. data/grammars/text.html.statamic.json +1 -1
  196. data/grammars/text.marko.json +1 -1
  197. data/grammars/text.recfile.json +1 -0
  198. data/grammars/text.roff.json +1 -1
  199. data/grammars/text.valve-cfg.json +1 -1
  200. data/grammars/text.vtt.json +1 -1
  201. data/grammars/version +1 -1
  202. data/lib/linguist/VERSION +1 -1
  203. data/lib/linguist/blob_helper.rb +21 -2
  204. data/lib/linguist/documentation.yml +3 -0
  205. data/lib/linguist/generated.rb +99 -8
  206. data/lib/linguist/generic.yml +3 -0
  207. data/lib/linguist/heuristics.yml +239 -62
  208. data/lib/linguist/language.rb +5 -9
  209. data/lib/linguist/languages.yml +610 -30
  210. data/lib/linguist/languages_data.rb +7965 -0
  211. data/lib/linguist/lazy_blob.rb +6 -1
  212. data/lib/linguist/samples.rb +4 -10
  213. data/lib/linguist/samples_data.rb +203998 -0
  214. data/lib/linguist/strategy/modeline.rb +0 -1
  215. data/lib/linguist/vendor.yml +3 -0
  216. metadata +95 -25
  217. data/grammars/markdown.bicep.codeblock.json +0 -1
  218. data/grammars/source.baml-jinja.json +0 -1
  219. data/grammars/source.camlp4.ocaml.json +0 -1
  220. data/grammars/source.ocamllex.json +0 -1
  221. data/grammars/source.ocamlyacc.json +0 -1
  222. data/grammars/source.reason.hover.type.json +0 -1
  223. data/grammars/source.scm.json +0 -1
  224. data/grammars/text.plain.json +0 -1
  225. data/lib/linguist/languages.json +0 -1
  226. data/lib/linguist/samples.json +0 -1
@@ -1 +1 @@
1
- {"name":"CMD","scopeName":"source.cmd","patterns":[{"include":"#comments"},{"include":"#support"},{"include":"#variables"},{"include":"#constants"},{"include":"#keywords"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.cmd","begin":"(\\/\\*)","end":"(\\*\\/)"}]},"constants":{"patterns":[{"name":"constant.language.cmd","match":"(?i)[*]\\b(IN)([0-9]{0,2})\\b"},{"name":"constant.numeric.cmd","match":"(\\b[0-9]+)|([0-9]*[.][0-9]*)"},{"name":"constant.language.cmd","match":"[*][a-zA-Z][a-zA-Z0-9]*"}]},"keywords":{"patterns":[{"name":"keyword.control.cmd.label","match":"^\\s*[a-zA-Z_@#$§ÆØÅÄ֣ѥàÐŞİ][a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ]*:"},{"name":"keyword.other.cmd","match":"(?i)\\b(QUAL|PMTCTL|PARM|ELEM|DEP|CMD)\\b"},{"name":"keyword.other.cmd","match":"(?i)[*](CAT|TCAT|BCAT|AND|OR|NOT|EQ|GT|LT|GE|LE|NE|NG|NL)"},{"name":"keyword.other.cmd","match":"(([\\|](\\||\u003e|\u003c))|\\+|\\-|\\*|\\/|\u003e=|\u003c=|=|\u003e|\u003c|:)"}]},"strings":{"patterns":[{"name":"string.other.cmd.hex","begin":"(?i)x'","end":"'"},{"name":"string.quoted.single.cmd","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.cmd","match":"\\\\."}]}]},"support":{"patterns":[{"name":"support.function.cmd","match":"[a-zA-Z_][a-zA-Z0-9_]*(?=\\()"}]},"variables":{"patterns":[{"name":"variable.parameter.cmd","match":"[\u0026][a-zA-Z_@#$§ÆØÅÄ֣ѥàÐŞİ][a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ]*"}]}}}
1
+ {"name":"CMD","scopeName":"source.cmd","patterns":[{"include":"#comments"},{"include":"#support"},{"include":"#variables"},{"include":"#operators"},{"include":"#constants"},{"include":"#keywords"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.cmd","begin":"(\\/\\*)","end":"(\\*\\/)"}]},"constants":{"patterns":[{"name":"constant.language.cmd","match":"(?i)[*]\\b(IN)([0-9]{0,2})\\b"},{"name":"constant.numeric.cmd","match":"(\\b[0-9]+)|([0-9]*[.][0-9]*)"},{"name":"constant.language.cmd","match":"[*][a-zA-Z][a-zA-Z0-9]*"}]},"keywords":{"patterns":[{"name":"keyword.control.cmd.label","match":"^\\s*[a-zA-Z_@#$§ÆØÅÄ֣ѥàÐŞİ][a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ]*:"},{"name":"keyword.other.cmd","match":"(?i)(?\u003c![a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ])(QUAL|PMTCTL|PARM|ELEM|DEP|CMD)(?![a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ])"},{"name":"punctuation.separator.cmd","match":"(?\u003c=[a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ])\\/(?=[a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ*\u0026])"},{"name":"keyword.other.cmd","match":"(([\\|](\\||\u003e|\u003c))|\\+|\\-|\\*|\\/|\u003e=|\u003c=|=|\u003e|\u003c|:)"}]},"operators":{"patterns":[{"name":"keyword.other.cmd","match":"(?i)[*](CAT|TCAT|BCAT|AND|OR|NOT|EQ|GT|LT|GE|LE|NE|NG|NL)(?![a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ])"}]},"strings":{"patterns":[{"name":"string.other.cmd.hex","begin":"(?i)x'","end":"'"},{"name":"string.quoted.single.cmd","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.cmd","match":"\\\\."}]}]},"support":{"patterns":[{"name":"support.function.cmd","match":"[a-zA-Z_][a-zA-Z0-9_]*(?=\\()"}]},"variables":{"patterns":[{"name":"variable.parameter.cmd","match":"[\u0026][a-zA-Z_@#$§ÆØÅÄ֣ѥàÐŞİ][a-zA-Z0-9_@#$§ÆØÅÄ֣ѥàÐŞİ]*"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"CMHG","scopeName":"source.cmhg","patterns":[{"include":"#comment"},{"include":"#preprocessor"},{"name":"keyword.other.declaration.cmhg","match":"(?\u003c![-\\w])[a-z]+(?:-[a-z]+)*:"},{"name":"string.quoted.double.cmhg","match":"\"[^\"]*\""},{"name":"constant.numeric.hex.cmhg","match":"(?:\u0026|0[xX])[0-9A-Fa-f]+"},{"name":"constant.numeric.decimal.cmhg","match":"\\b\\d+\\b"},{"name":"entity.name.cmhg","match":"[A-Za-z_]\\w*"},{"name":"punctuation.separator.cmhg","match":","},{"name":"punctuation.separator.veneer.cmhg","match":"/"},{"name":"punctuation.section.parens.cmhg","match":"[()]"}],"repository":{"comment":{"name":"comment.line.semicolon.cmhg","match":";.*$"},"preprocessor":{"name":"meta.preprocessor.cmhg","begin":"^\\s*(#)\\s*(\\w*)","end":"(?\u003c!\\\\)$","patterns":[{"name":"string.quoted.other.cmhg","match":"\"[^\"]*\"|\u003c[^\u003e]*\u003e"}],"beginCaptures":{"1":{"name":"punctuation.definition.directive.cmhg"},"2":{"name":"keyword.control.directive.preprocessor.cmhg"}}}}}
@@ -1 +1 @@
1
- {"scopeName":"source.comment-string.wesl","patterns":[{"begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts, punctuation.definition.string.template.begin.ts"}},"endCaptures":{"0":{"name":"string.template.ts, punctuation.definition.string.template.end.ts"}}},{"begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(b?r?)(#*)(\")","end":"(\")(\\3)","patterns":[{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"string.quoted.byte.raw.rust"},"3":{"name":"string.raw.rust"},"4":{"name":"string.rust"}},"endCaptures":{"1":{"name":"string.rust"},"2":{"name":"string.raw.rust"}}},{"begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(\")","end":"(\")","patterns":[{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function"}}}]}
1
+ {"scopeName":"source.comment-string.wesl","patterns":[{"contentName":"meta.embedded.block.wesl","begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts, punctuation.definition.string.template.begin.ts"}},"endCaptures":{"0":{"name":"string.template.ts, punctuation.definition.string.template.end.ts"}}},{"contentName":"meta.embedded.block.wesl","begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(b?r?)(#*)(\")","end":"(\")(\\3)","patterns":[{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"string.quoted.byte.raw.rust"},"3":{"name":"string.raw.rust"},"4":{"name":"string.rust"}},"endCaptures":{"1":{"name":"string.rust"},"2":{"name":"string.raw.rust"}}},{"contentName":"meta.embedded.block.wesl","begin":"(\\s?/\\*\\s?(?i:wesl)\\s?\\*/\\s*)(\")","end":"(\")","patterns":[{"include":"source.wesl"}],"beginCaptures":{"1":{"name":"entity.name.function"}}}]}
@@ -1 +1 @@
1
- {"scopeName":"source.comment-string.wgsl","patterns":[{"begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts, punctuation.definition.string.template.begin.ts"}},"endCaptures":{"0":{"name":"string.template.ts, punctuation.definition.string.template.end.ts"}}},{"begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(b?r?)(#*)(\")","end":"(\")(\\3)","patterns":[{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"string.quoted.byte.raw.rust"},"3":{"name":"string.raw.rust"},"4":{"name":"string.rust"}},"endCaptures":{"1":{"name":"string.rust"},"2":{"name":"string.raw.rust"}}},{"begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(\")","end":"(\")","patterns":[{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function"}}}]}
1
+ {"scopeName":"source.comment-string.wgsl","patterns":[{"contentName":"meta.embedded.block.wgsl","begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"},"2":{"name":"string.template.ts, punctuation.definition.string.template.begin.ts"}},"endCaptures":{"0":{"name":"string.template.ts, punctuation.definition.string.template.end.ts"}}},{"contentName":"meta.embedded.block.wgsl","begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(b?r?)(#*)(\")","end":"(\")(\\3)","patterns":[{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function.rust"},"2":{"name":"string.quoted.byte.raw.rust"},"3":{"name":"string.raw.rust"},"4":{"name":"string.rust"}},"endCaptures":{"1":{"name":"string.rust"},"2":{"name":"string.raw.rust"}}},{"contentName":"meta.embedded.block.wgsl","begin":"(\\s?/\\*\\s?(?i:wgsl)\\s?\\*/\\s*)(\")","end":"(\")","patterns":[{"include":"source.wgsl"}],"beginCaptures":{"1":{"name":"entity.name.function"}}}]}
@@ -0,0 +1 @@
1
+ {"name":"compact","scopeName":"source.compact","patterns":[{"include":"#keywords"},{"include":"#strings"},{"include":"#numbers"},{"include":"#comments"},{"include":"#support"}],"repository":{"comments":{"patterns":[{"name":"comment.block.empty.compact","match":"(/\\*)(\\*/)","captures":{"1":{"name":"punctuation.definition.comment.begin.compact"},"2":{"name":"punctuation.definition.comment.end.compact"}}},{"name":"comment.block.compact","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.compact"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.compact"}}},{"name":"comment.line.double-slash.compact","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.compact"}}}]},"keywords":{"patterns":[{"name":"keyword.control.compact","match":"\\b(as|assert|circuit|constructor|const|contract|default|disclose|else|emit|enum|fold|for|if|implements|include|ledger|map|new|of|pad|pragma|return|struct|type|witness|pure|sealed|slice)\\b"},{"name":"keyword.control.import.compact","match":"\\b(import|from|module|export|prefix)\\b"},{"name":"constant.language.boolean.compact","match":"\\b(true|false)\\b"},{"name":"keyword.reserved.compact","match":"\\b(this|await|break|case|catch|class|continue|debugger|delete|do|extends|finally|function|in|instanceof|null|super|switch|throw|try|typeof|var|void|while|with|yield|implements|interface|package|private|protected|public|let|static)\\b"}]},"numbers":{"patterns":[{"name":"constant.numeric.hex.compact","match":"\\b(?\u003c!\\$)0(x|X)[0-9a-fA-F]+\\b(?!\\$)"},{"name":"constant.numeric.binary.compact","match":"\\b(?\u003c!\\$)0(b|B)[01]+\\b(?!\\$)"},{"name":"constant.numeric.octal.compact","match":"\\b(?\u003c!\\$)0(o|O)?[0-7]+\\b(?!\\$)"},{"match":"(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # 1.1E+3\n (?:\\b[0-9]+(\\.)[eE][+-]?[0-9]+\\b)| # 1.E+3\n (?:\\B(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # .1E+3\n (?:\\b[0-9]+[eE][+-]?[0-9]+\\b)| # 1E+3\n (?:\\b[0-9]+(\\.)[0-9]+\\b)| # 1.1\n (?:\\b[0-9]+(\\.)\\B)| # 1.\n (?:\\B(\\.)[0-9]+\\b)| # .1\n (?:\\b[0-9]+\\b(?!\\.)) # 1\n)(?!\\$)","captures":{"0":{"name":"constant.numeric.decimal.compact"},"1":{"name":"meta.delimiter.decimal.period.compact"},"2":{"name":"meta.delimiter.decimal.period.compact"},"3":{"name":"meta.delimiter.decimal.period.compact"},"4":{"name":"meta.delimiter.decimal.period.compact"},"5":{"name":"meta.delimiter.decimal.period.compact"},"6":{"name":"meta.delimiter.decimal.period.compact"}}}]},"strings":{"name":"string.quoted.double.compact","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.compact","match":"\\\\."}]},"support":{"patterns":[{"name":"support.class.compact","match":"\\b(Bytes|Boolean|Field|Opaque|Uint|Vector)\\b"}]}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"source.cram","patterns":[{"match":"^ (\\$|\u003e) (.*)$","captures":{"1":{"name":"keyword.operator.cram"},"2":{"name":"source.cram","patterns":[{"include":"#escape"},{"include":"#strings"}]}}},{"match":"^ (\\*\\*\\*\\*\\*[[:space:]]UNREACHABLE[[:space:]]\\*\\*\\*\\*\\*)$","captures":{"1":{"name":"invalid.unreachable.cram"}}},{"match":"^ (.*) \\((re)\\)$","captures":{"1":{"name":"string.other.cram","patterns":[{"include":"#regex"}]},"2":{"name":"keyword.other.cram"}}},{"match":"^ (.*) \\((glob)\\)$","captures":{"1":{"name":"string.other.cram","patterns":[{"include":"#glob"}]},"2":{"name":"keyword.other.cram"}}},{"match":"^ (.*) \\((no-eol)\\)$","captures":{"1":{"name":"string.other.cram"},"2":{"name":"keyword.other.cram"}}},{"match":"^ (.*) \\((esc)\\)$","captures":{"1":{"name":"string.other.cram","patterns":[{"include":"#escape"}]},"2":{"name":"keyword.other.cram"}}},{"match":"^ (.*)$","captures":{"1":{"name":"string.other.cram"}}},{"name":"comment.line.cram","match":"^.*$"}],"repository":{"escape":{"patterns":[{"name":"constant.character.escape.cram","match":"\\\\0[[:digit:]]+"},{"name":"constant.character.escape.cram","match":"\\\\x[[:xdigit:]]{2}"},{"name":"constant.character.escape.cram","match":"\\\\."}]},"glob":{"patterns":[{"name":"keyword.other.cram","match":"[*?]"},{"name":"keyword.other.cram","match":"\\\\[*?\\\\]"}]},"regex":{"patterns":[{"name":"keyword.other.regex","match":"\\\\."},{"name":"keyword.other.regex","match":"[|^$]"},{"contentName":"source.regex","begin":"\\[\\^?","end":"\\]","patterns":[{"name":"keyword.other.regex","match":"-"}],"beginCaptures":{"0":{"name":"keyword.other.regex"}},"endCaptures":{"0":{"name":"keyword.other.regex"}}},{"contentName":"source.regex","begin":"\\((\\?[:=!])?","end":"\\)","patterns":[{"include":"#regex"}],"beginCaptures":{"0":{"name":"keyword.other.regex"}},"endCaptures":{"0":{"name":"keyword.other.regex"}}},{"contentName":"source.regex","begin":"{","end":"}","patterns":[{"name":"constant.numeric.decimal.integer.regex","match":"[[:digit:]]+"}],"beginCaptures":{"0":{"name":"keyword.other.regex"}},"endCaptures":{"0":{"name":"keyword.other.regex"}}}]},"strings":{"patterns":[{"name":"string.quoted.double.cram","begin":"\"","end":"\"|$","patterns":[{"include":"#escape"}]},{"name":"string.quoted.single.cram","begin":"'","end":"'|$","patterns":[{"include":"#escape"}]}]}}}