From 1d0ef1d197d6146b7309f8c05611da46e679fae4 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 13 Sep 2023 16:31:36 +0200 Subject: [PATCH] Change to use export map --- lib/all.js | 1173 +++++++++-------- lib/common.js | 71 +- ...ruma.fetch.js => get-oniguruma.default.js} | 0 lib/{get-oniguruma.js => get-oniguruma.fs.js} | 0 lib/index.js | 12 +- package.json | 14 +- readme.md | 56 +- script/build.js | 19 +- script/preview.js | 2 +- test.js | 38 +- 10 files changed, 711 insertions(+), 674 deletions(-) rename lib/{get-oniguruma.fetch.js => get-oniguruma.default.js} (100%) rename lib/{get-oniguruma.js => get-oniguruma.fs.js} (100%) diff --git a/lib/all.js b/lib/all.js index 1deebcd..2771851 100644 --- a/lib/all.js +++ b/lib/all.js @@ -2,592 +2,592 @@ * @typedef {import('./index.js').Grammar} Grammar */ -import configXcompose from '../lang/config.xcompose.js' -import etc from '../lang/etc.js' -import fileLasso from '../lang/file.lasso.js' -import goMod from '../lang/go.mod.js' -import goSum from '../lang/go.sum.js' -import injectionsEtc from '../lang/injections.etc.js' -import objdumpX6asm from '../lang/objdump.x86asm.js' -import source2da from '../lang/source.2da.js' -import source4dm from '../lang/source.4dm.js' -import sourceAbap from '../lang/source.abap.js' -import sourceAbapcds from '../lang/source.abapcds.js' -import sourceAbl from '../lang/source.abl.js' -import sourceAbnf from '../lang/source.abnf.js' -import sourceActionscript3 from '../lang/source.actionscript.3.js' -import sourceAda from '../lang/source.ada.js' -import sourceAfm from '../lang/source.afm.js' -import sourceAgc from '../lang/source.agc.js' -import sourceAgda from '../lang/source.agda.js' -import sourceAhk from '../lang/source.ahk.js' -import sourceAidl from '../lang/source.aidl.js' -import sourceAl from '../lang/source.al.js' -import sourceAlloy from '../lang/source.alloy.js' -import sourceAmpl from '../lang/source.ampl.js' -import sourceAngelscript from '../lang/source.angelscript.js' -import sourceAntlr from '../lang/source.antlr.js' -import sourceApacheConfig from '../lang/source.apache-config.js' -import sourceApex from '../lang/source.apex.js' -import sourceApl from '../lang/source.apl.js' -import sourceApplescript from '../lang/source.applescript.js' -import sourceArr from '../lang/source.arr.js' -import sourceAsl from '../lang/source.asl.js' -import sourceAsn from '../lang/source.asn.js' -import sourceAsp from '../lang/source.asp.js' -import sourceAspectj from '../lang/source.aspectj.js' -import sourceAssembly from '../lang/source.assembly.js' -import sourceAstro from '../lang/source.astro.js' -import sourceAts from '../lang/source.ats.js' -import sourceAutoit from '../lang/source.autoit.js' -import sourceAvro from '../lang/source.avro.js' -import sourceAwk from '../lang/source.awk.js' -import sourceBallerina from '../lang/source.ballerina.js' -import sourceBasic from '../lang/source.basic.js' -import sourceBatchfile from '../lang/source.batchfile.js' -import sourceBdf from '../lang/source.bdf.js' -import sourceBefunge from '../lang/source.befunge.js' -import sourceBerry from '../lang/source.berry.js' -import sourceBf from '../lang/source.bf.js' -import sourceBicep from '../lang/source.bicep.js' -import sourceBlitzmax from '../lang/source.blitzmax.js' -import sourceBoo from '../lang/source.boo.js' -import sourceBoogie from '../lang/source.boogie.js' -import sourceBp from '../lang/source.bp.js' -import sourceBrs from '../lang/source.brs.js' -import sourceBsl from '../lang/source.bsl.js' -import sourceBsv from '../lang/source.bsv.js' -import sourceC from '../lang/source.c.js' -import sourceCpp from '../lang/source.c++.js' -import sourceCEc from '../lang/source.c.ec.js' -import sourceCNwscript from '../lang/source.c.nwscript.js' -import sourceCPlatform from '../lang/source.c.platform.js' -import sourceCabal from '../lang/source.cabal.js' -import sourceCadence from '../lang/source.cadence.js' -import sourceCairo from '../lang/source.cairo.js' -import sourceCamlp4Ocaml from '../lang/source.camlp4.ocaml.js' -import sourceCapnp from '../lang/source.capnp.js' -import sourceCds from '../lang/source.cds.js' -import sourceCeylon from '../lang/source.ceylon.js' -import sourceCfscript from '../lang/source.cfscript.js' -import sourceChangelogsRpmSpec from '../lang/source.changelogs.rpm-spec.js' -import sourceChapel from '../lang/source.chapel.js' -import sourceCil from '../lang/source.cil.js' -import sourceCircom from '../lang/source.circom.js' -import sourceCirru from '../lang/source.cirru.js' -import sourceClar from '../lang/source.clar.js' -import sourceClarion from '../lang/source.clarion.js' -import sourceClean from '../lang/source.clean.js' -import sourceClick from '../lang/source.click.js' -import sourceClips from '../lang/source.clips.js' -import sourceClojure from '../lang/source.clojure.js' -import sourceCmake from '../lang/source.cmake.js' -import sourceCobol from '../lang/source.cobol.js' -import sourceCoffee from '../lang/source.coffee.js' -import sourceCool from '../lang/source.cool.js' -import sourceCoq from '../lang/source.coq.js' -import sourceCrystal from '../lang/source.crystal.js' -import sourceCs from '../lang/source.cs.js' -import sourceCsound from '../lang/source.csound.js' -import sourceCsoundDocument from '../lang/source.csound-document.js' -import sourceCsoundScore from '../lang/source.csound-score.js' -import sourceCss from '../lang/source.css.js' -import sourceCssLess from '../lang/source.css.less.js' -import sourceCssMss from '../lang/source.css.mss.js' -import sourceCssPostcssSugarss from '../lang/source.css.postcss.sugarss.js' -import sourceCssScss from '../lang/source.css.scss.js' -import sourceCsswg from '../lang/source.csswg.js' -import sourceCudaCpp from '../lang/source.cuda-c++.js' -import sourceCue from '../lang/source.cue.js' -import sourceCuesheet from '../lang/source.cuesheet.js' -import sourceCurlrc from '../lang/source.curlrc.js' -import sourceCurry from '../lang/source.curry.js' -import sourceCwl from '../lang/source.cwl.js' -import sourceCypher from '../lang/source.cypher.js' -import sourceCython from '../lang/source.cython.js' -import sourceD from '../lang/source.d.js' -import sourceD2 from '../lang/source.d2.js' -import sourceDart from '../lang/source.dart.js' -import sourceDataWeave from '../lang/source.data-weave.js' -import sourceDebControl from '../lang/source.deb-control.js' -import sourceDenizenscript from '../lang/source.denizenscript.js' -import sourceDesktop from '../lang/source.desktop.js' -import sourceDiff from '../lang/source.diff.js' -import sourceDircolors from '../lang/source.dircolors.js' -import sourceDitroff from '../lang/source.ditroff.js' -import sourceDitroffDesc from '../lang/source.ditroff.desc.js' -import sourceDm from '../lang/source.dm.js' -import sourceDockerfile from '../lang/source.dockerfile.js' -import sourceDot from '../lang/source.dot.js' -import sourceDotenv from '../lang/source.dotenv.js' -import sourceDylan from '../lang/source.dylan.js' -import sourceEarthfile from '../lang/source.earthfile.js' -import sourceEbnf from '../lang/source.ebnf.js' -import sourceEcl from '../lang/source.ecl.js' -import sourceEditorconfig from '../lang/source.editorconfig.js' -import sourceEiffel from '../lang/source.eiffel.js' -import sourceElixir from '../lang/source.elixir.js' -import sourceElm from '../lang/source.elm.js' -import sourceElvish from '../lang/source.elvish.js' -import sourceElvishTranscript from '../lang/source.elvish-transcript.js' -import sourceEmacsLisp from '../lang/source.emacs.lisp.js' -import sourceErlang from '../lang/source.erlang.js' -import sourceEuphoria from '../lang/source.euphoria.js' -import sourceFactor from '../lang/source.factor.js' -import sourceFan from '../lang/source.fan.js' -import sourceFancy from '../lang/source.fancy.js' -import sourceFaust from '../lang/source.faust.js' -import sourceFigfont from '../lang/source.figfont.js' -import sourceFirestore from '../lang/source.firestore.js' -import sourceFish from '../lang/source.fish.js' -import sourceFnl from '../lang/source.fnl.js' -import sourceFontdir from '../lang/source.fontdir.js' -import sourceFontforge from '../lang/source.fontforge.js' -import sourceForth from '../lang/source.forth.js' -import sourceFortran from '../lang/source.fortran.js' -import sourceFortranModern from '../lang/source.fortran.modern.js' -import sourceFsharp from '../lang/source.fsharp.js' -import sourceFstar from '../lang/source.fstar.js' -import sourceFtl from '../lang/source.ftl.js' -import sourceFuthark from '../lang/source.futhark.js' -import sourceGap from '../lang/source.gap.js' -import sourceGcode from '../lang/source.gcode.js' -import sourceGdb from '../lang/source.gdb.js' -import sourceGdresource from '../lang/source.gdresource.js' -import sourceGdscript from '../lang/source.gdscript.js' -import sourceGedcom from '../lang/source.gedcom.js' -import sourceGemfileLock from '../lang/source.gemfile-lock.js' -import sourceGemini from '../lang/source.gemini.js' -import sourceGenericDb from '../lang/source.generic-db.js' -import sourceGenero from '../lang/source.genero.js' -import sourceGeneroForms from '../lang/source.genero-forms.js' -import sourceGerber from '../lang/source.gerber.js' -import sourceGf from '../lang/source.gf.js' -import sourceGitRevlist from '../lang/source.git-revlist.js' -import sourceGitattributes from '../lang/source.gitattributes.js' -import sourceGitconfig from '../lang/source.gitconfig.js' -import sourceGitignore from '../lang/source.gitignore.js' -import sourceGleam from '../lang/source.gleam.js' -import sourceGlsl from '../lang/source.glsl.js' -import sourceGn from '../lang/source.gn.js' -import sourceGnuplot from '../lang/source.gnuplot.js' -import sourceGo from '../lang/source.go.js' -import sourceGolo from '../lang/source.golo.js' -import sourceGosu2 from '../lang/source.gosu.2.js' -import sourceGrace from '../lang/source.grace.js' -import sourceGraphql from '../lang/source.graphql.js' -import sourceGremlin from '../lang/source.gremlin.js' -import sourceGroovy from '../lang/source.groovy.js' -import sourceGroovyGradle from '../lang/source.groovy.gradle.js' -import sourceGsc from '../lang/source.gsc.js' -import sourceHack from '../lang/source.hack.js' -import sourceHaproxyConfig from '../lang/source.haproxy-config.js' -import sourceHarbour from '../lang/source.harbour.js' -import sourceHaskell from '../lang/source.haskell.js' -import sourceHc from '../lang/source.hc.js' -import sourceHlsl from '../lang/source.hlsl.js' -import sourceHocon from '../lang/source.hocon.js' -import sourceHoon from '../lang/source.hoon.js' -import sourceHosts from '../lang/source.hosts.js' -import sourceHql from '../lang/source.hql.js' -import sourceHttpspec from '../lang/source.httpspec.js' -import sourceHx from '../lang/source.hx.js' -import sourceHxml from '../lang/source.hxml.js' -import sourceHy from '../lang/source.hy.js' -import sourceIdeal from '../lang/source.ideal.js' -import sourceIdl from '../lang/source.idl.js' -import sourceIdris from '../lang/source.idris.js' -import sourceIgor from '../lang/source.igor.js' -import sourceImba from '../lang/source.imba.js' -import sourceInform7 from '../lang/source.inform7.js' -import sourceIni from '../lang/source.ini.js' -import sourceIniNpmrc from '../lang/source.ini.npmrc.js' -import sourceInk from '../lang/source.ink.js' -import sourceInno from '../lang/source.inno.js' -import sourceInputrc from '../lang/source.inputrc.js' -import sourceIo from '../lang/source.io.js' -import sourceIoke from '../lang/source.ioke.js' -import sourceIsabelleRoot from '../lang/source.isabelle.root.js' -import sourceIsabelleTheory from '../lang/source.isabelle.theory.js' -import sourceJ from '../lang/source.j.js' -import sourceJanet from '../lang/source.janet.js' -import sourceJasmin from '../lang/source.jasmin.js' -import sourceJava from '../lang/source.java.js' -import sourceJavaProperties from '../lang/source.java-properties.js' -import sourceJcl from '../lang/source.jcl.js' -import sourceJestSnap from '../lang/source.jest.snap.js' -import sourceJflex from '../lang/source.jflex.js' -import sourceJison from '../lang/source.jison.js' -import sourceJisonlex from '../lang/source.jisonlex.js' -import sourceJolie from '../lang/source.jolie.js' -import sourceJq from '../lang/source.jq.js' -import sourceJs from '../lang/source.js.js' -import sourceJsObjj from '../lang/source.js.objj.js' -import sourceJson from '../lang/source.json.js' -import sourceJsoniq from '../lang/source.jsoniq.js' -import sourceJsonnet from '../lang/source.jsonnet.js' -import sourceJulia from '../lang/source.julia.js' -import sourceJust from '../lang/source.just.js' -import sourceKakscript from '../lang/source.kakscript.js' -import sourceKerboscript from '../lang/source.kerboscript.js' -import sourceKeyvalues from '../lang/source.keyvalues.js' -import sourceKickstart from '../lang/source.kickstart.js' -import sourceKotlin from '../lang/source.kotlin.js' -import sourceKusto from '../lang/source.kusto.js' -import sourceLark from '../lang/source.lark.js' -import sourceLean from '../lang/source.lean.js' -import sourceLex from '../lang/source.lex.js' -import sourceLexRegexp from '../lang/source.lex.regexp.js' -import sourceLigo from '../lang/source.ligo.js' -import sourceLilypond from '../lang/source.lilypond.js' -import sourceLisp from '../lang/source.lisp.js' -import sourceLitcoffee from '../lang/source.litcoffee.js' -import sourceLivescript from '../lang/source.livescript.js' -import sourceLlvm from '../lang/source.llvm.js' -import sourceLogos from '../lang/source.logos.js' -import sourceLogtalk from '../lang/source.logtalk.js' -import sourceLolcode from '../lang/source.lolcode.js' -import sourceLoomscript from '../lang/source.loomscript.js' -import sourceLsl from '../lang/source.lsl.js' -import sourceLtspiceSymbol from '../lang/source.ltspice.symbol.js' -import sourceLua from '../lang/source.lua.js' -import sourceM2 from '../lang/source.m2.js' -import sourceM4 from '../lang/source.m4.js' -import sourceM8k from '../lang/source.m68k.js' -import sourceMakefile from '../lang/source.makefile.js' -import sourceMask from '../lang/source.mask.js' -import sourceMathematica from '../lang/source.mathematica.js' -import sourceMatlab from '../lang/source.matlab.js' -import sourceMaxscript from '../lang/source.maxscript.js' -import sourceMc from '../lang/source.mc.js' -import sourceMcfunction from '../lang/source.mcfunction.js' -import sourceMdx from '../lang/source.mdx.js' -import sourceMercury from '../lang/source.mercury.js' -import sourceMermaid from '../lang/source.mermaid.js' -import sourceMermaidCCDiagram from '../lang/source.mermaid.c4c-diagram.js' -import sourceMermaidClassDiagram from '../lang/source.mermaid.class-diagram.js' -import sourceMermaidErDiagram from '../lang/source.mermaid.er-diagram.js' -import sourceMermaidFlowchart from '../lang/source.mermaid.flowchart.js' -import sourceMermaidGantt from '../lang/source.mermaid.gantt.js' -import sourceMermaidGitgraph from '../lang/source.mermaid.gitgraph.js' -import sourceMermaidMindmap from '../lang/source.mermaid.mindmap.js' -import sourceMermaidPieChart from '../lang/source.mermaid.pie-chart.js' -import sourceMermaidRequirementDiagram from '../lang/source.mermaid.requirement-diagram.js' -import sourceMermaidSequenceDiagram from '../lang/source.mermaid.sequence-diagram.js' -import sourceMermaidStateDiagram from '../lang/source.mermaid.state-diagram.js' -import sourceMermaidUserJourney from '../lang/source.mermaid.user-journey.js' -import sourceMeson from '../lang/source.meson.js' -import sourceMiniyaml from '../lang/source.miniyaml.js' -import sourceMint from '../lang/source.mint.js' -import sourceMl from '../lang/source.ml.js' -import sourceMligo from '../lang/source.mligo.js' -import sourceMlir from '../lang/source.mlir.js' -import sourceMo from '../lang/source.mo.js' -import sourceModelica from '../lang/source.modelica.js' -import sourceModula3 from '../lang/source.modula-3.js' -import sourceModula2 from '../lang/source.modula2.js' -import sourceMonkey from '../lang/source.monkey.js' -import sourceMoonscript from '../lang/source.moonscript.js' -import sourceMove from '../lang/source.move.js' -import sourceMql5 from '../lang/source.mql5.js' -import sourceMsl from '../lang/source.msl.js' -import sourceMupad from '../lang/source.mupad.js' -import sourceNanorc from '../lang/source.nanorc.js' -import sourceNasal from '../lang/source.nasal.js' -import sourceNasl from '../lang/source.nasl.js' -import sourceNcl from '../lang/source.ncl.js' -import sourceNe from '../lang/source.ne.js' -import sourceNemerle from '../lang/source.nemerle.js' -import sourceNeon from '../lang/source.neon.js' -import sourceNesc from '../lang/source.nesc.js' -import sourceNetlinx from '../lang/source.netlinx.js' -import sourceNetlinxErb from '../lang/source.netlinx.erb.js' -import sourceNextflow from '../lang/source.nextflow.js' -import sourceNextflowGroovy from '../lang/source.nextflow-groovy.js' -import sourceNginx from '../lang/source.nginx.js' -import sourceNim from '../lang/source.nim.js' -import sourceNinja from '../lang/source.ninja.js' -import sourceNit from '../lang/source.nit.js' -import sourceNix from '../lang/source.nix.js' -import sourceNsis from '../lang/source.nsis.js' -import sourceNu from '../lang/source.nu.js' -import sourceNunjucks from '../lang/source.nunjucks.js' -import sourceNushell from '../lang/source.nushell.js' -import sourceNut from '../lang/source.nut.js' -import sourceObjc from '../lang/source.objc.js' -import sourceObjcpp from '../lang/source.objc++.js' -import sourceObjcPlatform from '../lang/source.objc.platform.js' -import sourceObjectscript from '../lang/source.objectscript.js' -import sourceObjectscriptMacros from '../lang/source.objectscript_macros.js' -import sourceOcaml from '../lang/source.ocaml.js' -import sourceOdin from '../lang/source.odin.js' -import sourceOdinEhr from '../lang/source.odin-ehr.js' -import sourceOoc from '../lang/source.ooc.js' -import sourceOpa from '../lang/source.opa.js' -import sourceOpal from '../lang/source.opal.js' -import sourceOpentype from '../lang/source.opentype.js' -import sourceOpts from '../lang/source.opts.js' -import sourceOx from '../lang/source.ox.js' -import sourceOz from '../lang/source.oz.js' -import sourceP4 from '../lang/source.p4.js' -import sourcePact from '../lang/source.pact.js' -import sourcePan from '../lang/source.pan.js' -import sourcePapyrusSkyrim from '../lang/source.papyrus.skyrim.js' -import sourceParrotPir from '../lang/source.parrot.pir.js' -import sourcePascal from '../lang/source.pascal.js' -import sourcePawn from '../lang/source.pawn.js' -import sourcePcbBoard from '../lang/source.pcb.board.js' -import sourcePcbSchematic from '../lang/source.pcb.schematic.js' -import sourcePcbSexp from '../lang/source.pcb.sexp.js' -import sourcePddl from '../lang/source.pddl.js' -import sourcePegjs from '../lang/source.pegjs.js' -import sourcePep8 from '../lang/source.pep8.js' -import sourcePerl from '../lang/source.perl.js' -import sourcePhpZephir from '../lang/source.php.zephir.js' -import sourcePic from '../lang/source.pic.js' -import sourcePigLatin from '../lang/source.pig_latin.js' -import sourcePike from '../lang/source.pike.js' -import sourcePlist from '../lang/source.plist.js' -import sourcePo from '../lang/source.po.js' -import sourcePogoscript from '../lang/source.pogoscript.js' -import sourcePolar from '../lang/source.polar.js' -import sourcePony from '../lang/source.pony.js' -import sourcePortugol from '../lang/source.portugol.js' -import sourcePostcss from '../lang/source.postcss.js' -import sourcePostscript from '../lang/source.postscript.js' -import sourcePovRaySdl from '../lang/source.pov-ray sdl.js' -import sourcePowershell from '../lang/source.powershell.js' -import sourcePrisma from '../lang/source.prisma.js' -import sourceProcessing from '../lang/source.processing.js' -import sourceProcfile from '../lang/source.procfile.js' -import sourceProlog from '../lang/source.prolog.js' -import sourcePrologEclipse from '../lang/source.prolog.eclipse.js' -import sourcePromela from '../lang/source.promela.js' -import sourceProto from '../lang/source.proto.js' -import sourcePuppet from '../lang/source.puppet.js' -import sourcePurescript from '../lang/source.purescript.js' -import sourcePython from '../lang/source.python.js' -import sourcePythonKivy from '../lang/source.python.kivy.js' -import sourceQ from '../lang/source.q.js' -import sourceQasm from '../lang/source.qasm.js' -import sourceQl from '../lang/source.ql.js' -import sourceQmake from '../lang/source.qmake.js' -import sourceQml from '../lang/source.qml.js' -import sourceQsharp from '../lang/source.qsharp.js' -import sourceQuake from '../lang/source.quake.js' -import sourceQuotingRaku from '../lang/source.quoting.raku.js' -import sourceR from '../lang/source.r.js' -import sourceRacket from '../lang/source.racket.js' -import sourceRaku from '../lang/source.raku.js' -import sourceRascal from '../lang/source.rascal.js' -import sourceRbs from '../lang/source.rbs.js' -import sourceReason from '../lang/source.reason.js' -import sourceRebol from '../lang/source.rebol.js' -import sourceRecordJar from '../lang/source.record-jar.js' -import sourceRed from '../lang/source.red.js' -import sourceRedirects from '../lang/source.redirects.js' -import sourceReg from '../lang/source.reg.js' -import sourceRegexp from '../lang/source.regexp.js' -import sourceRegexpExtended from '../lang/source.regexp.extended.js' -import sourceRegexpPosix from '../lang/source.regexp.posix.js' -import sourceRegexpPython from '../lang/source.regexp.python.js' -import sourceRego from '../lang/source.rego.js' -import sourceReligo from '../lang/source.religo.js' -import sourceRenpy from '../lang/source.renpy.js' -import sourceRescript from '../lang/source.rescript.js' -import sourceRexx from '../lang/source.rexx.js' -import sourceRez from '../lang/source.rez.js' -import sourceRing from '../lang/source.ring.js' -import sourceRpgle from '../lang/source.rpgle.js' -import sourceRpmSpec from '../lang/source.rpm-spec.js' -import sourceRuby from '../lang/source.ruby.js' -import sourceRust from '../lang/source.rust.js' -import sourceSas from '../lang/source.sas.js' -import sourceSass from '../lang/source.sass.js' -import sourceScad from '../lang/source.scad.js' -import sourceScala from '../lang/source.scala.js' -import sourceScaml from '../lang/source.scaml.js' -import sourceScenic from '../lang/source.scenic.js' -import sourceScheme from '../lang/source.scheme.js' -import sourceScilab from '../lang/source.scilab.js' -import sourceSdbl from '../lang/source.sdbl.js' -import sourceSed from '../lang/source.sed.js' -import sourceSepolicy from '../lang/source.sepolicy.js' -import sourceSfv from '../lang/source.sfv.js' -import sourceShaderlab from '../lang/source.shaderlab.js' -import sourceShell from '../lang/source.shell.js' -import sourceShellcheckrc from '../lang/source.shellcheckrc.js' -import sourceShen from '../lang/source.shen.js' -import sourceSieve from '../lang/source.sieve.js' -import sourceSingularity from '../lang/source.singularity.js' -import sourceSlice from '../lang/source.slice.js' -import sourceSmali from '../lang/source.smali.js' -import sourceSmalltalk from '../lang/source.smalltalk.js' -import sourceSmithy from '../lang/source.smithy.js' -import sourceSmpl from '../lang/source.smpl.js' -import sourceSmt from '../lang/source.smt.js' -import sourceSolidity from '../lang/source.solidity.js' -import sourceSolution from '../lang/source.solution.js' -import sourceSourcepawn from '../lang/source.sourcepawn.js' -import sourceSparql from '../lang/source.sparql.js' -import sourceSpin from '../lang/source.spin.js' -import sourceSqf from '../lang/source.sqf.js' -import sourceSql from '../lang/source.sql.js' -import sourceSshConfig from '../lang/source.ssh-config.js' -import sourceStan from '../lang/source.stan.js' -import sourceStar from '../lang/source.star.js' -import sourceStata from '../lang/source.stata.js' -import sourceStl from '../lang/source.stl.js' -import sourceStringTemplate from '../lang/source.string-template.js' -import sourceStylus from '../lang/source.stylus.js' -import sourceSupercollider from '../lang/source.supercollider.js' -import sourceSvelte from '../lang/source.svelte.js' -import sourceSway from '../lang/source.sway.js' -import sourceSwift from '../lang/source.swift.js' -import sourceSy from '../lang/source.sy.js' -import sourceSystemverilog from '../lang/source.systemverilog.js' -import sourceTalon from '../lang/source.talon.js' -import sourceTcl from '../lang/source.tcl.js' -import sourceTea from '../lang/source.tea.js' -import sourceTerra from '../lang/source.terra.js' -import sourceTerraform from '../lang/source.terraform.js' -import sourceTextproto from '../lang/source.textproto.js' -import sourceThrift from '../lang/source.thrift.js' -import sourceTl from '../lang/source.tl.js' -import sourceTla from '../lang/source.tla.js' -import sourceTlverilog from '../lang/source.tlverilog.js' -import sourceTmProperties from '../lang/source.tm-properties.js' -import sourceToc from '../lang/source.toc.js' -import sourceToml from '../lang/source.toml.js' -import sourceTs from '../lang/source.ts.js' -import sourceTsql from '../lang/source.tsql.js' -import sourceTsx from '../lang/source.tsx.js' -import sourceTuring from '../lang/source.turing.js' -import sourceTurtle from '../lang/source.turtle.js' -import sourceTxl from '../lang/source.txl.js' -import sourceTypst from '../lang/source.typst.js' -import sourceUr from '../lang/source.ur.js' -import sourceV from '../lang/source.v.js' -import sourceVala from '../lang/source.vala.js' -import sourceVarnishVcl from '../lang/source.varnish.vcl.js' -import sourceVba from '../lang/source.vba.js' -import sourceVbnet from '../lang/source.vbnet.js' -import sourceVelocity from '../lang/source.velocity.js' -import sourceVerilog from '../lang/source.verilog.js' -import sourceVhdl from '../lang/source.vhdl.js' -import sourceVimSnippet from '../lang/source.vim-snippet.js' -import sourceViml from '../lang/source.viml.js' -import sourceVyper from '../lang/source.vyper.js' -import sourceWavefrontMtl from '../lang/source.wavefront.mtl.js' -import sourceWavefrontObj from '../lang/source.wavefront.obj.js' -import sourceWdl from '../lang/source.wdl.js' -import sourceWebassembly from '../lang/source.webassembly.js' -import sourceWebidl from '../lang/source.webidl.js' -import sourceWgetrc from '../lang/source.wgetrc.js' -import sourceWgsl from '../lang/source.wgsl.js' -import sourceWhiley from '../lang/source.whiley.js' -import sourceWin2Messages from '../lang/source.win32-messages.js' -import sourceWit from '../lang/source.wit.js' -import sourceWitcherscript from '../lang/source.witcherscript.js' -import sourceWollok from '../lang/source.wollok.js' -import sourceWren from '../lang/source.wren.js' -import sourceWsd from '../lang/source.wsd.js' -import sourceX0 from '../lang/source.x10.js' -import sourceX6 from '../lang/source.x86.js' -import sourceXc from '../lang/source.xc.js' -import sourceXlfd from '../lang/source.xlfd.js' -import sourceXojo from '../lang/source.xojo.js' -import sourceXq from '../lang/source.xq.js' -import sourceXtend from '../lang/source.xtend.js' -import sourceYacc from '../lang/source.yacc.js' -import sourceYaml from '../lang/source.yaml.js' -import sourceYamlSalt from '../lang/source.yaml.salt.js' -import sourceYang from '../lang/source.yang.js' -import sourceYara from '../lang/source.yara.js' -import sourceYasnippet from '../lang/source.yasnippet.js' -import sourceYul from '../lang/source.yul.js' -import sourceZap from '../lang/source.zap.js' -import sourceZeek from '../lang/source.zeek.js' -import sourceZenscript from '../lang/source.zenscript.js' -import sourceZig from '../lang/source.zig.js' -import sourceZil from '../lang/source.zil.js' -import textAdblock from '../lang/text.adblock.js' -import textBibtex from '../lang/text.bibtex.js' -import textBrowserslist from '../lang/text.browserslist.js' -import textCfmlBasic from '../lang/text.cfml.basic.js' -import textChecksums from '../lang/text.checksums.js' -import textCodeowners from '../lang/text.codeowners.js' -import textConllu from '../lang/text.conllu.js' -import textDfyDafny from '../lang/text.dfy.dafny.js' -import textElixir from '../lang/text.elixir.js' -import textEmlBasic from '../lang/text.eml.basic.js' -import textGherkinFeature from '../lang/text.gherkin.feature.js' -import textGrammarkdown from '../lang/text.grammarkdown.js' -import textHaml from '../lang/text.haml.js' -import textHtmlAsciidoc from '../lang/text.html.asciidoc.js' -import textHtmlAsdoc from '../lang/text.html.asdoc.js' -import textHtmlAsp from '../lang/text.html.asp.js' -import textHtmlBasic from '../lang/text.html.basic.js' -import textHtmlCfm from '../lang/text.html.cfm.js' -import textHtmlCreole from '../lang/text.html.creole.js' -import textHtmlCshtml from '../lang/text.html.cshtml.js' -import textHtmlDjango from '../lang/text.html.django.js' -import textHtmlEcmarkup from '../lang/text.html.ecmarkup.js' -import textHtmlEcr from '../lang/text.html.ecr.js' -import textHtmlElixir from '../lang/text.html.elixir.js' -import textHtmlErb from '../lang/text.html.erb.js' -import textHtmlFtl from '../lang/text.html.ftl.js' -import textHtmlHandlebars from '../lang/text.html.handlebars.js' -import textHtmlJavadoc from '../lang/text.html.javadoc.js' -import textHtmlJs from '../lang/text.html.js.js' -import textHtmlJsp from '../lang/text.html.jsp.js' -import textHtmlLiquid from '../lang/text.html.liquid.js' -import textHtmlMako from '../lang/text.html.mako.js' -import textHtmlMarkdownSourceGfmApib from '../lang/text.html.markdown.source.gfm.apib.js' -import textHtmlMarkdownSourceGfmMson from '../lang/text.html.markdown.source.gfm.mson.js' -import textHtmlMediawiki from '../lang/text.html.mediawiki.js' -import textHtmlNunjucks from '../lang/text.html.nunjucks.js' -import textHtmlPhp from '../lang/text.html.php.js' -import textHtmlPhpBlade from '../lang/text.html.php.blade.js' -import textHtmlRiot from '../lang/text.html.riot.js' -import textHtmlSlash from '../lang/text.html.slash.js' -import textHtmlSmarty from '../lang/text.html.smarty.js' -import textHtmlSoy from '../lang/text.html.soy.js' -import textHtmlStatamic from '../lang/text.html.statamic.js' -import textHtmlTwig from '../lang/text.html.twig.js' -import textHtmlVue from '../lang/text.html.vue.js' -import textJade from '../lang/text.jade.js' -import textMarko from '../lang/text.marko.js' -import textMd from '../lang/text.md.js' -import textMuse from '../lang/text.muse.js' -import textPythonConsole from '../lang/text.python.console.js' -import textPythonTraceback from '../lang/text.python.traceback.js' -import textRdoc from '../lang/text.rdoc.js' -import textRestructuredtext from '../lang/text.restructuredtext.js' -import textRobot from '../lang/text.robot.js' -import textRobotsTxt from '../lang/text.robots-txt.js' -import textRoff from '../lang/text.roff.js' -import textRtf from '../lang/text.rtf.js' -import textRunoff from '../lang/text.runoff.js' -import textSfd from '../lang/text.sfd.js' -import textShellSession from '../lang/text.shell-session.js' -import textSlim from '../lang/text.slim.js' -import textSrt from '../lang/text.srt.js' -import textTex from '../lang/text.tex.js' -import textTexLatex from '../lang/text.tex.latex.js' -import textTexLatexHaskell from '../lang/text.tex.latex.haskell.js' -import textTexLatexSweave from '../lang/text.tex.latex.sweave.js' -import textTexinfo from '../lang/text.texinfo.js' -import textVimHelp from '../lang/text.vim-help.js' -import textVtt from '../lang/text.vtt.js' -import textXml from '../lang/text.xml.js' -import textXmlAnt from '../lang/text.xml.ant.js' -import textXmlGenshi from '../lang/text.xml.genshi.js' -import textXmlPlist from '../lang/text.xml.plist.js' -import textXmlPom from '../lang/text.xml.pom.js' -import textXmlSvg from '../lang/text.xml.svg.js' -import textXmlXsl from '../lang/text.xml.xsl.js' -import textZoneFile from '../lang/text.zone_file.js' +import configXcompose from '@wooorm/starry-night/config.xcompose' +import etc from '@wooorm/starry-night/etc' +import fileLasso from '@wooorm/starry-night/file.lasso' +import goMod from '@wooorm/starry-night/go.mod' +import goSum from '@wooorm/starry-night/go.sum' +import injectionsEtc from '@wooorm/starry-night/injections.etc' +import objdumpX6asm from '@wooorm/starry-night/objdump.x86asm' +import source2da from '@wooorm/starry-night/source.2da' +import source4dm from '@wooorm/starry-night/source.4dm' +import sourceAbap from '@wooorm/starry-night/source.abap' +import sourceAbapcds from '@wooorm/starry-night/source.abapcds' +import sourceAbl from '@wooorm/starry-night/source.abl' +import sourceAbnf from '@wooorm/starry-night/source.abnf' +import sourceActionscript3 from '@wooorm/starry-night/source.actionscript.3' +import sourceAda from '@wooorm/starry-night/source.ada' +import sourceAfm from '@wooorm/starry-night/source.afm' +import sourceAgc from '@wooorm/starry-night/source.agc' +import sourceAgda from '@wooorm/starry-night/source.agda' +import sourceAhk from '@wooorm/starry-night/source.ahk' +import sourceAidl from '@wooorm/starry-night/source.aidl' +import sourceAl from '@wooorm/starry-night/source.al' +import sourceAlloy from '@wooorm/starry-night/source.alloy' +import sourceAmpl from '@wooorm/starry-night/source.ampl' +import sourceAngelscript from '@wooorm/starry-night/source.angelscript' +import sourceAntlr from '@wooorm/starry-night/source.antlr' +import sourceApacheConfig from '@wooorm/starry-night/source.apache-config' +import sourceApex from '@wooorm/starry-night/source.apex' +import sourceApl from '@wooorm/starry-night/source.apl' +import sourceApplescript from '@wooorm/starry-night/source.applescript' +import sourceArr from '@wooorm/starry-night/source.arr' +import sourceAsl from '@wooorm/starry-night/source.asl' +import sourceAsn from '@wooorm/starry-night/source.asn' +import sourceAsp from '@wooorm/starry-night/source.asp' +import sourceAspectj from '@wooorm/starry-night/source.aspectj' +import sourceAssembly from '@wooorm/starry-night/source.assembly' +import sourceAstro from '@wooorm/starry-night/source.astro' +import sourceAts from '@wooorm/starry-night/source.ats' +import sourceAutoit from '@wooorm/starry-night/source.autoit' +import sourceAvro from '@wooorm/starry-night/source.avro' +import sourceAwk from '@wooorm/starry-night/source.awk' +import sourceBallerina from '@wooorm/starry-night/source.ballerina' +import sourceBasic from '@wooorm/starry-night/source.basic' +import sourceBatchfile from '@wooorm/starry-night/source.batchfile' +import sourceBdf from '@wooorm/starry-night/source.bdf' +import sourceBefunge from '@wooorm/starry-night/source.befunge' +import sourceBerry from '@wooorm/starry-night/source.berry' +import sourceBf from '@wooorm/starry-night/source.bf' +import sourceBicep from '@wooorm/starry-night/source.bicep' +import sourceBlitzmax from '@wooorm/starry-night/source.blitzmax' +import sourceBoo from '@wooorm/starry-night/source.boo' +import sourceBoogie from '@wooorm/starry-night/source.boogie' +import sourceBp from '@wooorm/starry-night/source.bp' +import sourceBrs from '@wooorm/starry-night/source.brs' +import sourceBsl from '@wooorm/starry-night/source.bsl' +import sourceBsv from '@wooorm/starry-night/source.bsv' +import sourceC from '@wooorm/starry-night/source.c' +import sourceCpp from '@wooorm/starry-night/source.c++' +import sourceCEc from '@wooorm/starry-night/source.c.ec' +import sourceCNwscript from '@wooorm/starry-night/source.c.nwscript' +import sourceCPlatform from '@wooorm/starry-night/source.c.platform' +import sourceCabal from '@wooorm/starry-night/source.cabal' +import sourceCadence from '@wooorm/starry-night/source.cadence' +import sourceCairo from '@wooorm/starry-night/source.cairo' +import sourceCamlp4Ocaml from '@wooorm/starry-night/source.camlp4.ocaml' +import sourceCapnp from '@wooorm/starry-night/source.capnp' +import sourceCds from '@wooorm/starry-night/source.cds' +import sourceCeylon from '@wooorm/starry-night/source.ceylon' +import sourceCfscript from '@wooorm/starry-night/source.cfscript' +import sourceChangelogsRpmSpec from '@wooorm/starry-night/source.changelogs.rpm-spec' +import sourceChapel from '@wooorm/starry-night/source.chapel' +import sourceCil from '@wooorm/starry-night/source.cil' +import sourceCircom from '@wooorm/starry-night/source.circom' +import sourceCirru from '@wooorm/starry-night/source.cirru' +import sourceClar from '@wooorm/starry-night/source.clar' +import sourceClarion from '@wooorm/starry-night/source.clarion' +import sourceClean from '@wooorm/starry-night/source.clean' +import sourceClick from '@wooorm/starry-night/source.click' +import sourceClips from '@wooorm/starry-night/source.clips' +import sourceClojure from '@wooorm/starry-night/source.clojure' +import sourceCmake from '@wooorm/starry-night/source.cmake' +import sourceCobol from '@wooorm/starry-night/source.cobol' +import sourceCoffee from '@wooorm/starry-night/source.coffee' +import sourceCool from '@wooorm/starry-night/source.cool' +import sourceCoq from '@wooorm/starry-night/source.coq' +import sourceCrystal from '@wooorm/starry-night/source.crystal' +import sourceCs from '@wooorm/starry-night/source.cs' +import sourceCsound from '@wooorm/starry-night/source.csound' +import sourceCsoundDocument from '@wooorm/starry-night/source.csound-document' +import sourceCsoundScore from '@wooorm/starry-night/source.csound-score' +import sourceCss from '@wooorm/starry-night/source.css' +import sourceCssLess from '@wooorm/starry-night/source.css.less' +import sourceCssMss from '@wooorm/starry-night/source.css.mss' +import sourceCssPostcssSugarss from '@wooorm/starry-night/source.css.postcss.sugarss' +import sourceCssScss from '@wooorm/starry-night/source.css.scss' +import sourceCsswg from '@wooorm/starry-night/source.csswg' +import sourceCudaCpp from '@wooorm/starry-night/source.cuda-c++' +import sourceCue from '@wooorm/starry-night/source.cue' +import sourceCuesheet from '@wooorm/starry-night/source.cuesheet' +import sourceCurlrc from '@wooorm/starry-night/source.curlrc' +import sourceCurry from '@wooorm/starry-night/source.curry' +import sourceCwl from '@wooorm/starry-night/source.cwl' +import sourceCypher from '@wooorm/starry-night/source.cypher' +import sourceCython from '@wooorm/starry-night/source.cython' +import sourceD from '@wooorm/starry-night/source.d' +import sourceD2 from '@wooorm/starry-night/source.d2' +import sourceDart from '@wooorm/starry-night/source.dart' +import sourceDataWeave from '@wooorm/starry-night/source.data-weave' +import sourceDebControl from '@wooorm/starry-night/source.deb-control' +import sourceDenizenscript from '@wooorm/starry-night/source.denizenscript' +import sourceDesktop from '@wooorm/starry-night/source.desktop' +import sourceDiff from '@wooorm/starry-night/source.diff' +import sourceDircolors from '@wooorm/starry-night/source.dircolors' +import sourceDitroff from '@wooorm/starry-night/source.ditroff' +import sourceDitroffDesc from '@wooorm/starry-night/source.ditroff.desc' +import sourceDm from '@wooorm/starry-night/source.dm' +import sourceDockerfile from '@wooorm/starry-night/source.dockerfile' +import sourceDot from '@wooorm/starry-night/source.dot' +import sourceDotenv from '@wooorm/starry-night/source.dotenv' +import sourceDylan from '@wooorm/starry-night/source.dylan' +import sourceEarthfile from '@wooorm/starry-night/source.earthfile' +import sourceEbnf from '@wooorm/starry-night/source.ebnf' +import sourceEcl from '@wooorm/starry-night/source.ecl' +import sourceEditorconfig from '@wooorm/starry-night/source.editorconfig' +import sourceEiffel from '@wooorm/starry-night/source.eiffel' +import sourceElixir from '@wooorm/starry-night/source.elixir' +import sourceElm from '@wooorm/starry-night/source.elm' +import sourceElvish from '@wooorm/starry-night/source.elvish' +import sourceElvishTranscript from '@wooorm/starry-night/source.elvish-transcript' +import sourceEmacsLisp from '@wooorm/starry-night/source.emacs.lisp' +import sourceErlang from '@wooorm/starry-night/source.erlang' +import sourceEuphoria from '@wooorm/starry-night/source.euphoria' +import sourceFactor from '@wooorm/starry-night/source.factor' +import sourceFan from '@wooorm/starry-night/source.fan' +import sourceFancy from '@wooorm/starry-night/source.fancy' +import sourceFaust from '@wooorm/starry-night/source.faust' +import sourceFigfont from '@wooorm/starry-night/source.figfont' +import sourceFirestore from '@wooorm/starry-night/source.firestore' +import sourceFish from '@wooorm/starry-night/source.fish' +import sourceFnl from '@wooorm/starry-night/source.fnl' +import sourceFontdir from '@wooorm/starry-night/source.fontdir' +import sourceFontforge from '@wooorm/starry-night/source.fontforge' +import sourceForth from '@wooorm/starry-night/source.forth' +import sourceFortran from '@wooorm/starry-night/source.fortran' +import sourceFortranModern from '@wooorm/starry-night/source.fortran.modern' +import sourceFsharp from '@wooorm/starry-night/source.fsharp' +import sourceFstar from '@wooorm/starry-night/source.fstar' +import sourceFtl from '@wooorm/starry-night/source.ftl' +import sourceFuthark from '@wooorm/starry-night/source.futhark' +import sourceGap from '@wooorm/starry-night/source.gap' +import sourceGcode from '@wooorm/starry-night/source.gcode' +import sourceGdb from '@wooorm/starry-night/source.gdb' +import sourceGdresource from '@wooorm/starry-night/source.gdresource' +import sourceGdscript from '@wooorm/starry-night/source.gdscript' +import sourceGedcom from '@wooorm/starry-night/source.gedcom' +import sourceGemfileLock from '@wooorm/starry-night/source.gemfile-lock' +import sourceGemini from '@wooorm/starry-night/source.gemini' +import sourceGenericDb from '@wooorm/starry-night/source.generic-db' +import sourceGenero from '@wooorm/starry-night/source.genero' +import sourceGeneroForms from '@wooorm/starry-night/source.genero-forms' +import sourceGerber from '@wooorm/starry-night/source.gerber' +import sourceGf from '@wooorm/starry-night/source.gf' +import sourceGitRevlist from '@wooorm/starry-night/source.git-revlist' +import sourceGitattributes from '@wooorm/starry-night/source.gitattributes' +import sourceGitconfig from '@wooorm/starry-night/source.gitconfig' +import sourceGitignore from '@wooorm/starry-night/source.gitignore' +import sourceGleam from '@wooorm/starry-night/source.gleam' +import sourceGlsl from '@wooorm/starry-night/source.glsl' +import sourceGn from '@wooorm/starry-night/source.gn' +import sourceGnuplot from '@wooorm/starry-night/source.gnuplot' +import sourceGo from '@wooorm/starry-night/source.go' +import sourceGolo from '@wooorm/starry-night/source.golo' +import sourceGosu2 from '@wooorm/starry-night/source.gosu.2' +import sourceGrace from '@wooorm/starry-night/source.grace' +import sourceGraphql from '@wooorm/starry-night/source.graphql' +import sourceGremlin from '@wooorm/starry-night/source.gremlin' +import sourceGroovy from '@wooorm/starry-night/source.groovy' +import sourceGroovyGradle from '@wooorm/starry-night/source.groovy.gradle' +import sourceGsc from '@wooorm/starry-night/source.gsc' +import sourceHack from '@wooorm/starry-night/source.hack' +import sourceHaproxyConfig from '@wooorm/starry-night/source.haproxy-config' +import sourceHarbour from '@wooorm/starry-night/source.harbour' +import sourceHaskell from '@wooorm/starry-night/source.haskell' +import sourceHc from '@wooorm/starry-night/source.hc' +import sourceHlsl from '@wooorm/starry-night/source.hlsl' +import sourceHocon from '@wooorm/starry-night/source.hocon' +import sourceHoon from '@wooorm/starry-night/source.hoon' +import sourceHosts from '@wooorm/starry-night/source.hosts' +import sourceHql from '@wooorm/starry-night/source.hql' +import sourceHttpspec from '@wooorm/starry-night/source.httpspec' +import sourceHx from '@wooorm/starry-night/source.hx' +import sourceHxml from '@wooorm/starry-night/source.hxml' +import sourceHy from '@wooorm/starry-night/source.hy' +import sourceIdeal from '@wooorm/starry-night/source.ideal' +import sourceIdl from '@wooorm/starry-night/source.idl' +import sourceIdris from '@wooorm/starry-night/source.idris' +import sourceIgor from '@wooorm/starry-night/source.igor' +import sourceImba from '@wooorm/starry-night/source.imba' +import sourceInform7 from '@wooorm/starry-night/source.inform7' +import sourceIni from '@wooorm/starry-night/source.ini' +import sourceIniNpmrc from '@wooorm/starry-night/source.ini.npmrc' +import sourceInk from '@wooorm/starry-night/source.ink' +import sourceInno from '@wooorm/starry-night/source.inno' +import sourceInputrc from '@wooorm/starry-night/source.inputrc' +import sourceIo from '@wooorm/starry-night/source.io' +import sourceIoke from '@wooorm/starry-night/source.ioke' +import sourceIsabelleRoot from '@wooorm/starry-night/source.isabelle.root' +import sourceIsabelleTheory from '@wooorm/starry-night/source.isabelle.theory' +import sourceJ from '@wooorm/starry-night/source.j' +import sourceJanet from '@wooorm/starry-night/source.janet' +import sourceJasmin from '@wooorm/starry-night/source.jasmin' +import sourceJava from '@wooorm/starry-night/source.java' +import sourceJavaProperties from '@wooorm/starry-night/source.java-properties' +import sourceJcl from '@wooorm/starry-night/source.jcl' +import sourceJestSnap from '@wooorm/starry-night/source.jest.snap' +import sourceJflex from '@wooorm/starry-night/source.jflex' +import sourceJison from '@wooorm/starry-night/source.jison' +import sourceJisonlex from '@wooorm/starry-night/source.jisonlex' +import sourceJolie from '@wooorm/starry-night/source.jolie' +import sourceJq from '@wooorm/starry-night/source.jq' +import sourceJs from '@wooorm/starry-night/source.js' +import sourceJsObjj from '@wooorm/starry-night/source.js.objj' +import sourceJson from '@wooorm/starry-night/source.json' +import sourceJsoniq from '@wooorm/starry-night/source.jsoniq' +import sourceJsonnet from '@wooorm/starry-night/source.jsonnet' +import sourceJulia from '@wooorm/starry-night/source.julia' +import sourceJust from '@wooorm/starry-night/source.just' +import sourceKakscript from '@wooorm/starry-night/source.kakscript' +import sourceKerboscript from '@wooorm/starry-night/source.kerboscript' +import sourceKeyvalues from '@wooorm/starry-night/source.keyvalues' +import sourceKickstart from '@wooorm/starry-night/source.kickstart' +import sourceKotlin from '@wooorm/starry-night/source.kotlin' +import sourceKusto from '@wooorm/starry-night/source.kusto' +import sourceLark from '@wooorm/starry-night/source.lark' +import sourceLean from '@wooorm/starry-night/source.lean' +import sourceLex from '@wooorm/starry-night/source.lex' +import sourceLexRegexp from '@wooorm/starry-night/source.lex.regexp' +import sourceLigo from '@wooorm/starry-night/source.ligo' +import sourceLilypond from '@wooorm/starry-night/source.lilypond' +import sourceLisp from '@wooorm/starry-night/source.lisp' +import sourceLitcoffee from '@wooorm/starry-night/source.litcoffee' +import sourceLivescript from '@wooorm/starry-night/source.livescript' +import sourceLlvm from '@wooorm/starry-night/source.llvm' +import sourceLogos from '@wooorm/starry-night/source.logos' +import sourceLogtalk from '@wooorm/starry-night/source.logtalk' +import sourceLolcode from '@wooorm/starry-night/source.lolcode' +import sourceLoomscript from '@wooorm/starry-night/source.loomscript' +import sourceLsl from '@wooorm/starry-night/source.lsl' +import sourceLtspiceSymbol from '@wooorm/starry-night/source.ltspice.symbol' +import sourceLua from '@wooorm/starry-night/source.lua' +import sourceM2 from '@wooorm/starry-night/source.m2' +import sourceM4 from '@wooorm/starry-night/source.m4' +import sourceM8k from '@wooorm/starry-night/source.m68k' +import sourceMakefile from '@wooorm/starry-night/source.makefile' +import sourceMask from '@wooorm/starry-night/source.mask' +import sourceMathematica from '@wooorm/starry-night/source.mathematica' +import sourceMatlab from '@wooorm/starry-night/source.matlab' +import sourceMaxscript from '@wooorm/starry-night/source.maxscript' +import sourceMc from '@wooorm/starry-night/source.mc' +import sourceMcfunction from '@wooorm/starry-night/source.mcfunction' +import sourceMdx from '@wooorm/starry-night/source.mdx' +import sourceMercury from '@wooorm/starry-night/source.mercury' +import sourceMermaid from '@wooorm/starry-night/source.mermaid' +import sourceMermaidCCDiagram from '@wooorm/starry-night/source.mermaid.c4c-diagram' +import sourceMermaidClassDiagram from '@wooorm/starry-night/source.mermaid.class-diagram' +import sourceMermaidErDiagram from '@wooorm/starry-night/source.mermaid.er-diagram' +import sourceMermaidFlowchart from '@wooorm/starry-night/source.mermaid.flowchart' +import sourceMermaidGantt from '@wooorm/starry-night/source.mermaid.gantt' +import sourceMermaidGitgraph from '@wooorm/starry-night/source.mermaid.gitgraph' +import sourceMermaidMindmap from '@wooorm/starry-night/source.mermaid.mindmap' +import sourceMermaidPieChart from '@wooorm/starry-night/source.mermaid.pie-chart' +import sourceMermaidRequirementDiagram from '@wooorm/starry-night/source.mermaid.requirement-diagram' +import sourceMermaidSequenceDiagram from '@wooorm/starry-night/source.mermaid.sequence-diagram' +import sourceMermaidStateDiagram from '@wooorm/starry-night/source.mermaid.state-diagram' +import sourceMermaidUserJourney from '@wooorm/starry-night/source.mermaid.user-journey' +import sourceMeson from '@wooorm/starry-night/source.meson' +import sourceMiniyaml from '@wooorm/starry-night/source.miniyaml' +import sourceMint from '@wooorm/starry-night/source.mint' +import sourceMl from '@wooorm/starry-night/source.ml' +import sourceMligo from '@wooorm/starry-night/source.mligo' +import sourceMlir from '@wooorm/starry-night/source.mlir' +import sourceMo from '@wooorm/starry-night/source.mo' +import sourceModelica from '@wooorm/starry-night/source.modelica' +import sourceModula3 from '@wooorm/starry-night/source.modula-3' +import sourceModula2 from '@wooorm/starry-night/source.modula2' +import sourceMonkey from '@wooorm/starry-night/source.monkey' +import sourceMoonscript from '@wooorm/starry-night/source.moonscript' +import sourceMove from '@wooorm/starry-night/source.move' +import sourceMql5 from '@wooorm/starry-night/source.mql5' +import sourceMsl from '@wooorm/starry-night/source.msl' +import sourceMupad from '@wooorm/starry-night/source.mupad' +import sourceNanorc from '@wooorm/starry-night/source.nanorc' +import sourceNasal from '@wooorm/starry-night/source.nasal' +import sourceNasl from '@wooorm/starry-night/source.nasl' +import sourceNcl from '@wooorm/starry-night/source.ncl' +import sourceNe from '@wooorm/starry-night/source.ne' +import sourceNemerle from '@wooorm/starry-night/source.nemerle' +import sourceNeon from '@wooorm/starry-night/source.neon' +import sourceNesc from '@wooorm/starry-night/source.nesc' +import sourceNetlinx from '@wooorm/starry-night/source.netlinx' +import sourceNetlinxErb from '@wooorm/starry-night/source.netlinx.erb' +import sourceNextflow from '@wooorm/starry-night/source.nextflow' +import sourceNextflowGroovy from '@wooorm/starry-night/source.nextflow-groovy' +import sourceNginx from '@wooorm/starry-night/source.nginx' +import sourceNim from '@wooorm/starry-night/source.nim' +import sourceNinja from '@wooorm/starry-night/source.ninja' +import sourceNit from '@wooorm/starry-night/source.nit' +import sourceNix from '@wooorm/starry-night/source.nix' +import sourceNsis from '@wooorm/starry-night/source.nsis' +import sourceNu from '@wooorm/starry-night/source.nu' +import sourceNunjucks from '@wooorm/starry-night/source.nunjucks' +import sourceNushell from '@wooorm/starry-night/source.nushell' +import sourceNut from '@wooorm/starry-night/source.nut' +import sourceObjc from '@wooorm/starry-night/source.objc' +import sourceObjcpp from '@wooorm/starry-night/source.objc++' +import sourceObjcPlatform from '@wooorm/starry-night/source.objc.platform' +import sourceObjectscript from '@wooorm/starry-night/source.objectscript' +import sourceObjectscriptMacros from '@wooorm/starry-night/source.objectscript_macros' +import sourceOcaml from '@wooorm/starry-night/source.ocaml' +import sourceOdin from '@wooorm/starry-night/source.odin' +import sourceOdinEhr from '@wooorm/starry-night/source.odin-ehr' +import sourceOoc from '@wooorm/starry-night/source.ooc' +import sourceOpa from '@wooorm/starry-night/source.opa' +import sourceOpal from '@wooorm/starry-night/source.opal' +import sourceOpentype from '@wooorm/starry-night/source.opentype' +import sourceOpts from '@wooorm/starry-night/source.opts' +import sourceOx from '@wooorm/starry-night/source.ox' +import sourceOz from '@wooorm/starry-night/source.oz' +import sourceP4 from '@wooorm/starry-night/source.p4' +import sourcePact from '@wooorm/starry-night/source.pact' +import sourcePan from '@wooorm/starry-night/source.pan' +import sourcePapyrusSkyrim from '@wooorm/starry-night/source.papyrus.skyrim' +import sourceParrotPir from '@wooorm/starry-night/source.parrot.pir' +import sourcePascal from '@wooorm/starry-night/source.pascal' +import sourcePawn from '@wooorm/starry-night/source.pawn' +import sourcePcbBoard from '@wooorm/starry-night/source.pcb.board' +import sourcePcbSchematic from '@wooorm/starry-night/source.pcb.schematic' +import sourcePcbSexp from '@wooorm/starry-night/source.pcb.sexp' +import sourcePddl from '@wooorm/starry-night/source.pddl' +import sourcePegjs from '@wooorm/starry-night/source.pegjs' +import sourcePep8 from '@wooorm/starry-night/source.pep8' +import sourcePerl from '@wooorm/starry-night/source.perl' +import sourcePhpZephir from '@wooorm/starry-night/source.php.zephir' +import sourcePic from '@wooorm/starry-night/source.pic' +import sourcePigLatin from '@wooorm/starry-night/source.pig_latin' +import sourcePike from '@wooorm/starry-night/source.pike' +import sourcePlist from '@wooorm/starry-night/source.plist' +import sourcePo from '@wooorm/starry-night/source.po' +import sourcePogoscript from '@wooorm/starry-night/source.pogoscript' +import sourcePolar from '@wooorm/starry-night/source.polar' +import sourcePony from '@wooorm/starry-night/source.pony' +import sourcePortugol from '@wooorm/starry-night/source.portugol' +import sourcePostcss from '@wooorm/starry-night/source.postcss' +import sourcePostscript from '@wooorm/starry-night/source.postscript' +import sourcePovRaySdl from '@wooorm/starry-night/source.pov-ray sdl' +import sourcePowershell from '@wooorm/starry-night/source.powershell' +import sourcePrisma from '@wooorm/starry-night/source.prisma' +import sourceProcessing from '@wooorm/starry-night/source.processing' +import sourceProcfile from '@wooorm/starry-night/source.procfile' +import sourceProlog from '@wooorm/starry-night/source.prolog' +import sourcePrologEclipse from '@wooorm/starry-night/source.prolog.eclipse' +import sourcePromela from '@wooorm/starry-night/source.promela' +import sourceProto from '@wooorm/starry-night/source.proto' +import sourcePuppet from '@wooorm/starry-night/source.puppet' +import sourcePurescript from '@wooorm/starry-night/source.purescript' +import sourcePython from '@wooorm/starry-night/source.python' +import sourcePythonKivy from '@wooorm/starry-night/source.python.kivy' +import sourceQ from '@wooorm/starry-night/source.q' +import sourceQasm from '@wooorm/starry-night/source.qasm' +import sourceQl from '@wooorm/starry-night/source.ql' +import sourceQmake from '@wooorm/starry-night/source.qmake' +import sourceQml from '@wooorm/starry-night/source.qml' +import sourceQsharp from '@wooorm/starry-night/source.qsharp' +import sourceQuake from '@wooorm/starry-night/source.quake' +import sourceQuotingRaku from '@wooorm/starry-night/source.quoting.raku' +import sourceR from '@wooorm/starry-night/source.r' +import sourceRacket from '@wooorm/starry-night/source.racket' +import sourceRaku from '@wooorm/starry-night/source.raku' +import sourceRascal from '@wooorm/starry-night/source.rascal' +import sourceRbs from '@wooorm/starry-night/source.rbs' +import sourceReason from '@wooorm/starry-night/source.reason' +import sourceRebol from '@wooorm/starry-night/source.rebol' +import sourceRecordJar from '@wooorm/starry-night/source.record-jar' +import sourceRed from '@wooorm/starry-night/source.red' +import sourceRedirects from '@wooorm/starry-night/source.redirects' +import sourceReg from '@wooorm/starry-night/source.reg' +import sourceRegexp from '@wooorm/starry-night/source.regexp' +import sourceRegexpExtended from '@wooorm/starry-night/source.regexp.extended' +import sourceRegexpPosix from '@wooorm/starry-night/source.regexp.posix' +import sourceRegexpPython from '@wooorm/starry-night/source.regexp.python' +import sourceRego from '@wooorm/starry-night/source.rego' +import sourceReligo from '@wooorm/starry-night/source.religo' +import sourceRenpy from '@wooorm/starry-night/source.renpy' +import sourceRescript from '@wooorm/starry-night/source.rescript' +import sourceRexx from '@wooorm/starry-night/source.rexx' +import sourceRez from '@wooorm/starry-night/source.rez' +import sourceRing from '@wooorm/starry-night/source.ring' +import sourceRpgle from '@wooorm/starry-night/source.rpgle' +import sourceRpmSpec from '@wooorm/starry-night/source.rpm-spec' +import sourceRuby from '@wooorm/starry-night/source.ruby' +import sourceRust from '@wooorm/starry-night/source.rust' +import sourceSas from '@wooorm/starry-night/source.sas' +import sourceSass from '@wooorm/starry-night/source.sass' +import sourceScad from '@wooorm/starry-night/source.scad' +import sourceScala from '@wooorm/starry-night/source.scala' +import sourceScaml from '@wooorm/starry-night/source.scaml' +import sourceScenic from '@wooorm/starry-night/source.scenic' +import sourceScheme from '@wooorm/starry-night/source.scheme' +import sourceScilab from '@wooorm/starry-night/source.scilab' +import sourceSdbl from '@wooorm/starry-night/source.sdbl' +import sourceSed from '@wooorm/starry-night/source.sed' +import sourceSepolicy from '@wooorm/starry-night/source.sepolicy' +import sourceSfv from '@wooorm/starry-night/source.sfv' +import sourceShaderlab from '@wooorm/starry-night/source.shaderlab' +import sourceShell from '@wooorm/starry-night/source.shell' +import sourceShellcheckrc from '@wooorm/starry-night/source.shellcheckrc' +import sourceShen from '@wooorm/starry-night/source.shen' +import sourceSieve from '@wooorm/starry-night/source.sieve' +import sourceSingularity from '@wooorm/starry-night/source.singularity' +import sourceSlice from '@wooorm/starry-night/source.slice' +import sourceSmali from '@wooorm/starry-night/source.smali' +import sourceSmalltalk from '@wooorm/starry-night/source.smalltalk' +import sourceSmithy from '@wooorm/starry-night/source.smithy' +import sourceSmpl from '@wooorm/starry-night/source.smpl' +import sourceSmt from '@wooorm/starry-night/source.smt' +import sourceSolidity from '@wooorm/starry-night/source.solidity' +import sourceSolution from '@wooorm/starry-night/source.solution' +import sourceSourcepawn from '@wooorm/starry-night/source.sourcepawn' +import sourceSparql from '@wooorm/starry-night/source.sparql' +import sourceSpin from '@wooorm/starry-night/source.spin' +import sourceSqf from '@wooorm/starry-night/source.sqf' +import sourceSql from '@wooorm/starry-night/source.sql' +import sourceSshConfig from '@wooorm/starry-night/source.ssh-config' +import sourceStan from '@wooorm/starry-night/source.stan' +import sourceStar from '@wooorm/starry-night/source.star' +import sourceStata from '@wooorm/starry-night/source.stata' +import sourceStl from '@wooorm/starry-night/source.stl' +import sourceStringTemplate from '@wooorm/starry-night/source.string-template' +import sourceStylus from '@wooorm/starry-night/source.stylus' +import sourceSupercollider from '@wooorm/starry-night/source.supercollider' +import sourceSvelte from '@wooorm/starry-night/source.svelte' +import sourceSway from '@wooorm/starry-night/source.sway' +import sourceSwift from '@wooorm/starry-night/source.swift' +import sourceSy from '@wooorm/starry-night/source.sy' +import sourceSystemverilog from '@wooorm/starry-night/source.systemverilog' +import sourceTalon from '@wooorm/starry-night/source.talon' +import sourceTcl from '@wooorm/starry-night/source.tcl' +import sourceTea from '@wooorm/starry-night/source.tea' +import sourceTerra from '@wooorm/starry-night/source.terra' +import sourceTerraform from '@wooorm/starry-night/source.terraform' +import sourceTextproto from '@wooorm/starry-night/source.textproto' +import sourceThrift from '@wooorm/starry-night/source.thrift' +import sourceTl from '@wooorm/starry-night/source.tl' +import sourceTla from '@wooorm/starry-night/source.tla' +import sourceTlverilog from '@wooorm/starry-night/source.tlverilog' +import sourceTmProperties from '@wooorm/starry-night/source.tm-properties' +import sourceToc from '@wooorm/starry-night/source.toc' +import sourceToml from '@wooorm/starry-night/source.toml' +import sourceTs from '@wooorm/starry-night/source.ts' +import sourceTsql from '@wooorm/starry-night/source.tsql' +import sourceTsx from '@wooorm/starry-night/source.tsx' +import sourceTuring from '@wooorm/starry-night/source.turing' +import sourceTurtle from '@wooorm/starry-night/source.turtle' +import sourceTxl from '@wooorm/starry-night/source.txl' +import sourceTypst from '@wooorm/starry-night/source.typst' +import sourceUr from '@wooorm/starry-night/source.ur' +import sourceV from '@wooorm/starry-night/source.v' +import sourceVala from '@wooorm/starry-night/source.vala' +import sourceVarnishVcl from '@wooorm/starry-night/source.varnish.vcl' +import sourceVba from '@wooorm/starry-night/source.vba' +import sourceVbnet from '@wooorm/starry-night/source.vbnet' +import sourceVelocity from '@wooorm/starry-night/source.velocity' +import sourceVerilog from '@wooorm/starry-night/source.verilog' +import sourceVhdl from '@wooorm/starry-night/source.vhdl' +import sourceVimSnippet from '@wooorm/starry-night/source.vim-snippet' +import sourceViml from '@wooorm/starry-night/source.viml' +import sourceVyper from '@wooorm/starry-night/source.vyper' +import sourceWavefrontMtl from '@wooorm/starry-night/source.wavefront.mtl' +import sourceWavefrontObj from '@wooorm/starry-night/source.wavefront.obj' +import sourceWdl from '@wooorm/starry-night/source.wdl' +import sourceWebassembly from '@wooorm/starry-night/source.webassembly' +import sourceWebidl from '@wooorm/starry-night/source.webidl' +import sourceWgetrc from '@wooorm/starry-night/source.wgetrc' +import sourceWgsl from '@wooorm/starry-night/source.wgsl' +import sourceWhiley from '@wooorm/starry-night/source.whiley' +import sourceWin2Messages from '@wooorm/starry-night/source.win32-messages' +import sourceWit from '@wooorm/starry-night/source.wit' +import sourceWitcherscript from '@wooorm/starry-night/source.witcherscript' +import sourceWollok from '@wooorm/starry-night/source.wollok' +import sourceWren from '@wooorm/starry-night/source.wren' +import sourceWsd from '@wooorm/starry-night/source.wsd' +import sourceX0 from '@wooorm/starry-night/source.x10' +import sourceX6 from '@wooorm/starry-night/source.x86' +import sourceXc from '@wooorm/starry-night/source.xc' +import sourceXlfd from '@wooorm/starry-night/source.xlfd' +import sourceXojo from '@wooorm/starry-night/source.xojo' +import sourceXq from '@wooorm/starry-night/source.xq' +import sourceXtend from '@wooorm/starry-night/source.xtend' +import sourceYacc from '@wooorm/starry-night/source.yacc' +import sourceYaml from '@wooorm/starry-night/source.yaml' +import sourceYamlSalt from '@wooorm/starry-night/source.yaml.salt' +import sourceYang from '@wooorm/starry-night/source.yang' +import sourceYara from '@wooorm/starry-night/source.yara' +import sourceYasnippet from '@wooorm/starry-night/source.yasnippet' +import sourceYul from '@wooorm/starry-night/source.yul' +import sourceZap from '@wooorm/starry-night/source.zap' +import sourceZeek from '@wooorm/starry-night/source.zeek' +import sourceZenscript from '@wooorm/starry-night/source.zenscript' +import sourceZig from '@wooorm/starry-night/source.zig' +import sourceZil from '@wooorm/starry-night/source.zil' +import textAdblock from '@wooorm/starry-night/text.adblock' +import textBibtex from '@wooorm/starry-night/text.bibtex' +import textBrowserslist from '@wooorm/starry-night/text.browserslist' +import textCfmlBasic from '@wooorm/starry-night/text.cfml.basic' +import textChecksums from '@wooorm/starry-night/text.checksums' +import textCodeowners from '@wooorm/starry-night/text.codeowners' +import textConllu from '@wooorm/starry-night/text.conllu' +import textDfyDafny from '@wooorm/starry-night/text.dfy.dafny' +import textElixir from '@wooorm/starry-night/text.elixir' +import textEmlBasic from '@wooorm/starry-night/text.eml.basic' +import textGherkinFeature from '@wooorm/starry-night/text.gherkin.feature' +import textGrammarkdown from '@wooorm/starry-night/text.grammarkdown' +import textHaml from '@wooorm/starry-night/text.haml' +import textHtmlAsciidoc from '@wooorm/starry-night/text.html.asciidoc' +import textHtmlAsdoc from '@wooorm/starry-night/text.html.asdoc' +import textHtmlAsp from '@wooorm/starry-night/text.html.asp' +import textHtmlBasic from '@wooorm/starry-night/text.html.basic' +import textHtmlCfm from '@wooorm/starry-night/text.html.cfm' +import textHtmlCreole from '@wooorm/starry-night/text.html.creole' +import textHtmlCshtml from '@wooorm/starry-night/text.html.cshtml' +import textHtmlDjango from '@wooorm/starry-night/text.html.django' +import textHtmlEcmarkup from '@wooorm/starry-night/text.html.ecmarkup' +import textHtmlEcr from '@wooorm/starry-night/text.html.ecr' +import textHtmlElixir from '@wooorm/starry-night/text.html.elixir' +import textHtmlErb from '@wooorm/starry-night/text.html.erb' +import textHtmlFtl from '@wooorm/starry-night/text.html.ftl' +import textHtmlHandlebars from '@wooorm/starry-night/text.html.handlebars' +import textHtmlJavadoc from '@wooorm/starry-night/text.html.javadoc' +import textHtmlJs from '@wooorm/starry-night/text.html.js' +import textHtmlJsp from '@wooorm/starry-night/text.html.jsp' +import textHtmlLiquid from '@wooorm/starry-night/text.html.liquid' +import textHtmlMako from '@wooorm/starry-night/text.html.mako' +import textHtmlMarkdownSourceGfmApib from '@wooorm/starry-night/text.html.markdown.source.gfm.apib' +import textHtmlMarkdownSourceGfmMson from '@wooorm/starry-night/text.html.markdown.source.gfm.mson' +import textHtmlMediawiki from '@wooorm/starry-night/text.html.mediawiki' +import textHtmlNunjucks from '@wooorm/starry-night/text.html.nunjucks' +import textHtmlPhp from '@wooorm/starry-night/text.html.php' +import textHtmlPhpBlade from '@wooorm/starry-night/text.html.php.blade' +import textHtmlRiot from '@wooorm/starry-night/text.html.riot' +import textHtmlSlash from '@wooorm/starry-night/text.html.slash' +import textHtmlSmarty from '@wooorm/starry-night/text.html.smarty' +import textHtmlSoy from '@wooorm/starry-night/text.html.soy' +import textHtmlStatamic from '@wooorm/starry-night/text.html.statamic' +import textHtmlTwig from '@wooorm/starry-night/text.html.twig' +import textHtmlVue from '@wooorm/starry-night/text.html.vue' +import textJade from '@wooorm/starry-night/text.jade' +import textMarko from '@wooorm/starry-night/text.marko' +import textMd from '@wooorm/starry-night/text.md' +import textMuse from '@wooorm/starry-night/text.muse' +import textPythonConsole from '@wooorm/starry-night/text.python.console' +import textPythonTraceback from '@wooorm/starry-night/text.python.traceback' +import textRdoc from '@wooorm/starry-night/text.rdoc' +import textRestructuredtext from '@wooorm/starry-night/text.restructuredtext' +import textRobot from '@wooorm/starry-night/text.robot' +import textRobotsTxt from '@wooorm/starry-night/text.robots-txt' +import textRoff from '@wooorm/starry-night/text.roff' +import textRtf from '@wooorm/starry-night/text.rtf' +import textRunoff from '@wooorm/starry-night/text.runoff' +import textSfd from '@wooorm/starry-night/text.sfd' +import textShellSession from '@wooorm/starry-night/text.shell-session' +import textSlim from '@wooorm/starry-night/text.slim' +import textSrt from '@wooorm/starry-night/text.srt' +import textTex from '@wooorm/starry-night/text.tex' +import textTexLatex from '@wooorm/starry-night/text.tex.latex' +import textTexLatexHaskell from '@wooorm/starry-night/text.tex.latex.haskell' +import textTexLatexSweave from '@wooorm/starry-night/text.tex.latex.sweave' +import textTexinfo from '@wooorm/starry-night/text.texinfo' +import textVimHelp from '@wooorm/starry-night/text.vim-help' +import textVtt from '@wooorm/starry-night/text.vtt' +import textXml from '@wooorm/starry-night/text.xml' +import textXmlAnt from '@wooorm/starry-night/text.xml.ant' +import textXmlGenshi from '@wooorm/starry-night/text.xml.genshi' +import textXmlPlist from '@wooorm/starry-night/text.xml.plist' +import textXmlPom from '@wooorm/starry-night/text.xml.pom' +import textXmlSvg from '@wooorm/starry-night/text.xml.svg' +import textXmlXsl from '@wooorm/starry-night/text.xml.xsl' +import textZoneFile from '@wooorm/starry-night/text.zone_file' /** @type {ReadonlyArray} */ export const grammars = [ @@ -812,6 +812,7 @@ export const grammars = [ sourceJq, sourceJs, sourceJsObjj, + // @ts-expect-error: TS is wrong, `.json` does not mean JSON. sourceJson, sourceJsoniq, sourceJsonnet, diff --git a/lib/common.js b/lib/common.js index 197dc60..7cd0902 100644 --- a/lib/common.js +++ b/lib/common.js @@ -2,41 +2,41 @@ * @typedef {import('./index.js').Grammar} Grammar */ -import sourceC from '../lang/source.c.js' -import sourceCpp from '../lang/source.c++.js' -import sourceCPlatform from '../lang/source.c.platform.js' -import sourceCs from '../lang/source.cs.js' -import sourceCss from '../lang/source.css.js' -import sourceCssLess from '../lang/source.css.less.js' -import sourceCssScss from '../lang/source.css.scss.js' -import sourceDiff from '../lang/source.diff.js' -import sourceGo from '../lang/source.go.js' -import sourceGraphql from '../lang/source.graphql.js' -import sourceIni from '../lang/source.ini.js' -import sourceJava from '../lang/source.java.js' -import sourceJs from '../lang/source.js.js' -import sourceJson from '../lang/source.json.js' -import sourceKotlin from '../lang/source.kotlin.js' -import sourceLua from '../lang/source.lua.js' -import sourceMakefile from '../lang/source.makefile.js' -import sourceObjc from '../lang/source.objc.js' -import sourceObjcPlatform from '../lang/source.objc.platform.js' -import sourcePerl from '../lang/source.perl.js' -import sourcePython from '../lang/source.python.js' -import sourceR from '../lang/source.r.js' -import sourceRuby from '../lang/source.ruby.js' -import sourceRust from '../lang/source.rust.js' -import sourceShell from '../lang/source.shell.js' -import sourceSql from '../lang/source.sql.js' -import sourceSwift from '../lang/source.swift.js' -import sourceTs from '../lang/source.ts.js' -import sourceVbnet from '../lang/source.vbnet.js' -import sourceYaml from '../lang/source.yaml.js' -import textHtmlBasic from '../lang/text.html.basic.js' -import textHtmlPhp from '../lang/text.html.php.js' -import textMd from '../lang/text.md.js' -import textXml from '../lang/text.xml.js' -import textXmlSvg from '../lang/text.xml.svg.js' +import sourceC from '@wooorm/starry-night/source.c' +import sourceCpp from '@wooorm/starry-night/source.c++' +import sourceCPlatform from '@wooorm/starry-night/source.c.platform' +import sourceCs from '@wooorm/starry-night/source.cs' +import sourceCss from '@wooorm/starry-night/source.css' +import sourceCssLess from '@wooorm/starry-night/source.css.less' +import sourceCssScss from '@wooorm/starry-night/source.css.scss' +import sourceDiff from '@wooorm/starry-night/source.diff' +import sourceGo from '@wooorm/starry-night/source.go' +import sourceGraphql from '@wooorm/starry-night/source.graphql' +import sourceIni from '@wooorm/starry-night/source.ini' +import sourceJava from '@wooorm/starry-night/source.java' +import sourceJs from '@wooorm/starry-night/source.js' +import sourceJson from '@wooorm/starry-night/source.json' +import sourceKotlin from '@wooorm/starry-night/source.kotlin' +import sourceLua from '@wooorm/starry-night/source.lua' +import sourceMakefile from '@wooorm/starry-night/source.makefile' +import sourceObjc from '@wooorm/starry-night/source.objc' +import sourceObjcPlatform from '@wooorm/starry-night/source.objc.platform' +import sourcePerl from '@wooorm/starry-night/source.perl' +import sourcePython from '@wooorm/starry-night/source.python' +import sourceR from '@wooorm/starry-night/source.r' +import sourceRuby from '@wooorm/starry-night/source.ruby' +import sourceRust from '@wooorm/starry-night/source.rust' +import sourceShell from '@wooorm/starry-night/source.shell' +import sourceSql from '@wooorm/starry-night/source.sql' +import sourceSwift from '@wooorm/starry-night/source.swift' +import sourceTs from '@wooorm/starry-night/source.ts' +import sourceVbnet from '@wooorm/starry-night/source.vbnet' +import sourceYaml from '@wooorm/starry-night/source.yaml' +import textHtmlBasic from '@wooorm/starry-night/text.html.basic' +import textHtmlPhp from '@wooorm/starry-night/text.html.php' +import textMd from '@wooorm/starry-night/text.md' +import textXml from '@wooorm/starry-night/text.xml' +import textXmlSvg from '@wooorm/starry-night/text.xml.svg' /** @type {ReadonlyArray} */ export const grammars = [ @@ -53,6 +53,7 @@ export const grammars = [ sourceIni, sourceJava, sourceJs, + // @ts-expect-error: TS is wrong, `.json` does not mean JSON. sourceJson, sourceKotlin, sourceLua, diff --git a/lib/get-oniguruma.fetch.js b/lib/get-oniguruma.default.js similarity index 100% rename from lib/get-oniguruma.fetch.js rename to lib/get-oniguruma.default.js diff --git a/lib/get-oniguruma.js b/lib/get-oniguruma.fs.js similarity index 100% rename from lib/get-oniguruma.js rename to lib/get-oniguruma.fs.js diff --git a/lib/index.js b/lib/index.js index f256380..6f9354c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -97,9 +97,9 @@ import vscodeOniguruma from 'vscode-oniguruma' import vscodeTextmate from 'vscode-textmate' -import {getOniguruma} from './get-oniguruma.js' import {parse} from './parse.js' import {theme} from './theme.js' +import {getOniguruma} from '#get-oniguruma' /** * Create a `StarryNight` that can highlight things with the given @@ -210,7 +210,7 @@ export async function createStarryNight(grammars, options) { * @example * ```js * import {createStarryNight} from '@wooorm/starry-night' - * import sourceCss from '@wooorm/starry-night/lang/source.css.js' + * import sourceCss from '@wooorm/starry-night/source.css' * * const starryNight = await createStarryNight([sourceCss]) * @@ -272,8 +272,8 @@ export async function createStarryNight(grammars, options) { * @example * ```js * import {createStarryNight} from '@wooorm/starry-night' - * import textXml from '@wooorm/starry-night/lang/text.xml.js' - * import textXmlSvg from '@wooorm/starry-night/lang/text.xml.svg.js' + * import textXml from '@wooorm/starry-night/text.xml' + * import textXmlSvg from '@wooorm/starry-night/text.xml.svg' * * const svg = await createStarryNight([textXmlSvg]) * console.log(svg.missingScopes()) //=> ['text.xml'] @@ -314,8 +314,8 @@ export async function createStarryNight(grammars, options) { * @example * ````js * import {createStarryNight} from '@wooorm/starry-night' - * import sourceCss from '@wooorm/starry-night/lang/source.css.js' - * import textMd from '@wooorm/starry-night/lang/text.md.js' + * import sourceCss from '@wooorm/starry-night/source.css' + * import textMd from '@wooorm/starry-night/text.md' * import {toHtml} from 'hast-util-to-html' * * const markdown = '```css\nem { color: red }\n```' diff --git a/package.json b/package.json index 2c282d0..78e2729 100644 --- a/package.json +++ b/package.json @@ -32,11 +32,16 @@ ], "type": "module", "main": "index.js", - "browser": { - "./lib/get-oniguruma.js": "./lib/get-oniguruma.fetch.js" + "exports": { + ".": "./index.js", + "./*": "./lang/*.js", + "./style/*": "./style/*.css" }, - "react-native": { - "./lib/get-oniguruma.js": "./lib/get-oniguruma.fetch.js" + "imports": { + "#get-oniguruma": { + "node": "./lib/get-oniguruma.fs.js", + "default": "./lib/get-oniguruma.default.js" + } }, "types": "index.d.ts", "files": [ @@ -145,6 +150,7 @@ "prettier": true, "rules": { "max-depth": "off", + "n/file-extension-in-import": "off", "no-bitwise": "off", "no-template-curly-in-string": "off", "unicorn/prefer-at": "off", diff --git a/readme.md b/readme.md index e121540..824fd04 100644 --- a/readme.md +++ b/readme.md @@ -161,7 +161,7 @@ To get the CSS in browsers, do (see [CSS][] for more info): ```html - + ``` ## Use @@ -204,9 +204,19 @@ Yields: ## API This package exports the identifiers [`all`][api-all], -[`common`][api-common], and [`createStarryNight`][api-create-starry-night]. +[`common`][api-common], and [`createStarryNight`][api-create-starry-night] from +the main module. There is no default export. +It also includes grammars directly in its export map. +**Do not** use the `lang/` folder or the `.js` extension. +For CSS files, do use `style/` but don’t use `.css`: + +```js +import mdx from '@wooorm/starry-night/source.mdx' // Grammar. +import tritanopiaDark from '@wooorm/starry-night/style/tritanopia-dark' // CSS. +``` + ### `all` List of all grammars ([`Array`][api-grammar]) @@ -303,7 +313,7 @@ Node representing highlighted code ([`Root`][hast-root]). ```js import {createStarryNight} from '@wooorm/starry-night' -import sourceCss from '@wooorm/starry-night/lang/source.css.js' +import sourceCss from '@wooorm/starry-night/source.css' const starryNight = await createStarryNight([sourceCss]) @@ -342,8 +352,8 @@ List of grammar scopes, such as `'text.md'` (`Array`). ```js import {createStarryNight} from '@wooorm/starry-night' -import textXml from '@wooorm/starry-night/lang/text.xml.js' -import textXmlSvg from '@wooorm/starry-night/lang/text.xml.svg.js' +import textXml from '@wooorm/starry-night/text.xml' +import textXmlSvg from '@wooorm/starry-night/text.xml.svg' const svg = await createStarryNight([textXmlSvg]) console.log(svg.missingScopes()) //=> ['text.xml'] @@ -369,8 +379,8 @@ Promise resolving to nothing (`Promise`). ````js import {createStarryNight} from '@wooorm/starry-night' -import sourceCss from '@wooorm/starry-night/lang/source.css.js' -import textMd from '@wooorm/starry-night/lang/text.md.js' +import sourceCss from '@wooorm/starry-night/source.css' +import textMd from '@wooorm/starry-night/text.md' import {toHtml} from 'hast-util-to-html' const markdown = '```css\nem { color: red }\n```' @@ -564,7 +574,7 @@ for (const node of nodes) { Hello - +

Hello

…world!

@@ -997,21 +1007,21 @@ The shipped themes are as follows: | name | Includes light scheme | Includes dark scheme | | - | - | - | -| [`core.css`](style/core.css) | | | -| [`light.css`](style/light.css) | ✅ | | -| [`dark.css`](style/dark.css) | | ✅ | -| [`both.css`](style/both.css) | ✅ | ✅ | -| [`colorblind-light.css`](style/colorblind-light.css) | ✅ | | -| [`colorblind-dark.css`](style/colorblind-dark.css) | | ✅ | -| [`colorblind.css`](style/colorblind.css) | ✅ | ✅ | -| [`dimmed-dark.css`](style/dimmed-dark.css) | | ✅ | -| [`dimmed.css`](style/dimmed.css) | ✅ | ✅ | -| [`high-contrast-light.css`](style/high-contrast-light.css) | ✅ | | -| [`high-contrast-dark.css`](style/high-contrast-dark.css) | | ✅ | -| [`high-contrast.css`](style/high-contrast.css) | ✅ | ✅ | -| [`tritanopia-light.css`](style/tritanopia-light.css) | ✅ | | -| [`tritanopia-dark.css`](style/tritanopia-dark.css) | | ✅ | -| [`tritanopia.css`](style/tritanopia.css) | ✅ | ✅ | +| [`@wooorm/starry-night/style/core`](style/core.css) | | | +| [`@wooorm/starry-night/style/light`](style/light.css) | ✅ | | +| [`@wooorm/starry-night/style/dark`](style/dark.css) | | ✅ | +| [`@wooorm/starry-night/style/both`](style/both.css) | ✅ | ✅ | +| [`@wooorm/starry-night/style/colorblind-light`](style/colorblind-light.css) | ✅ | | +| [`@wooorm/starry-night/style/colorblind-dark`](style/colorblind-dark.css) | | ✅ | +| [`@wooorm/starry-night/style/colorblind`](style/colorblind.css) | ✅ | ✅ | +| [`@wooorm/starry-night/style/dimmed-dark`](style/dimmed-dark.css) | | ✅ | +| [`@wooorm/starry-night/style/dimmed`](style/dimmed.css) | ✅ | ✅ | +| [`@wooorm/starry-night/style/high-contrast-light`](style/high-contrast-light.css) | ✅ | | +| [`@wooorm/starry-night/style/high-contrast-dark`](style/high-contrast-dark.css) | | ✅ | +| [`@wooorm/starry-night/style/high-contrast`](style/high-contrast.css) | ✅ | ✅ | +| [`@wooorm/starry-night/style/tritanopia-light`](style/tritanopia-light.css) | ✅ | | +| [`@wooorm/starry-night/style/tritanopia-dark`](style/tritanopia-dark.css) | | ✅ | +| [`@wooorm/starry-night/style/tritanopia`](style/tritanopia.css) | ✅ | ✅ | ## Languages diff --git a/script/build.js b/script/build.js index 7cce90d..4965365 100644 --- a/script/build.js +++ b/script/build.js @@ -549,13 +549,26 @@ await Promise.all( ' */', '', ...list.map(function (d) { - return 'import ' + scopeToId(d) + ' from "../lang/' + d + '.js"' + return ( + 'import ' + + scopeToId(d) + + ' from "@wooorm/starry-night/' + + d + + '"' + ) }), '', '/** @type {ReadonlyArray} */', 'export const grammars = [', - ...list.map(function (d) { - return ' ' + scopeToId(d) + ',' + ...list.flatMap(function (d) { + const useLine = ' ' + scopeToId(d) + ',' + + return d === 'source.json' + ? [ + ' // @ts-expect-error: TS is wrong, `.json` does not mean JSON.', + useLine + ] + : useLine }), ']', '' diff --git a/script/preview.js b/script/preview.js index 545b761..797dd32 100644 --- a/script/preview.js +++ b/script/preview.js @@ -31,7 +31,7 @@ ${generate( )}

…add the CSS:

${generate( - ``, + ``, 'text.html.basic' )}

…then to use starry-night:

diff --git a/test.js b/test.js index 9553034..72f7ffa 100644 --- a/test.js +++ b/test.js @@ -1,17 +1,21 @@ +/** + * @typedef {import('@wooorm/starry-night').Grammar} Grammar + */ + import assert from 'node:assert/strict' import test from 'node:test' import {toHtml} from 'hast-util-to-html' -import sourceAssembly from './lang/source.assembly.js' -import sourceCss from './lang/source.css.js' -import textPhp from './lang/text.html.php.js' -import textMd from './lang/text.md.js' -import textXml from './lang/text.xml.js' -import textXmlSvg from './lang/text.xml.svg.js' -import {common, createStarryNight} from './index.js' +import sourceAssembly from '@wooorm/starry-night/source.assembly' +import sourceCss from '@wooorm/starry-night/source.css' +import textPhp from '@wooorm/starry-night/text.html.php' +import textMd from '@wooorm/starry-night/text.md' +import textXml from '@wooorm/starry-night/text.xml' +import textXmlSvg from '@wooorm/starry-night/text.xml.svg' +import {common, createStarryNight} from '@wooorm/starry-night' test('@wooorm/starry-night', async function (t) { await t.test('should expose the public api', async function () { - assert.deepEqual(Object.keys(await import('./index.js')).sort(), [ + assert.deepEqual(Object.keys(await import('@wooorm/starry-night')).sort(), [ 'all', 'common', 'createStarryNight' @@ -157,7 +161,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with dots (`.`)', async function () { - const {default: asn} = await import('./lang/source.asn.js') + const {default: asn} = await import('@wooorm/starry-night/source.asn') const starryAsn = await createStarryNight([asn]) assert.equal(starryAsn.flagToScope('asn.1'), 'source.asn') @@ -167,7 +171,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with number signs (`#`)', async function () { - const {default: cs} = await import('./lang/source.cs.js') + const {default: cs} = await import('@wooorm/starry-night/source.cs') const starryCs = await createStarryNight([cs]) assert.equal(starryCs.flagToScope('c#'), 'source.cs') @@ -177,7 +181,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with plusses (`+`)', async function () { - const {default: cpp} = await import('./lang/source.c++.js') + const {default: cpp} = await import('@wooorm/starry-night/source.c++') const starryCpp = await createStarryNight([cpp]) assert.equal(starryCpp.flagToScope('c++'), 'source.c++') @@ -187,7 +191,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with asterisks (`*`)', async function () { - const {default: fStar} = await import('./lang/source.fstar.js') + const {default: fStar} = await import('@wooorm/starry-night/source.fstar') const starryFStar = await createStarryNight([fStar]) assert.equal(starryFStar.flagToScope('f*'), 'source.fstar') @@ -197,7 +201,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( "should support language names with apostrophes (`'`)", async function () { - const {default: capnp} = await import('./lang/source.capnp.js') + const {default: capnp} = await import('@wooorm/starry-night/source.capnp') const starryCapnp = await createStarryNight([capnp]) assert.equal(starryCapnp.flagToScope("cap'n-proto"), 'source.capnp') @@ -207,7 +211,7 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with parens (`(`, `)`)', async function () { - const {default: dot} = await import('./lang/source.dot.js') + const {default: dot} = await import('@wooorm/starry-night/source.dot') const starryDot = await createStarryNight([dot]) assert.equal(starryDot.flagToScope('graphviz-(dot)'), 'source.dot') @@ -217,8 +221,10 @@ test('.flagToScope(flag)', async function (t) { await t.test( 'should support language names with slashes (`/`)', async function () { - const {default: json} = await import('./lang/source.json.js') - const starryJson = await createStarryNight([json]) + const {default: json} = await import('@wooorm/starry-night/source.json') + // @ts-expect-error: TS is wrong, it doesn’t understand that `.json` is not an extension. + const grammar = /** @type {Grammar} */ (json) + const starryJson = await createStarryNight([grammar]) assert.equal(starryJson.flagToScope('max/msp'), 'source.json') }