@webskill/chatbot 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -0
- package/dist/1c-Ol9PZ6qo.js +106 -0
- package/dist/abap-BPSJPIgj.js +49 -0
- package/dist/abnf-D0BFxVgo.js +90 -0
- package/dist/abnf-bBppUkG9.js +55 -0
- package/dist/accesslog-Dn9o7ulp.js +107 -0
- package/dist/actionscript-D8diOsqZ.js +99 -0
- package/dist/actionscript-DbKRhXQ0.js +27 -0
- package/dist/ada-2HceEzW4.js +27 -0
- package/dist/ada-D12AxSm3.js +116 -0
- package/dist/agda-CFKulfm-.js +35 -0
- package/dist/al-BephVruQ.js +30 -0
- package/dist/angelscript-BvL7ocfM.js +100 -0
- package/dist/antlr4-vb9rrA0O.js +72 -0
- package/dist/apache-D2u3ExHM.js +73 -0
- package/dist/apacheconf-A824OW4m.js +53 -0
- package/dist/apex-C0PtYFGW.js +75 -0
- package/dist/apl--y8UJpQX.js +44 -0
- package/dist/applescript-CUvZM-Da.js +25 -0
- package/dist/applescript-Du_gvVC2.js +134 -0
- package/dist/aql-Dgv0SELr.js +58 -0
- package/dist/arcade-D9a_xSSB.js +127 -0
- package/dist/arduino-CFEhwFVx.js +389 -0
- package/dist/arduino-ChCZAyCM.js +21 -0
- package/dist/arff-CqocPnyE.js +22 -0
- package/dist/armasm-Csvvzoh3.js +54 -0
- package/dist/armasm-D-aW_xRY.js +71 -0
- package/dist/arturo-BNv4BwTT.js +93 -0
- package/dist/asciidoc-BqBFVMZa.js +177 -0
- package/dist/asciidoc-DIgueV5Z.js +206 -0
- package/dist/asm6502-BBL1b2rm.js +41 -0
- package/dist/asmatmel-XbBRhc8b.js +53 -0
- package/dist/aspectj-CGsigJA7.js +146 -0
- package/dist/aspnet-BrsQPoMV.js +53 -0
- package/dist/autohotkey-BUiiDmJm.js +45 -0
- package/dist/autohotkey-BipzdrsK.js +60 -0
- package/dist/autoit-CYMA0m_y.js +139 -0
- package/dist/autoit-Cz-elVYJ.js +39 -0
- package/dist/avisynth-DMCKcoud.js +128 -0
- package/dist/avrasm-D_QpYGXU.js +52 -0
- package/dist/avro-idl-D648BLU1.js +51 -0
- package/dist/awk-BhCmk5Qr.js +64 -0
- package/dist/awk-Di_UhIvW.js +40 -0
- package/dist/axapta-Bx7DNXYD.js +165 -0
- package/dist/bash-BGvyf32s.js +194 -0
- package/dist/bash-Do0cfmaU.js +134 -0
- package/dist/basic-B1qL7Eg-.js +44 -0
- package/dist/basic-DLk7zVoz.js +30 -0
- package/dist/batch-CYi3sOZ3.js +95 -0
- package/dist/bbcode-BwzBuE9Y.js +31 -0
- package/dist/bbj-_oJSbcsY.js +31 -0
- package/dist/bicep-BoQNA9HB.js +70 -0
- package/dist/birb-tHMwg2K3.js +30 -0
- package/dist/bison-BiBFaYLw.js +45 -0
- package/dist/bnf-B9mtolDW.js +33 -0
- package/dist/bnf-CFEhb3Bz.js +26 -0
- package/dist/bqn-Cn-NR812.js +75 -0
- package/dist/brainfuck-D6Uj7Wgf.js +32 -0
- package/dist/brainfuck-WD-GT3He.js +42 -0
- package/dist/brightscript-DXndsJy0.js +55 -0
- package/dist/bro-wNwhmzkS.js +37 -0
- package/dist/bsl-0zUHuFhp.js +48 -0
- package/dist/c-BA8PP4xp.js +224 -0
- package/dist/c-CS0S7Hsb.js +74 -0
- package/dist/c-like-Bv10vGl1.js +389 -0
- package/dist/cal-Cbw-rvwY.js +76 -0
- package/dist/capnproto-DDLpBuTk.js +55 -0
- package/dist/ceylon-2xgEKZCy.js +64 -0
- package/dist/cfscript-BZkFq5td.js +45 -0
- package/dist/chaiscript-CFkArqVM.js +62 -0
- package/dist/chatbot.css +2545 -0
- package/dist/cil-BFN0k4o1.js +30 -0
- package/dist/cilkc-CV-iYFmJ.js +20 -0
- package/dist/cilkcpp-ZRq5zIUM.js +21 -0
- package/dist/clean-C7lfkw75.js +29 -0
- package/dist/clike-BvmU1AL7.js +41 -0
- package/dist/clojure-BKM12ttT.js +42 -0
- package/dist/clojure-Ccn_Mkjj.js +111 -0
- package/dist/clojure-repl-C8V5hiMv.js +23 -0
- package/dist/cmake-B8E3FBzT.js +39 -0
- package/dist/cmake-Cdi3-CyW.js +28 -0
- package/dist/cobol-BpxG2424.js +57 -0
- package/dist/coffeescript-DYxKI72B.js +297 -0
- package/dist/coffeescript-DoyGyxrE.js +81 -0
- package/dist/concurnas-C4USQ-7G.js +71 -0
- package/dist/cooklang-HIWZvfsC.js +130 -0
- package/dist/coq-B_5iojXP.js +31 -0
- package/dist/coq-DrnCBTBE.js +53 -0
- package/dist/cos-CEeGZtWS.js +83 -0
- package/dist/cpp-Bt_M0ejb.js +82 -0
- package/dist/cpp-C368mKg-.js +370 -0
- package/dist/crmsh-Bt-25pma.js +86 -0
- package/dist/crystal-BTPDFDkd.js +260 -0
- package/dist/crystal-Bvp6pk_w.js +64 -0
- package/dist/csharp-ha-Vb1Oy.js +367 -0
- package/dist/csharp-iSWtQEXl.js +301 -0
- package/dist/cshtml-DC91Qnfw.js +107 -0
- package/dist/csp-BFJkxLlp.js +63 -0
- package/dist/csp-dqz05oql.js +30 -0
- package/dist/css-Q6-w6BPM.js +69 -0
- package/dist/css-Xf8T8gBf.js +548 -0
- package/dist/css-extras-DKikefnB.js +106 -0
- package/dist/csv-C1RPSPSV.js +16 -0
- package/dist/cue-B1ngjCsf.js +73 -0
- package/dist/cypher-CNAqBGSd.js +41 -0
- package/dist/d--XifVhSg.js +55 -0
- package/dist/d-CfWXCczD.js +189 -0
- package/dist/dart-B5RqNhq7.js +160 -0
- package/dist/dart-yPrM71Z8.js +70 -0
- package/dist/dataweave-CnMVPL5R.js +49 -0
- package/dist/dax-qj2PhkVy.js +39 -0
- package/dist/delphi-CzPddypc.js +98 -0
- package/dist/dhall-D8w3EE_p.js +64 -0
- package/dist/diff-C0GclY3n.js +53 -0
- package/dist/diff-DOeJfE73.js +76 -0
- package/dist/django-BEI7xlp6.js +65 -0
- package/dist/django-CvTljHWX.js +49 -0
- package/dist/dns-Cp5DngSi.js +33 -0
- package/dist/dns-zone-file-CzjHLEtI.js +39 -0
- package/dist/docker-WzvyXnQv.js +97 -0
- package/dist/dockerfile-BhLJUrvI.js +32 -0
- package/dist/dos-nXUDd5Po.js +45 -0
- package/dist/dot-BVsWNPa1.js +80 -0
- package/dist/dsconfig-BjIvUdaB.js +61 -0
- package/dist/dts-lcJkHkmg.js +121 -0
- package/dist/dust-BkJl_C0B.js +39 -0
- package/dist/ebnf-5ijXtXwI.js +46 -0
- package/dist/ebnf-BBrI9K2I.js +32 -0
- package/dist/editorconfig-DVBnsBb6.js +35 -0
- package/dist/eiffel-2J7b2DcB.js +36 -0
- package/dist/ejs-CP4kAXYf.js +37 -0
- package/dist/elixir-CpC0hC7i.js +93 -0
- package/dist/elixir-DgMJkXsA.js +223 -0
- package/dist/elm-B74Bk5cn.js +38 -0
- package/dist/elm-DDVumTG7.js +87 -0
- package/dist/erb-BkIFRb4T.js +37 -0
- package/dist/erb-CTt4UcM1.js +23 -0
- package/dist/erlang-3FNJE57q.js +52 -0
- package/dist/erlang-C58xuYIJ.js +170 -0
- package/dist/erlang-repl-BpgJ1Xxr.js +66 -0
- package/dist/etlua-BG31uqQg.js +35 -0
- package/dist/excel-DdXdUjKf.js +54 -0
- package/dist/excel-formula-Byfdh1KC.js +64 -0
- package/dist/factor-pxAxDtUC.js +820 -0
- package/dist/false-Co0CrV7Q.js +42 -0
- package/dist/firestore-security-rules-scD08OTG.js +45 -0
- package/dist/fix-D_79Llrz.js +36 -0
- package/dist/flix--VbqUjYc.js +46 -0
- package/dist/flow-zZJ_3F-N.js +36 -0
- package/dist/fortran-D7HwEup2.js +84 -0
- package/dist/fortran-DYbVoxyC.js +42 -0
- package/dist/fsharp-DX49LloV.js +81 -0
- package/dist/fsharp-DbZMl8Dv.js +62 -0
- package/dist/ftl-pgH8LIHL.js +101 -0
- package/dist/gams-DFWqlk55.js +166 -0
- package/dist/gap-BDxcAyiz.js +55 -0
- package/dist/gauss-DSBaIKd4.js +173 -0
- package/dist/gcode-BPLED46Q.js +27 -0
- package/dist/gcode-Bq5Y8rtM.js +71 -0
- package/dist/gdscript-By8Svd7v.js +31 -0
- package/dist/gedcom-CquwXdPw.js +36 -0
- package/dist/gettext-B1OyNTe2.js +54 -0
- package/dist/gherkin-BWl1aynt.js +91 -0
- package/dist/gherkin-DEGWoM5n.js +47 -0
- package/dist/git-Bjdl4gPc.js +24 -0
- package/dist/glsl-Caft6w8K.js +31 -0
- package/dist/glsl-X0AWORVL.js +16 -0
- package/dist/gml-D6CHuP4X.js +28 -0
- package/dist/gml-WTbq0w1K.js +22 -0
- package/dist/gn-Bmk-DXJ0.js +55 -0
- package/dist/go-On4UPj8j.js +58 -0
- package/dist/go-l0rBbtyj.js +36 -0
- package/dist/go-module-CXBkxC1u.js +34 -0
- package/dist/golo-jBTrl-pb.js +27 -0
- package/dist/gradle-BD0xP8L2.js +66 -0
- package/dist/gradle-BvJEPLCP.js +24 -0
- package/dist/graphql-C9JoiNGl.js +178 -0
- package/dist/groovy-BDKJCVqJ.js +134 -0
- package/dist/groovy-C9IvQhOU.js +66 -0
- package/dist/haml-Bl-0saj7.js +102 -0
- package/dist/haml-DTsOZCFy.js +142 -0
- package/dist/handlebars-CgUpx0AJ.js +237 -0
- package/dist/handlebars-DxHgnodb.js +49 -0
- package/dist/haskell-BFcEKjsB.js +129 -0
- package/dist/haskell-DDqg24-B.js +58 -0
- package/dist/haxe-8i2RVBfX.js +139 -0
- package/dist/haxe-BE8mJYBU.js +80 -0
- package/dist/hcl-DtLVjWTj.js +66 -0
- package/dist/hlsl-Drjm86qZ.js +21 -0
- package/dist/hoon-DOfqILFd.js +26 -0
- package/dist/hpkp-CyoH9wLF.js +25 -0
- package/dist/hsp-i7GzEpsD.js +51 -0
- package/dist/hsts-TEUkgO0_.js +25 -0
- package/dist/htmlbars-DXfSuinO.js +243 -0
- package/dist/http-BqI_d45x.js +102 -0
- package/dist/http-Cx72__Yy.js +131 -0
- package/dist/hy-QLZU_M0S.js +97 -0
- package/dist/ichigojam-BOGB8zsN.js +25 -0
- package/dist/icon-JYljK4QF.js +32 -0
- package/dist/icu-message-format-CpcYbRvH.js +137 -0
- package/dist/idris-BJ4tgRDj.js +26 -0
- package/dist/iecst-xg-F-Ri2.js +38 -0
- package/dist/ignore-CsQzbDOY.js +36 -0
- package/dist/index.d.ts +1232 -0
- package/dist/index.js +55163 -0
- package/dist/inform7-2kF6dSmN.js +51 -0
- package/dist/inform7-W_PX01bK.js +66 -0
- package/dist/ini-CyhAKGSk.js +50 -0
- package/dist/ini-DxNsJv_F.js +136 -0
- package/dist/io-BX86W2Nr.js +34 -0
- package/dist/irpf90-Cz4ovG4d.js +77 -0
- package/dist/isbl-DYgyJfqJ.js +118 -0
- package/dist/j-Dl0F3m91.js +38 -0
- package/dist/java-BMhVo9mR.js +144 -0
- package/dist/java-RT4sGLV2.js +116 -0
- package/dist/javadoc-K6-poHdT.js +84 -0
- package/dist/javadoclike-DV682eaV.js +74 -0
- package/dist/javascript-BJ-LeMcK.js +126 -0
- package/dist/javascript-DZR3s47P.js +471 -0
- package/dist/javastacktrace-e_iWBHj3.js +103 -0
- package/dist/jboss-cli-BfGB9_g3.js +52 -0
- package/dist/jexl-C6H3SnN0.js +26 -0
- package/dist/jolie-D1pm4AdS.js +53 -0
- package/dist/jq-J4RdKnWn.js +71 -0
- package/dist/js-extras-DBfQswmg.js +119 -0
- package/dist/js-templates-Bma-myhs.js +264 -0
- package/dist/jsdoc-DAHVa1K-.js +78 -0
- package/dist/json-BOcU6nei.js +40 -0
- package/dist/json-GDytwSqH.js +49 -0
- package/dist/json5-Dldp7b9R.js +32 -0
- package/dist/jsonp-_VvPg4Sq.js +17 -0
- package/dist/jsstacktrace-BGl-gflq.js +49 -0
- package/dist/jsx-D2Jv0wvt.js +103 -0
- package/dist/julia-B3lI6_fR.js +37 -0
- package/dist/julia-CKih7L-u.js +359 -0
- package/dist/julia-repl-Cop0XHfd.js +24 -0
- package/dist/keepalived-z62NV0IY.js +52 -0
- package/dist/keyman-2Zq7Lmix.js +50 -0
- package/dist/kotlin-IK_BsfjS.js +217 -0
- package/dist/kotlin-Za8DfsXK.js +83 -0
- package/dist/kumir-wWKTT1Tn.js +95 -0
- package/dist/kusto-K-lfyykQ.js +45 -0
- package/dist/lasso-BQ0d-ec4.js +132 -0
- package/dist/latex-CbDOwO4M.js +56 -0
- package/dist/latex-hQ09OoNB.js +235 -0
- package/dist/latte-Dw4wWumk.js +69 -0
- package/dist/ldif-D3E6SGvP.js +43 -0
- package/dist/leaf-C7QaLHlz.js +45 -0
- package/dist/less-O6umudeD.js +577 -0
- package/dist/less-YYlzhbKi.js +42 -0
- package/dist/lilypond-BQrWvE8c.js +76 -0
- package/dist/linker-script-Bv92-EWY.js +37 -0
- package/dist/liquid-kagG2ycL.js +72 -0
- package/dist/lisp-BwjhhF3k.js +125 -0
- package/dist/lisp-eQ3hWweO.js +179 -0
- package/dist/livecodeserver-Bcw7s4ld.js +92 -0
- package/dist/livescript-Dx6f2sjw.js +89 -0
- package/dist/livescript-n4ABWPt3.js +314 -0
- package/dist/llvm-BY-qrH6s.js +98 -0
- package/dist/llvm-ChekYxKh.js +31 -0
- package/dist/log-D1Lo4xuI.js +108 -0
- package/dist/lolcode-BwGaELZC.js +59 -0
- package/dist/lsl-BooQQpjX.js +61 -0
- package/dist/lua-CJnCvaiN.js +27 -0
- package/dist/lua-DvtsJ-jt.js +54 -0
- package/dist/magma-B85RjyUD.js +41 -0
- package/dist/makefile-CqtqULKU.js +68 -0
- package/dist/makefile-D6p-QrRH.js +39 -0
- package/dist/markdown-CDKMB1D7.js +206 -0
- package/dist/markup-D2NSmoAx.js +176 -0
- package/dist/markup-templating-Ds-CZFSA.js +96 -0
- package/dist/mata-Dhxcvo2e.js +52 -0
- package/dist/mathematica-D886cK7E.js +6748 -0
- package/dist/matlab-Bb98H89V.js +77 -0
- package/dist/matlab-hmhitwOg.js +24 -0
- package/dist/maxima-D0eE_Dtc.js +44 -0
- package/dist/maxscript-f6eA-aNI.js +64 -0
- package/dist/mel-BJ5B6sMY.js +30 -0
- package/dist/mel-nLuPdSf3.js +56 -0
- package/dist/mercury-C62CCPyQ.js +68 -0
- package/dist/mermaid-DQ_crCJ7.js +102 -0
- package/dist/metafont-CzK4NvN0.js +95 -0
- package/dist/mipsasm-DeMR5-YF.js +59 -0
- package/dist/mizar-CtA-pMOR.js +16 -0
- package/dist/mizar-DuBSAjNN.js +24 -0
- package/dist/mojolicious-D2SpJiH-.js +33 -0
- package/dist/mongodb-D904geno.js +294 -0
- package/dist/monkey-MrC338O0.js +64 -0
- package/dist/monkey-sxg32Zkq.js +40 -0
- package/dist/moonscript-b57HPxdw.js +56 -0
- package/dist/moonscript-w9bBVWSA.js +108 -0
- package/dist/n1ql-C96arvJp.js +33 -0
- package/dist/n1ql-DRmjD5Dx.js +48 -0
- package/dist/n4js-B0G1BP6w.js +21 -0
- package/dist/nand2tetris-hdl-BlZue0BE.js +21 -0
- package/dist/naniscript-DA6Nu-1R.js +159 -0
- package/dist/nasm-CIk3Maz7.js +36 -0
- package/dist/neon-COQc3WnN.js +52 -0
- package/dist/nevod-BYmtc0a2.js +132 -0
- package/dist/nginx-CkGcwumj.js +60 -0
- package/dist/nginx-DHrAxYcc.js +109 -0
- package/dist/nim-BLfhCij5.js +43 -0
- package/dist/nim-DhziuES8.js +55 -0
- package/dist/nix-CaLYae8R.js +56 -0
- package/dist/nix-DEDwHRSe.js +42 -0
- package/dist/node-repl-By_FH_Mf.js +26 -0
- package/dist/nsis-Bg3KzNC4.js +95 -0
- package/dist/nsis-CFkyRB_F.js +42 -0
- package/dist/objectivec-CmlLljpc.js +88 -0
- package/dist/objectivec-DiDoNwgS.js +25 -0
- package/dist/ocaml-GsU0rnxx.js +58 -0
- package/dist/ocaml-pvUnnUZt.js +58 -0
- package/dist/odin-BL970IAo.js +89 -0
- package/dist/opencl-oLMSxXOb.js +56 -0
- package/dist/openqasm-BCXxEzkz.js +30 -0
- package/dist/openscad-MI1WtN4e.js +72 -0
- package/dist/oxygene-CGz_hbo_.js +74 -0
- package/dist/oz-BIEkjqaK.js +37 -0
- package/dist/parigp-DFe_jQ_0.js +57 -0
- package/dist/parser-D8bUDSMy.js +81 -0
- package/dist/parser3-BtcxMqRE.js +46 -0
- package/dist/pascal-Zk9Hdh8x.js +63 -0
- package/dist/pascaligo-DlFj9gb7.js +76 -0
- package/dist/pcaxis-BpZTiG1_.js +64 -0
- package/dist/peoplecode-BvNlpzn4.js +46 -0
- package/dist/perl-D3TeFX3f.js +91 -0
- package/dist/perl-DV1WGcgP.js +459 -0
- package/dist/pf-Bw6YW8GL.js +35 -0
- package/dist/pgsql-DQnMJJhr.js +201 -0
- package/dist/php-BxQ7YaUd.js +298 -0
- package/dist/php-Cx_aOYzh.js +170 -0
- package/dist/php-extras-Cv31MyHh.js +29 -0
- package/dist/php-template-CFgAyXVG.js +49 -0
- package/dist/phpdoc-euK_46wV.js +33 -0
- package/dist/plaintext-BLTGGZjz.js +16 -0
- package/dist/plant-uml-Celo7hWa.js +94 -0
- package/dist/plsql-BMooi3eI.js +27 -0
- package/dist/pony-Bi3ts_x4.js +66 -0
- package/dist/powerquery-BB0neDs8.js +64 -0
- package/dist/powershell-Cp8VIeP5.js +210 -0
- package/dist/powershell-DPXfEh-N.js +50 -0
- package/dist/processing-C2gXKHmX.js +27 -0
- package/dist/processing-DifMMTC4.js +27 -0
- package/dist/profile-D4l4kotj.js +44 -0
- package/dist/prolog-K5CXWNqv.js +68 -0
- package/dist/prolog-jXnGSoER.js +27 -0
- package/dist/promql-B7tjImXR.js +91 -0
- package/dist/properties-Ye-hyWt3.js +70 -0
- package/dist/properties-tZhjkzqv.js +25 -0
- package/dist/protobuf-CFMuPFrb.js +43 -0
- package/dist/protobuf-CtuLNTgo.js +49 -0
- package/dist/psl-CtcmRY88.js +45 -0
- package/dist/pug-DZuWukpE.js +181 -0
- package/dist/puppet-Bbx71Wmu.js +91 -0
- package/dist/puppet-DWNpvtV0.js +109 -0
- package/dist/pure-Bu8y9uqf.js +84 -0
- package/dist/purebasic-CrbZ5tkq.js +48 -0
- package/dist/purebasic-DXeoj54G.js +68 -0
- package/dist/purescript-DEmt8FwY.js +33 -0
- package/dist/python-B_JMVOcZ.js +72 -0
- package/dist/python-D4vn1uqn.js +364 -0
- package/dist/python-repl-Byh0otOf.js +25 -0
- package/dist/q-CKXvfs03.js +27 -0
- package/dist/q-Clh6z-st.js +51 -0
- package/dist/qml-7YQvVjZV.js +159 -0
- package/dist/qml-DJbzw6kj.js +73 -0
- package/dist/qore-BhVfCXhu.js +34 -0
- package/dist/qsharp-DuDOe5Uc.js +115 -0
- package/dist/r-DYPUJFxX.js +29 -0
- package/dist/r-xHPskriK.js +164 -0
- package/dist/racket-CpODvyno.js +25 -0
- package/dist/reason-hsgArTvF.js +36 -0
- package/dist/reasonml-CbjAE68o.js +250 -0
- package/dist/regex-2mVRU0vI.js +95 -0
- package/dist/rego-D-V3VB8C.js +37 -0
- package/dist/renpy-aW3v6IgL.js +31 -0
- package/dist/rescript-CWaXnGHS.js +69 -0
- package/dist/rest-3fUpY2PO.js +162 -0
- package/dist/rib-CL2NFDmg.js +22 -0
- package/dist/rip-B6YYwony.js +41 -0
- package/dist/roboconf-0Rlei8gQ.js +59 -0
- package/dist/roboconf-IXUuBa8p.js +39 -0
- package/dist/robotframework-BF9E-Oq9.js +93 -0
- package/dist/rolldown-runtime-DZ8SGSJo.js +46 -0
- package/dist/routeros-C-AWVQjj.js +115 -0
- package/dist/rsl-DMuV0iZO.js +40 -0
- package/dist/ruby-B8TWD6ep.js +175 -0
- package/dist/ruby-Y4gGIG3V.js +262 -0
- package/dist/ruleslanguage-BktxDuZ-.js +32 -0
- package/dist/rust-DwYwyKSC.js +86 -0
- package/dist/rust-NN7KgEj6.js +106 -0
- package/dist/sas-B1HEHqVJ.js +52 -0
- package/dist/sas-smX4XTMW.js +305 -0
- package/dist/sass-C7gSyJgV.js +65 -0
- package/dist/scala-B-Qmrms2.js +121 -0
- package/dist/scala-DjG8SNwu.js +61 -0
- package/dist/scheme-B4kNWGag.js +90 -0
- package/dist/scheme-DJqOei9g.js +123 -0
- package/dist/scilab-CWFPBszJ.js +51 -0
- package/dist/scss-BNucVCwH.js +521 -0
- package/dist/scss-DUnVt122.js +70 -0
- package/dist/shell-B5PfXmNL.js +24 -0
- package/dist/shell-session-DPhnV0Ol.js +54 -0
- package/dist/smali-2GrwCIpm.js +119 -0
- package/dist/smali-8R0QXZ1X.js +84 -0
- package/dist/smalltalk-B22GLwys.js +57 -0
- package/dist/smalltalk-O6cEa_14.js +47 -0
- package/dist/smarty-Wq_5DAYj.js +118 -0
- package/dist/sml-CSXKPo20.js +58 -0
- package/dist/sml-D31kAWsT.js +55 -0
- package/dist/solidity-BX0gWWmL.js +30 -0
- package/dist/solution-file-CgB6LaL7.js +47 -0
- package/dist/soy-DcXj4tw-.js +86 -0
- package/dist/sparql-D0_2Fxvf.js +28 -0
- package/dist/splunk-spl-BV7tASCi.js +34 -0
- package/dist/sqf-BYrbmp09.js +77 -0
- package/dist/sqf-DDMLiWt_.js +45 -0
- package/dist/sql-DHCn-YZP.js +39 -0
- package/dist/sql-DuLQt3Do.js +656 -0
- package/dist/sql_more-C5b-5T7L.js +58 -0
- package/dist/squirrel-EsqR0JNY.js +51 -0
- package/dist/stan-BssIIRc4.js +60 -0
- package/dist/stan-CaMlw6vU.js +516 -0
- package/dist/stata-CqA7wg7c.js +38 -0
- package/dist/stata-Da4jTQPC.js +82 -0
- package/dist/step21-DvwfW_IY.js +55 -0
- package/dist/stylus-C9svphNf.js +132 -0
- package/dist/stylus-DvJwDpBW.js +552 -0
- package/dist/subunit-eIEQRjTD.js +40 -0
- package/dist/supercollider-D7qIEU9I.js +43 -0
- package/dist/swift-B_iuCH-N.js +106 -0
- package/dist/swift-D2JCuwOw.js +603 -0
- package/dist/systemd-7dRag1wn.js +58 -0
- package/dist/t4-cs-CZCr77ej.js +18 -0
- package/dist/t4-templating-8CSCnuNF.js +52 -0
- package/dist/t4-vb-DJLoxP6-.js +18 -0
- package/dist/taggerscript-DUgIsxmY.js +42 -0
- package/dist/tap-BrbYnFCE.js +36 -0
- package/dist/tap-CKwf9TXR.js +35 -0
- package/dist/tcl-Bu0LzhCS.js +78 -0
- package/dist/tcl-CLjFvMbO.js +55 -0
- package/dist/textile-CVDmKYP-.js +225 -0
- package/dist/thrift-2RQozBtH.js +42 -0
- package/dist/toml-51NMgcfs.js +55 -0
- package/dist/tp-CyHTvTrB.js +81 -0
- package/dist/tremor-x6QV0U7k.js +68 -0
- package/dist/tt2-DQEZxDDN.js +52 -0
- package/dist/turtle-BHrc5ZDj.js +55 -0
- package/dist/twig-6D_FmMc3.js +66 -0
- package/dist/twig-DKqqr-bJ.js +46 -0
- package/dist/typescript-DAau_Qyl.js +59 -0
- package/dist/typescript-VRQ57_wQ.js +543 -0
- package/dist/typoscript-DHP8Z-kM.js +68 -0
- package/dist/unrealscript-BpMIC14v.js +50 -0
- package/dist/uorazor-BCojFkBB.js +55 -0
- package/dist/uri-M2gkNRgb.js +82 -0
- package/dist/v-Ba5p0lq0.js +84 -0
- package/dist/vala-D3hq3MeR.js +46 -0
- package/dist/vala-DxoZQIIV.js +82 -0
- package/dist/vbnet-MuzuuWpL.js +32 -0
- package/dist/vbnet-Rq0E4ZR6.js +121 -0
- package/dist/vbscript-B7FWGi6x.js +74 -0
- package/dist/vbscript-html-I7g2pYpY.js +20 -0
- package/dist/velocity-BZ2VAtwT.js +75 -0
- package/dist/verilog-DEPPw4lO.js +33 -0
- package/dist/verilog-qzgb0TgN.js +57 -0
- package/dist/vhdl-B7y5aUAt.js +34 -0
- package/dist/vhdl-D3415_vm.js +41 -0
- package/dist/vim-B7TjZscD.js +22 -0
- package/dist/vim-CnJA9w_8.js +53 -0
- package/dist/visual-basic-Cm0hN-XS.js +38 -0
- package/dist/warpscript-DIGSvxt1.js +29 -0
- package/dist/wasm-DmfEOzK3.js +36 -0
- package/dist/web-idl-Cfp4jeUC.js +81 -0
- package/dist/wgsl-DZ2gPgxi.js +100 -0
- package/dist/wiki-S_gOOWds.js +78 -0
- package/dist/wolfram-DI0W_dps.js +43 -0
- package/dist/wren-DRByg6bM.js +75 -0
- package/dist/x86asm-D_CYdoi_.js +70 -0
- package/dist/xeora-BoP7XsiS.js +84 -0
- package/dist/xl-dSbpxWTw.js +70 -0
- package/dist/xml-Bx1rhJem.js +220 -0
- package/dist/xml-doc-gUAATbC1.js +42 -0
- package/dist/xojo-DsgNc5p9.js +30 -0
- package/dist/xquery-Bc1R9nUG.js +129 -0
- package/dist/xquery-Bih1YSSU.js +120 -0
- package/dist/yaml-C888tCbJ.js +92 -0
- package/dist/yaml-sXJydZ-C.js +155 -0
- package/dist/yang-BPvrq4K7.js +30 -0
- package/dist/zephir-DLtCQJhr.js +80 -0
- package/dist/zig-XkIsWF4D.js +76 -0
- package/package.json +84 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-DZ8SGSJo.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/languages/verilog.js
|
|
4
|
+
var require_verilog = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
function verilog(hljs) {
|
|
6
|
+
return {
|
|
7
|
+
name: "Verilog",
|
|
8
|
+
aliases: [
|
|
9
|
+
"v",
|
|
10
|
+
"sv",
|
|
11
|
+
"svh"
|
|
12
|
+
],
|
|
13
|
+
case_insensitive: false,
|
|
14
|
+
keywords: {
|
|
15
|
+
$pattern: /[\w\$]+/,
|
|
16
|
+
keyword: "accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",
|
|
17
|
+
literal: "null",
|
|
18
|
+
built_in: "$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"
|
|
19
|
+
},
|
|
20
|
+
contains: [
|
|
21
|
+
hljs.C_BLOCK_COMMENT_MODE,
|
|
22
|
+
hljs.C_LINE_COMMENT_MODE,
|
|
23
|
+
hljs.QUOTE_STRING_MODE,
|
|
24
|
+
{
|
|
25
|
+
className: "number",
|
|
26
|
+
contains: [hljs.BACKSLASH_ESCAPE],
|
|
27
|
+
variants: [
|
|
28
|
+
{ begin: "\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)" },
|
|
29
|
+
{ begin: "\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)" },
|
|
30
|
+
{
|
|
31
|
+
begin: "\\b([0-9_])+",
|
|
32
|
+
relevance: 0
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
className: "variable",
|
|
38
|
+
variants: [{ begin: "#\\((?!parameter).+\\)" }, {
|
|
39
|
+
begin: "\\.\\w+",
|
|
40
|
+
relevance: 0
|
|
41
|
+
}]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
className: "meta",
|
|
45
|
+
begin: "`",
|
|
46
|
+
end: "$",
|
|
47
|
+
keywords: { "meta-keyword": "define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall" },
|
|
48
|
+
relevance: 0
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
module.exports = verilog;
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
export default require_verilog();
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/vhdl.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
vhdl.displayName = "vhdl";
|
|
6
|
+
vhdl.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function vhdl(Prism) {
|
|
9
|
+
Prism.languages.vhdl = {
|
|
10
|
+
comment: /--.+/,
|
|
11
|
+
"vhdl-vectors": {
|
|
12
|
+
pattern: /\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,
|
|
13
|
+
alias: "number"
|
|
14
|
+
},
|
|
15
|
+
"quoted-function": {
|
|
16
|
+
pattern: /"\S+?"(?=\()/,
|
|
17
|
+
alias: "function"
|
|
18
|
+
},
|
|
19
|
+
string: /"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,
|
|
20
|
+
attribute: {
|
|
21
|
+
pattern: /\b'\w+/,
|
|
22
|
+
alias: "attr-name"
|
|
23
|
+
},
|
|
24
|
+
keyword: /\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,
|
|
25
|
+
boolean: /\b(?:false|true)\b/i,
|
|
26
|
+
function: /\w+(?=\()/,
|
|
27
|
+
number: /'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,
|
|
28
|
+
operator: /[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,
|
|
29
|
+
punctuation: /[{}[\];(),.:]/
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { vhdl as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-DZ8SGSJo.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/languages/vhdl.js
|
|
4
|
+
var require_vhdl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
function vhdl(hljs) {
|
|
6
|
+
return {
|
|
7
|
+
name: "VHDL",
|
|
8
|
+
case_insensitive: true,
|
|
9
|
+
keywords: {
|
|
10
|
+
keyword: "abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",
|
|
11
|
+
built_in: "boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",
|
|
12
|
+
literal: "false true note warning error failure line text side width"
|
|
13
|
+
},
|
|
14
|
+
illegal: /\{/,
|
|
15
|
+
contains: [
|
|
16
|
+
hljs.C_BLOCK_COMMENT_MODE,
|
|
17
|
+
hljs.COMMENT("--", "$"),
|
|
18
|
+
hljs.QUOTE_STRING_MODE,
|
|
19
|
+
{
|
|
20
|
+
className: "number",
|
|
21
|
+
begin: "\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",
|
|
22
|
+
relevance: 0
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
className: "string",
|
|
26
|
+
begin: "'(U|X|0|1|Z|W|L|H|-)'",
|
|
27
|
+
contains: [hljs.BACKSLASH_ESCAPE]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
className: "symbol",
|
|
31
|
+
begin: "'[A-Za-z](_?[A-Za-z0-9])*",
|
|
32
|
+
contains: [hljs.BACKSLASH_ESCAPE]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
module.exports = vhdl;
|
|
38
|
+
}));
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export default require_vhdl();
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/vim.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
vim.displayName = "vim";
|
|
6
|
+
vim.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function vim(Prism) {
|
|
9
|
+
Prism.languages.vim = {
|
|
10
|
+
string: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,
|
|
11
|
+
comment: /".*/,
|
|
12
|
+
function: /\b\w+(?=\()/,
|
|
13
|
+
keyword: /\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,
|
|
14
|
+
builtin: /\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,
|
|
15
|
+
number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,
|
|
16
|
+
operator: /\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,
|
|
17
|
+
punctuation: /[{}[\](),;:]/
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { vim as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-DZ8SGSJo.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/languages/vim.js
|
|
4
|
+
var require_vim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
function vim(hljs) {
|
|
6
|
+
return {
|
|
7
|
+
name: "Vim Script",
|
|
8
|
+
keywords: {
|
|
9
|
+
$pattern: /[!#@\w]+/,
|
|
10
|
+
keyword: "N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",
|
|
11
|
+
built_in: "synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"
|
|
12
|
+
},
|
|
13
|
+
illegal: /;/,
|
|
14
|
+
contains: [
|
|
15
|
+
hljs.NUMBER_MODE,
|
|
16
|
+
{
|
|
17
|
+
className: "string",
|
|
18
|
+
begin: "'",
|
|
19
|
+
end: "'",
|
|
20
|
+
illegal: "\\n"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
className: "string",
|
|
24
|
+
begin: /"(\\"|\n\\|[^"\n])*"/
|
|
25
|
+
},
|
|
26
|
+
hljs.COMMENT("\"", "$"),
|
|
27
|
+
{
|
|
28
|
+
className: "variable",
|
|
29
|
+
begin: /[bwtglsav]:[\w\d_]*/
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
className: "function",
|
|
33
|
+
beginKeywords: "function function!",
|
|
34
|
+
end: "$",
|
|
35
|
+
relevance: 0,
|
|
36
|
+
contains: [hljs.TITLE_MODE, {
|
|
37
|
+
className: "params",
|
|
38
|
+
begin: "\\(",
|
|
39
|
+
end: "\\)"
|
|
40
|
+
}]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
className: "symbol",
|
|
44
|
+
begin: /<[\w-]+>/
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
module.exports = vim;
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
export default require_vim();
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/visual-basic.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
visualBasic.displayName = "visual-basic";
|
|
6
|
+
visualBasic.aliases = ["vb", "vba"];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function visualBasic(Prism) {
|
|
9
|
+
Prism.languages["visual-basic"] = {
|
|
10
|
+
comment: {
|
|
11
|
+
pattern: /(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,
|
|
12
|
+
inside: { keyword: /^REM/i }
|
|
13
|
+
},
|
|
14
|
+
directive: {
|
|
15
|
+
pattern: /#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,
|
|
16
|
+
alias: "property",
|
|
17
|
+
greedy: true
|
|
18
|
+
},
|
|
19
|
+
string: {
|
|
20
|
+
pattern: /\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,
|
|
21
|
+
greedy: true
|
|
22
|
+
},
|
|
23
|
+
date: {
|
|
24
|
+
pattern: /#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,
|
|
25
|
+
alias: "number"
|
|
26
|
+
},
|
|
27
|
+
number: /(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,
|
|
28
|
+
boolean: /\b(?:False|Nothing|True)\b/i,
|
|
29
|
+
keyword: /\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,
|
|
30
|
+
operator: /[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,
|
|
31
|
+
punctuation: /[{}().,:?]/
|
|
32
|
+
};
|
|
33
|
+
Prism.languages.vb = Prism.languages["visual-basic"];
|
|
34
|
+
Prism.languages.vba = Prism.languages["visual-basic"];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { visualBasic as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/warpscript.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
warpscript.displayName = "warpscript";
|
|
6
|
+
warpscript.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function warpscript(Prism) {
|
|
9
|
+
Prism.languages.warpscript = {
|
|
10
|
+
comment: /#.*|\/\/.*|\/\*[\s\S]*?\*\//,
|
|
11
|
+
string: {
|
|
12
|
+
pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,
|
|
13
|
+
greedy: true
|
|
14
|
+
},
|
|
15
|
+
variable: /\$\S+/,
|
|
16
|
+
macro: {
|
|
17
|
+
pattern: /@\S+/,
|
|
18
|
+
alias: "property"
|
|
19
|
+
},
|
|
20
|
+
keyword: /\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,
|
|
21
|
+
number: /[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,
|
|
22
|
+
boolean: /\b(?:F|T|false|true)\b/,
|
|
23
|
+
punctuation: /<%|%>|[{}[\]()]/,
|
|
24
|
+
operator: /==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { warpscript as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/wasm.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
wasm.displayName = "wasm";
|
|
6
|
+
wasm.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function wasm(Prism) {
|
|
9
|
+
Prism.languages.wasm = {
|
|
10
|
+
comment: [/\(;[\s\S]*?;\)/, {
|
|
11
|
+
pattern: /;;.*/,
|
|
12
|
+
greedy: true
|
|
13
|
+
}],
|
|
14
|
+
string: {
|
|
15
|
+
pattern: /"(?:\\[\s\S]|[^"\\])*"/,
|
|
16
|
+
greedy: true
|
|
17
|
+
},
|
|
18
|
+
keyword: [
|
|
19
|
+
{
|
|
20
|
+
pattern: /\b(?:align|offset)=/,
|
|
21
|
+
inside: { operator: /=/ }
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
pattern: /\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,
|
|
25
|
+
inside: { punctuation: /\./ }
|
|
26
|
+
},
|
|
27
|
+
/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/
|
|
28
|
+
],
|
|
29
|
+
variable: /\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,
|
|
30
|
+
number: /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,
|
|
31
|
+
punctuation: /[()]/
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { wasm as default };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/web-idl.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
webIdl.displayName = "web-idl";
|
|
6
|
+
webIdl.aliases = ["webidl"];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function webIdl(Prism) {
|
|
9
|
+
(function(Prism) {
|
|
10
|
+
var id = /(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source;
|
|
11
|
+
var type = "(?:" + /\b(?:unsigned\s+)?long\s+long(?![\w-])/.source + "|" + /\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source + "|" + /(?!(?:unrestricted|unsigned)\b)/.source + id + /(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source + ")" + /(?:\s*\?)?/.source;
|
|
12
|
+
var typeInside = {};
|
|
13
|
+
Prism.languages["web-idl"] = {
|
|
14
|
+
comment: {
|
|
15
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
16
|
+
greedy: true
|
|
17
|
+
},
|
|
18
|
+
string: {
|
|
19
|
+
pattern: /"[^"]*"/,
|
|
20
|
+
greedy: true
|
|
21
|
+
},
|
|
22
|
+
namespace: {
|
|
23
|
+
pattern: RegExp(/(\bnamespace\s+)/.source + id),
|
|
24
|
+
lookbehind: true
|
|
25
|
+
},
|
|
26
|
+
"class-name": [
|
|
27
|
+
{
|
|
28
|
+
pattern: /(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,
|
|
29
|
+
lookbehind: true,
|
|
30
|
+
inside: typeInside
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
pattern: RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source + type),
|
|
34
|
+
lookbehind: true,
|
|
35
|
+
inside: typeInside
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
pattern: RegExp("(" + /\bcallback\s+/.source + id + /\s*=\s*/.source + ")" + type),
|
|
39
|
+
lookbehind: true,
|
|
40
|
+
inside: typeInside
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
pattern: RegExp(/(\btypedef\b\s*)/.source + type),
|
|
44
|
+
lookbehind: true,
|
|
45
|
+
inside: typeInside
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
pattern: RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source + id),
|
|
49
|
+
lookbehind: true
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
pattern: RegExp(/(:\s*)/.source + id),
|
|
53
|
+
lookbehind: true
|
|
54
|
+
},
|
|
55
|
+
RegExp(id + /(?=\s+(?:implements|includes)\b)/.source),
|
|
56
|
+
{
|
|
57
|
+
pattern: RegExp(/(\b(?:implements|includes)\s+)/.source + id),
|
|
58
|
+
lookbehind: true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
pattern: RegExp(type + "(?=" + /\s*(?:\.{3}\s*)?/.source + id + /\s*[(),;=]/.source + ")"),
|
|
62
|
+
inside: typeInside
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
builtin: /\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,
|
|
66
|
+
keyword: [/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/, /\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],
|
|
67
|
+
boolean: /\b(?:false|true)\b/,
|
|
68
|
+
number: {
|
|
69
|
+
pattern: /(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,
|
|
70
|
+
lookbehind: true
|
|
71
|
+
},
|
|
72
|
+
operator: /\.{3}|[=:?<>-]/,
|
|
73
|
+
punctuation: /[(){}[\].,;]/
|
|
74
|
+
};
|
|
75
|
+
for (var key in Prism.languages["web-idl"]) if (key !== "class-name") typeInside[key] = Prism.languages["web-idl"][key];
|
|
76
|
+
Prism.languages["webidl"] = Prism.languages["web-idl"];
|
|
77
|
+
})(Prism);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
//#endregion
|
|
81
|
+
export { webIdl as default };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/wgsl.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
wgsl.displayName = "wgsl";
|
|
6
|
+
wgsl.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function wgsl(Prism) {
|
|
9
|
+
Prism.languages.wgsl = {
|
|
10
|
+
comment: {
|
|
11
|
+
pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
12
|
+
greedy: true
|
|
13
|
+
},
|
|
14
|
+
"builtin-attribute": {
|
|
15
|
+
pattern: /(@)builtin\(.*?\)/,
|
|
16
|
+
lookbehind: true,
|
|
17
|
+
inside: {
|
|
18
|
+
attribute: {
|
|
19
|
+
pattern: /^builtin/,
|
|
20
|
+
alias: "attr-name"
|
|
21
|
+
},
|
|
22
|
+
punctuation: /[(),]/,
|
|
23
|
+
"built-in-values": {
|
|
24
|
+
pattern: /\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,
|
|
25
|
+
alias: "attr-value"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
attributes: {
|
|
30
|
+
pattern: /(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,
|
|
31
|
+
lookbehind: true,
|
|
32
|
+
alias: "attr-name"
|
|
33
|
+
},
|
|
34
|
+
functions: {
|
|
35
|
+
pattern: /\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,
|
|
36
|
+
lookbehind: true,
|
|
37
|
+
alias: "function"
|
|
38
|
+
},
|
|
39
|
+
keyword: /\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,
|
|
40
|
+
builtin: /\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,
|
|
41
|
+
"function-calls": {
|
|
42
|
+
pattern: /\b[_a-z]\w*(?=\()/i,
|
|
43
|
+
alias: "function"
|
|
44
|
+
},
|
|
45
|
+
"class-name": /\b(?:[A-Z][A-Za-z0-9]*)\b/,
|
|
46
|
+
"bool-literal": {
|
|
47
|
+
pattern: /\b(?:false|true)\b/,
|
|
48
|
+
alias: "boolean"
|
|
49
|
+
},
|
|
50
|
+
"hex-int-literal": {
|
|
51
|
+
pattern: /\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,
|
|
52
|
+
alias: "number"
|
|
53
|
+
},
|
|
54
|
+
"hex-float-literal": {
|
|
55
|
+
pattern: /\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,
|
|
56
|
+
alias: "number"
|
|
57
|
+
},
|
|
58
|
+
"decimal-float-literal": [
|
|
59
|
+
{
|
|
60
|
+
pattern: /\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,
|
|
61
|
+
alias: "number"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
pattern: /\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,
|
|
65
|
+
alias: "number"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
pattern: /\d+[eE](?:\+|-)?\d+[fh]?/,
|
|
69
|
+
alias: "number"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
pattern: /\b\d+[fh]\b/,
|
|
73
|
+
alias: "number"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"int-literal": {
|
|
77
|
+
pattern: /\b\d+[iu]?\b/,
|
|
78
|
+
alias: "number"
|
|
79
|
+
},
|
|
80
|
+
operator: [
|
|
81
|
+
{ pattern: /(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/ },
|
|
82
|
+
{ pattern: /&(?![&=])/ },
|
|
83
|
+
{ pattern: /(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/ },
|
|
84
|
+
{
|
|
85
|
+
pattern: /(^|[^<>=!])=(?![=>])/,
|
|
86
|
+
lookbehind: true
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
pattern: /(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,
|
|
90
|
+
lookbehind: true
|
|
91
|
+
},
|
|
92
|
+
{ pattern: /(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/ },
|
|
93
|
+
{ pattern: /->/ }
|
|
94
|
+
],
|
|
95
|
+
punctuation: /[@(){}[\],;<>:.]/
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
//#endregion
|
|
100
|
+
export { wgsl as default };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { t as markup } from "./markup-D2NSmoAx.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/wiki.js
|
|
4
|
+
/**
|
|
5
|
+
* @import {Refractor} from '../lib/core.js'
|
|
6
|
+
*/
|
|
7
|
+
wiki.displayName = "wiki";
|
|
8
|
+
wiki.aliases = [];
|
|
9
|
+
/** @param {Refractor} Prism */
|
|
10
|
+
function wiki(Prism) {
|
|
11
|
+
Prism.register(markup);
|
|
12
|
+
Prism.languages.wiki = Prism.languages.extend("markup", {
|
|
13
|
+
"block-comment": {
|
|
14
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
|
|
15
|
+
lookbehind: true,
|
|
16
|
+
alias: "comment"
|
|
17
|
+
},
|
|
18
|
+
heading: {
|
|
19
|
+
pattern: /^(=+)[^=\r\n].*?\1/m,
|
|
20
|
+
inside: {
|
|
21
|
+
punctuation: /^=+|=+$/,
|
|
22
|
+
important: /.+/
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emphasis: {
|
|
26
|
+
pattern: /('{2,5}).+?\1/,
|
|
27
|
+
inside: {
|
|
28
|
+
"bold-italic": {
|
|
29
|
+
pattern: /(''''').+?(?=\1)/,
|
|
30
|
+
lookbehind: true,
|
|
31
|
+
alias: ["bold", "italic"]
|
|
32
|
+
},
|
|
33
|
+
bold: {
|
|
34
|
+
pattern: /(''')[^'](?:.*?[^'])?(?=\1)/,
|
|
35
|
+
lookbehind: true
|
|
36
|
+
},
|
|
37
|
+
italic: {
|
|
38
|
+
pattern: /('')[^'](?:.*?[^'])?(?=\1)/,
|
|
39
|
+
lookbehind: true
|
|
40
|
+
},
|
|
41
|
+
punctuation: /^''+|''+$/
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
hr: {
|
|
45
|
+
pattern: /^-{4,}/m,
|
|
46
|
+
alias: "punctuation"
|
|
47
|
+
},
|
|
48
|
+
url: [/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i, /\[\[.+?\]\]|\[.+?\]/],
|
|
49
|
+
variable: [
|
|
50
|
+
/__[A-Z]+__/,
|
|
51
|
+
/\{{3}.+?\}{3}/,
|
|
52
|
+
/\{\{.+?\}\}/
|
|
53
|
+
],
|
|
54
|
+
symbol: [/^#redirect/im, /~{3,5}/],
|
|
55
|
+
"table-tag": {
|
|
56
|
+
pattern: /((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,
|
|
57
|
+
lookbehind: true,
|
|
58
|
+
inside: {
|
|
59
|
+
"table-bar": {
|
|
60
|
+
pattern: /\|$/,
|
|
61
|
+
alias: "punctuation"
|
|
62
|
+
},
|
|
63
|
+
rest: Prism.languages.markup["tag"].inside
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
punctuation: /^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m
|
|
67
|
+
});
|
|
68
|
+
Prism.languages.insertBefore("wiki", "tag", { nowiki: {
|
|
69
|
+
pattern: /<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,
|
|
70
|
+
inside: { tag: {
|
|
71
|
+
pattern: /<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,
|
|
72
|
+
inside: Prism.languages.markup["tag"].inside
|
|
73
|
+
} }
|
|
74
|
+
} });
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
export { wiki as default };
|