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.
- checksums.yaml +4 -4
- data/grammars/documentation.markdown.injection.haxe.json +1 -1
- data/grammars/gno.mod.json +1 -0
- data/grammars/inline.hbs.json +1 -1
- data/grammars/inline.template.json +1 -1
- data/grammars/markdown.glimmer.codeblock.json +1 -1
- data/grammars/markdown.goose.codeblock.json +1 -0
- data/grammars/markdown.nextflow.codeblock.json +1 -0
- data/grammars/markdown.ocaml.codeblock.json +1 -0
- data/grammars/markdown.reason.codeblock.json +1 -0
- data/grammars/markdown.roc.codeblock.json +1 -0
- data/grammars/nextflow.interpolation.injection.json +1 -0
- data/grammars/nextflow.script.injection.json +1 -0
- data/grammars/source.abl.json +1 -1
- data/grammars/source.abnf.json +1 -1
- data/grammars/source.action.menhir.json +1 -0
- data/grammars/source.aleo.json +1 -0
- data/grammars/source.ampl.dat.json +1 -0
- data/grammars/source.ampl.json +1 -1
- data/grammars/source.apl.json +1 -1
- data/grammars/source.armasm.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.astylerc.json +1 -0
- data/grammars/source.atd.json +1 -0
- data/grammars/source.avisynth.json +1 -0
- data/grammars/source.baml.json +1 -1
- data/grammars/source.bbcbasic.json +1 -0
- data/grammars/source.bend.json +1 -0
- data/grammars/source.bird2.json +1 -0
- data/grammars/source.blueprint.json +1 -0
- data/grammars/source.bnd.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.c++.json +1 -1
- data/grammars/source.c.json +1 -1
- data/grammars/source.c3.json +1 -1
- data/grammars/source.carbon.json +1 -0
- data/grammars/source.cedar.json +1 -0
- data/grammars/source.cj.json +1 -1
- data/grammars/source.cl.json +1 -1
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cmake.json +1 -1
- data/grammars/source.cmd.json +1 -1
- data/grammars/source.cmhg.json +1 -0
- data/grammars/source.comment-string.wesl.json +1 -1
- data/grammars/source.comment-string.wgsl.json +1 -1
- data/grammars/source.compact.json +1 -0
- data/grammars/source.cram.json +1 -0
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csswg.json +1 -1
- data/grammars/source.cue.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.dataflex.json +1 -0
- data/grammars/source.dax.json +1 -0
- data/grammars/source.dds.dspf.json +1 -1
- data/grammars/source.dds.icff.json +1 -1
- data/grammars/source.dds.lf.json +1 -1
- data/grammars/source.dds.pf.json +1 -1
- data/grammars/source.dds.prtf.json +1 -1
- data/grammars/source.deq.json +1 -0
- data/grammars/source.ditroff.desc.json +1 -1
- data/grammars/source.dm.json +1 -1
- data/grammars/source.dml.json +1 -0
- data/grammars/source.dune-project.json +1 -0
- data/grammars/source.dune-workspace.json +1 -0
- data/grammars/source.dune.json +1 -1
- data/grammars/source.easycrypt.json +1 -0
- data/grammars/source.emacs.lisp.json +1 -1
- data/grammars/source.env-spec.json +1 -0
- data/grammars/source.erlang.json +1 -1
- data/grammars/source.ets.json +1 -0
- data/grammars/source.fift.json +1 -0
- data/grammars/source.flix.json +1 -1
- data/grammars/source.fpp.json +1 -0
- data/grammars/source.func.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gedcom.json +1 -1
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gjs.json +1 -1
- data/grammars/source.gno.json +1 -0
- data/grammars/source.goose.json +1 -0
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.gts.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.hxml.json +1 -1
- data/grammars/source.ice.json +1 -1
- data/grammars/source.ifc.json +1 -0
- data/grammars/source.indent-profile.json +1 -0
- data/grammars/source.ink.json +1 -1
- data/grammars/source.jac.json +1 -1
- data/grammars/source.jass.json +1 -0
- data/grammars/source.julia.console.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kcl.json +1 -1
- data/grammars/source.kerml.json +1 -0
- data/grammars/source.koka.json +1 -1
- data/grammars/source.leo.json +1 -1
- data/grammars/source.liquidsoap.json +1 -1
- data/grammars/source.lobster.json +1 -0
- data/grammars/source.logos.json +1 -1
- data/grammars/source.lsf.json +1 -0
- data/grammars/source.luau.json +1 -1
- data/grammars/source.lumscript.json +1 -0
- data/grammars/source.m2.json +1 -1
- data/grammars/source.maple.json +1 -0
- data/grammars/source.metafont.json +1 -0
- data/grammars/source.metapost.json +1 -0
- data/grammars/source.mi.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.mojo.json +1 -1
- data/grammars/source.moonbit.config.json +1 -1
- data/grammars/source.moonbit.json +1 -1
- data/grammars/source.ms.json +1 -0
- data/grammars/source.nextflow-config.json +1 -0
- data/grammars/source.nextflow-groovy.json +1 -1
- data/grammars/source.nextflow-log.json +1 -0
- data/grammars/source.nextflow.json +1 -1
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nushell.json +1 -1
- data/grammars/source.ocaml.META.json +1 -0
- data/grammars/source.ocaml.interface.json +1 -0
- data/grammars/source.ocaml.json +1 -1
- data/grammars/source.ocaml.menhir.json +1 -0
- data/grammars/source.ocaml.merlin.json +1 -0
- data/grammars/source.ocaml.mlx.json +1 -0
- data/grammars/source.ocaml.oasis.json +1 -0
- data/grammars/source.ocaml.ocamlbuild.json +1 -0
- data/grammars/source.ocaml.ocamldoc.json +1 -0
- data/grammars/source.ocaml.ocamlformat.json +1 -0
- data/grammars/source.ocaml.ocamllex.json +1 -0
- data/grammars/source.ocaml.opam-install.json +1 -0
- data/grammars/source.ocaml.opam.json +1 -0
- data/grammars/source.openqasm.json +1 -1
- data/grammars/source.opy.json +1 -1
- data/grammars/source.paperspecs.json +1 -0
- data/grammars/source.pkl.json +1 -1
- data/grammars/source.pl.json +1 -0
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.quint.json +1 -1
- data/grammars/source.rarlist.json +1 -0
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rascript.json +1 -1
- data/grammars/source.reason.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.rhai.json +1 -0
- data/grammars/source.roc.json +1 -1
- data/grammars/source.ron.json +1 -1
- data/grammars/source.rpg.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rpm-spec.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.skip.json +1 -0
- data/grammars/source.skript.json +1 -0
- data/grammars/source.slice.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.spicedb.json +1 -1
- data/grammars/source.stim.json +1 -0
- data/grammars/source.surrealql.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.sysml.json +1 -0
- data/grammars/source.tablegen.json +1 -0
- data/grammars/source.tasm.json +1 -0
- data/grammars/source.tlb.json +1 -0
- data/grammars/source.tolk.json +1 -0
- data/grammars/source.tsp.json +1 -1
- data/grammars/source.tsq.json +1 -0
- data/grammars/source.tsrx.json +1 -0
- data/grammars/source.ucode-template.json +1 -0
- data/grammars/source.ucode.json +1 -0
- data/grammars/source.uiua.json +1 -0
- data/grammars/source.vento.json +1 -1
- data/grammars/source.verse.json +1 -0
- data/grammars/source.veryl.json +1 -0
- data/grammars/source.vespaSchema.json +1 -0
- data/grammars/source.vespaYQL.json +1 -0
- data/grammars/source.vhs.json +1 -0
- data/grammars/source.vim9.json +1 -0
- data/grammars/source.wdl.json +1 -1
- data/grammars/source.webassembly.json +1 -1
- data/grammars/source.wesl.json +1 -1
- data/grammars/source.wgsl.json +1 -1
- data/grammars/source.yaml.salt.json +1 -1
- data/grammars/text.bbcode.json +1 -0
- data/grammars/text.html.cobmd.json +1 -0
- data/grammars/text.html.ember-handlebars.json +1 -1
- data/grammars/text.html.handlebars.json +1 -1
- data/grammars/text.html.jte.json +1 -1
- data/grammars/text.html.markdown.json +1 -0
- data/grammars/text.html.pfm.json +1 -0
- data/grammars/text.html.ss.json +1 -0
- data/grammars/text.html.statamic.json +1 -1
- data/grammars/text.marko.json +1 -1
- data/grammars/text.recfile.json +1 -0
- data/grammars/text.roff.json +1 -1
- data/grammars/text.valve-cfg.json +1 -1
- data/grammars/text.vtt.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/blob_helper.rb +21 -2
- data/lib/linguist/documentation.yml +3 -0
- data/lib/linguist/generated.rb +99 -8
- data/lib/linguist/generic.yml +3 -0
- data/lib/linguist/heuristics.yml +239 -62
- data/lib/linguist/language.rb +5 -9
- data/lib/linguist/languages.yml +610 -30
- data/lib/linguist/languages_data.rb +7965 -0
- data/lib/linguist/lazy_blob.rb +6 -1
- data/lib/linguist/samples.rb +4 -10
- data/lib/linguist/samples_data.rb +203998 -0
- data/lib/linguist/strategy/modeline.rb +0 -1
- data/lib/linguist/vendor.yml +3 -0
- metadata +95 -25
- data/grammars/markdown.bicep.codeblock.json +0 -1
- data/grammars/source.baml-jinja.json +0 -1
- data/grammars/source.camlp4.ocaml.json +0 -1
- data/grammars/source.ocamllex.json +0 -1
- data/grammars/source.ocamlyacc.json +0 -1
- data/grammars/source.reason.hover.type.json +0 -1
- data/grammars/source.scm.json +0 -1
- data/grammars/text.plain.json +0 -1
- data/lib/linguist/languages.json +0 -1
- data/lib/linguist/samples.json +0 -1
data/grammars/source.cmd.json
CHANGED
|
@@ -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)
|
|
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"}]}]}}}
|