svelte-highlight 7.15.0 → 7.16.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/Highlight.svelte +14 -5
- package/Highlight.svelte.d.ts +15 -0
- package/HighlightAuto.svelte +29 -8
- package/HighlightAuto.svelte.d.ts +17 -0
- package/HighlightEditable.svelte +175 -16
- package/HighlightEditable.svelte.d.ts +6 -2
- package/HighlightStream.svelte +129 -14
- package/HighlightStyle.svelte +52 -15
- package/HighlightStyle.svelte.d.ts +25 -12
- package/HighlightSvelte.svelte +14 -5
- package/HighlightSvelte.svelte.d.ts +15 -0
- package/HighlightVirtual.svelte +229 -0
- package/HighlightVirtual.svelte.d.ts +36 -0
- package/LICENSE.highlight.txt +39 -0
- package/LineNumbers.svelte +2 -1
- package/README.md +379 -34
- package/Typewriter.svelte +13 -42
- package/action.js +6 -6
- package/compat.d.ts +13 -0
- package/compat.js +42 -0
- package/convert-language.d.ts +13 -0
- package/convert-language.js +203 -0
- package/engine.d.ts +215 -0
- package/engine.js +1330 -0
- package/highlight-theme.d.ts +6 -0
- package/highlight-theme.js +77 -0
- package/incremental-tokenize.js +242 -0
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/languages/1c.js +1360 -3
- package/languages/abnf.js +89 -3
- package/languages/accesslog.js +88 -3
- package/languages/actionscript.js +221 -3
- package/languages/ada.js +235 -3
- package/languages/all.d.ts +4 -0
- package/languages/all.js +497 -0
- package/languages/angelscript.js +177 -3
- package/languages/apache.js +99 -3
- package/languages/applescript.js +291 -3
- package/languages/arcade.js +1040 -3
- package/languages/arduino.js +6201 -3
- package/languages/armasm.js +551 -3
- package/languages/asciidoc.js +237 -3
- package/languages/aspectj.js +770 -3
- package/languages/astro.js +70 -60
- package/languages/autohotkey.js +133 -3
- package/languages/autoit.js +598 -3
- package/languages/avrasm.js +372 -3
- package/languages/awk.js +115 -3
- package/languages/axapta.js +451 -3
- package/languages/bash.js +335 -3
- package/languages/basic.js +262 -3
- package/languages/bibtex.js +47 -45
- package/languages/bicep.js +141 -75
- package/languages/blade.js +96 -88
- package/languages/bnf.js +53 -3
- package/languages/brainfuck.js +69 -3
- package/languages/c.js +2283 -3
- package/languages/caddy.js +131 -56
- package/languages/cairo.js +165 -81
- package/languages/cal.js +197 -3
- package/languages/capnproto.js +105 -3
- package/languages/ceylon.js +188 -3
- package/languages/clarity.js +157 -52
- package/languages/clean.js +107 -3
- package/languages/clojure-repl.js +25 -3
- package/languages/clojure.js +553 -3
- package/languages/cmake.js +223 -3
- package/languages/coffeescript.js +827 -3
- package/languages/coq.js +447 -3
- package/languages/cos.js +183 -3
- package/languages/cpp.js +2288 -3
- package/languages/crmsh.js +201 -3
- package/languages/crystal.js +740 -3
- package/languages/csharp.js +1113 -3
- package/languages/csp.js +49 -3
- package/languages/css.js +216 -3
- package/languages/cue.js +137 -95
- package/languages/cypher.js +145 -67
- package/languages/d.js +244 -3
- package/languages/d2.js +118 -58
- package/languages/dart.js +309 -3
- package/languages/dax.js +270 -73
- package/languages/delphi.js +468 -3
- package/languages/dhall.js +160 -78
- package/languages/diff.js +37 -3
- package/languages/django.js +216 -3
- package/languages/dns.js +103 -3
- package/languages/dockerfile.js +82 -3
- package/languages/dos.js +173 -3
- package/languages/dotenv.js +71 -45
- package/languages/dsconfig.js +76 -3
- package/languages/dts.js +199 -3
- package/languages/dust.js +57 -3
- package/languages/ebnf.js +45 -3
- package/languages/elixir.js +517 -3
- package/languages/elm.js +172 -3
- package/languages/erb.js +39 -3
- package/languages/erlang-repl.js +108 -3
- package/languages/erlang.js +355 -3
- package/languages/excel.js +593 -3
- package/languages/fish.js +117 -73
- package/languages/fix.js +38 -3
- package/languages/flix.js +107 -3
- package/languages/fortran.js +630 -3
- package/languages/fsharp.js +850 -3
- package/languages/gams.js +705 -3
- package/languages/gauss.js +3845 -3
- package/languages/gcode.js +181 -3
- package/languages/gdscript.d.ts +2 -0
- package/languages/gdscript.js +158 -0
- package/languages/gherkin.js +68 -3
- package/languages/gleam.js +115 -68
- package/languages/glsl.js +638 -3
- package/languages/gml.js +3151 -3
- package/languages/go.js +253 -3
- package/languages/golo.js +97 -3
- package/languages/gradle.js +233 -3
- package/languages/graphql.js +101 -3
- package/languages/groovy.js +209 -3
- package/languages/groq.js +94 -86
- package/languages/haml.js +111 -3
- package/languages/handlebars.js +368 -3
- package/languages/haskell.js +272 -3
- package/languages/haxe.js +290 -3
- package/languages/hcl.js +143 -80
- package/languages/heex.d.ts +2 -0
- package/languages/heex.js +130 -0
- package/languages/hlsl.js +303 -89
- package/languages/hsp.js +490 -3
- package/languages/html.js +203 -158
- package/languages/http.js +84 -3
- package/languages/hy.js +423 -3
- package/languages/index.d.ts +11 -2
- package/languages/index.js +3 -0
- package/languages/inform7.js +63 -3
- package/languages/ini.js +89 -3
- package/languages/irpf90.js +612 -3
- package/languages/isbl.js +10135 -3
- package/languages/java.js +550 -3
- package/languages/javascript.js +1240 -3
- package/languages/jboss-cli.js +114 -3
- package/languages/jq.js +328 -117
- package/languages/json.js +96 -3
- package/languages/json5.js +107 -53
- package/languages/jsonc.js +75 -34
- package/languages/jsonnet.js +138 -68
- package/languages/julia-repl.js +33 -3
- package/languages/julia.js +621 -3
- package/languages/just.js +225 -116
- package/languages/kotlin.js +595 -3
- package/languages/kql.js +275 -113
- package/languages/lasso.js +568 -3
- package/languages/latex.js +670 -3
- package/languages/ldif.js +41 -3
- package/languages/leaf.js +60 -3
- package/languages/less.js +787 -3
- package/languages/liquid.js +113 -54
- package/languages/lisp.js +150 -3
- package/languages/livecodeserver.js +828 -3
- package/languages/livescript.js +1082 -3
- package/languages/llvm.js +369 -3
- package/languages/logql.js +119 -79
- package/languages/lsl.js +130 -3
- package/languages/lua.js +278 -3
- package/languages/makefile.js +124 -3
- package/languages/markdown.js +222 -3
- package/languages/marko.js +148 -165
- package/languages/mathematica.js +99 -3
- package/languages/matlab.js +335 -3
- package/languages/maxima.js +2495 -3
- package/languages/mdx.js +106 -74
- package/languages/mel.js +1309 -3
- package/languages/mercury.js +231 -3
- package/languages/mipsasm.js +289 -3
- package/languages/mizar.js +115 -3
- package/languages/mojolicious.js +32 -3
- package/languages/monkey.js +205 -3
- package/languages/moonscript.js +334 -3
- package/languages/move.js +149 -89
- package/languages/n1ql.js +375 -3
- package/languages/nestedtext.js +76 -3
- package/languages/nginx.js +201 -3
- package/languages/nickel.js +126 -77
- package/languages/nim.js +206 -3
- package/languages/nix.js +310 -3
- package/languages/node-repl.js +33 -3
- package/languages/nsis.js +441 -3
- package/languages/nushell.js +158 -97
- package/languages/objectivec.js +303 -3
- package/languages/ocaml.js +165 -3
- package/languages/odin.js +176 -75
- package/languages/openscad.js +185 -3
- package/languages/oxygene.js +459 -3
- package/languages/parser3.js +111 -3
- package/languages/perl.js +864 -3
- package/languages/pf.js +168 -3
- package/languages/pgsql.js +1253 -3
- package/languages/php-template.js +28 -3
- package/languages/php.js +1031 -3
- package/languages/pkl.js +190 -76
- package/languages/plaintext.js +17 -3
- package/languages/pony.js +132 -3
- package/languages/powershell.js +405 -3
- package/languages/prisma.js +95 -68
- package/languages/processing.js +445 -3
- package/languages/profile.js +66 -3
- package/languages/prolog.js +142 -3
- package/languages/promql.js +204 -91
- package/languages/properties.js +75 -3
- package/languages/protobuf.js +106 -3
- package/languages/pug.js +119 -67
- package/languages/puppet.js +415 -3
- package/languages/purebasic.js +187 -3
- package/languages/python-repl.js +35 -3
- package/languages/python.js +784 -3
- package/languages/q.js +215 -3
- package/languages/qml.js +401 -3
- package/languages/r.js +351 -3
- package/languages/razor.js +417 -126
- package/languages/reasonml.js +207 -3
- package/languages/rego.js +179 -91
- package/languages/rescript.js +202 -138
- package/languages/rib.js +148 -3
- package/languages/roboconf.js +128 -3
- package/languages/routeros.js +169 -3
- package/languages/rsl.js +175 -3
- package/languages/rst.js +111 -142
- package/languages/ruby.js +890 -3
- package/languages/ruleslanguage.js +377 -3
- package/languages/rust.js +392 -3
- package/languages/sas.js +211 -3
- package/languages/scala.js +332 -3
- package/languages/scheme.js +398 -3
- package/languages/scilab.js +190 -3
- package/languages/scss.js +236 -3
- package/languages/shell.js +32 -3
- package/languages/smali.js +91 -3
- package/languages/smalltalk.js +89 -3
- package/languages/sml.js +145 -3
- package/languages/solidity.js +400 -99
- package/languages/sparql.d.ts +2 -0
- package/languages/sparql.js +153 -0
- package/languages/sqf.js +2641 -3
- package/languages/sql.js +474 -3
- package/languages/stan.js +526 -3
- package/languages/starlark.js +122 -51
- package/languages/stata.js +1903 -3
- package/languages/step21.js +100 -3
- package/languages/stylus.js +261 -3
- package/languages/subunit.js +59 -3
- package/languages/svelte.js +148 -141
- package/languages/swift.js +2245 -3
- package/languages/taggerscript.js +51 -3
- package/languages/tap.js +48 -3
- package/languages/tcl.js +218 -3
- package/languages/templ.js +254 -250
- package/languages/thrift.js +129 -3
- package/languages/toml.js +107 -74
- package/languages/tp.js +209 -3
- package/languages/twig.js +204 -3
- package/languages/typescript.js +1410 -3
- package/languages/typst.js +340 -183
- package/languages/v.js +230 -101
- package/languages/vala.js +161 -3
- package/languages/vbnet.js +333 -3
- package/languages/vbscript-html.js +18 -3
- package/languages/vbscript.js +225 -3
- package/languages/verilog.js +576 -3
- package/languages/vhdl.js +229 -3
- package/languages/vim.js +1294 -3
- package/languages/vue.js +99 -98
- package/languages/vyper.js +144 -72
- package/languages/wasm.js +140 -3
- package/languages/wgsl.js +370 -93
- package/languages/wren.js +311 -3
- package/languages/x86asm.js +2330 -3
- package/languages/xl.js +474 -3
- package/languages/xml.js +198 -3
- package/languages/xquery.js +315 -3
- package/languages/yaml.js +267 -3
- package/languages/zephir.js +333 -3
- package/languages/zig.js +196 -100
- package/package.json +57 -2
- package/preprocessor.js +9 -8
- package/registry.d.ts +17 -0
- package/registry.js +17 -0
- package/textmate-theme.d.ts +41 -0
- package/textmate-theme.js +211 -0
- package/theme-style.js +94 -0
- package/theme-vars.js +205 -0
- package/theme.d.ts +104 -0
- package/theme.js +130 -0
- package/themes/1c-light.css +1 -0
- package/themes/1c-light.d.ts +1 -0
- package/themes/1c-light.js +53 -0
- package/themes/3024.css +1 -0
- package/themes/3024.d.ts +1 -0
- package/themes/3024.js +62 -0
- package/themes/_shl-fallbacks.d.ts +1 -0
- package/themes/_shl-fallbacks.js +27 -0
- package/themes/a11y-dark.css +29 -0
- package/themes/a11y-dark.d.ts +1 -0
- package/themes/a11y-dark.js +47 -0
- package/themes/a11y-light.css +29 -0
- package/themes/a11y-light.d.ts +1 -0
- package/themes/a11y-light.js +47 -0
- package/themes/agate.css +1 -0
- package/themes/agate.d.ts +1 -0
- package/themes/agate.js +58 -0
- package/themes/an-old-hope.css +1 -0
- package/themes/an-old-hope.d.ts +1 -0
- package/themes/an-old-hope.js +45 -0
- package/themes/androidstudio.css +1 -0
- package/themes/androidstudio.d.ts +1 -0
- package/themes/androidstudio.js +45 -0
- package/themes/apathy.css +1 -0
- package/themes/apathy.d.ts +1 -0
- package/themes/apathy.js +62 -0
- package/themes/apprentice.css +1 -0
- package/themes/apprentice.d.ts +1 -0
- package/themes/apprentice.js +62 -0
- package/themes/arduino-light.css +1 -0
- package/themes/arduino-light.d.ts +1 -0
- package/themes/arduino-light.js +52 -0
- package/themes/arta.css +1 -0
- package/themes/arta.d.ts +1 -0
- package/themes/arta.js +50 -0
- package/themes/ascetic.css +1 -0
- package/themes/ascetic.d.ts +1 -0
- package/themes/ascetic.js +45 -0
- package/themes/ashes.css +1 -0
- package/themes/ashes.d.ts +1 -0
- package/themes/ashes.js +62 -0
- package/themes/atelier-cave-light.css +1 -0
- package/themes/atelier-cave-light.d.ts +1 -0
- package/themes/atelier-cave-light.js +62 -0
- package/themes/atelier-cave.css +1 -0
- package/themes/atelier-cave.d.ts +1 -0
- package/themes/atelier-cave.js +62 -0
- package/themes/atelier-dune-light.css +1 -0
- package/themes/atelier-dune-light.d.ts +1 -0
- package/themes/atelier-dune-light.js +62 -0
- package/themes/atelier-dune.css +1 -0
- package/themes/atelier-dune.d.ts +1 -0
- package/themes/atelier-dune.js +62 -0
- package/themes/atelier-estuary-light.css +1 -0
- package/themes/atelier-estuary-light.d.ts +1 -0
- package/themes/atelier-estuary-light.js +62 -0
- package/themes/atelier-estuary.css +1 -0
- package/themes/atelier-estuary.d.ts +1 -0
- package/themes/atelier-estuary.js +62 -0
- package/themes/atelier-forest-light.css +1 -0
- package/themes/atelier-forest-light.d.ts +1 -0
- package/themes/atelier-forest-light.js +62 -0
- package/themes/atelier-forest.css +1 -0
- package/themes/atelier-forest.d.ts +1 -0
- package/themes/atelier-forest.js +62 -0
- package/themes/atelier-heath-light.css +1 -0
- package/themes/atelier-heath-light.d.ts +1 -0
- package/themes/atelier-heath-light.js +62 -0
- package/themes/atelier-heath.css +1 -0
- package/themes/atelier-heath.d.ts +1 -0
- package/themes/atelier-heath.js +62 -0
- package/themes/atelier-lakeside-light.css +1 -0
- package/themes/atelier-lakeside-light.d.ts +1 -0
- package/themes/atelier-lakeside-light.js +62 -0
- package/themes/atelier-lakeside.css +1 -0
- package/themes/atelier-lakeside.d.ts +1 -0
- package/themes/atelier-lakeside.js +62 -0
- package/themes/atelier-plateau-light.css +1 -0
- package/themes/atelier-plateau-light.d.ts +1 -0
- package/themes/atelier-plateau-light.js +62 -0
- package/themes/atelier-plateau.css +1 -0
- package/themes/atelier-plateau.d.ts +1 -0
- package/themes/atelier-plateau.js +62 -0
- package/themes/atelier-savanna-light.css +1 -0
- package/themes/atelier-savanna-light.d.ts +1 -0
- package/themes/atelier-savanna-light.js +62 -0
- package/themes/atelier-savanna.css +1 -0
- package/themes/atelier-savanna.d.ts +1 -0
- package/themes/atelier-savanna.js +62 -0
- package/themes/atelier-seaside-light.css +1 -0
- package/themes/atelier-seaside-light.d.ts +1 -0
- package/themes/atelier-seaside-light.js +62 -0
- package/themes/atelier-seaside.css +1 -0
- package/themes/atelier-seaside.d.ts +1 -0
- package/themes/atelier-seaside.js +62 -0
- package/themes/atelier-sulphurpool-light.css +1 -0
- package/themes/atelier-sulphurpool-light.d.ts +1 -0
- package/themes/atelier-sulphurpool-light.js +62 -0
- package/themes/atelier-sulphurpool.css +1 -0
- package/themes/atelier-sulphurpool.d.ts +1 -0
- package/themes/atelier-sulphurpool.js +62 -0
- package/themes/atlas.css +1 -0
- package/themes/atlas.d.ts +1 -0
- package/themes/atlas.js +62 -0
- package/themes/atom-one-dark-reasonable.css +1 -0
- package/themes/atom-one-dark-reasonable.d.ts +1 -0
- package/themes/atom-one-dark-reasonable.js +62 -0
- package/themes/atom-one-dark.css +1 -0
- package/themes/atom-one-dark.d.ts +1 -0
- package/themes/atom-one-dark.js +54 -0
- package/themes/atom-one-light.css +1 -0
- package/themes/atom-one-light.d.ts +1 -0
- package/themes/atom-one-light.js +54 -0
- package/themes/base.css +1 -0
- package/themes/base16-github.css +1 -0
- package/themes/base16-github.d.ts +1 -0
- package/themes/base16-github.js +62 -0
- package/themes/base16-ir-black.css +1 -0
- package/themes/base16-ir-black.d.ts +1 -0
- package/themes/base16-ir-black.js +62 -0
- package/themes/base16-monokai.css +1 -0
- package/themes/base16-monokai.d.ts +1 -0
- package/themes/base16-monokai.js +62 -0
- package/themes/base16-nord.css +1 -0
- package/themes/base16-nord.d.ts +1 -0
- package/themes/base16-nord.js +62 -0
- package/themes/bespin.css +1 -0
- package/themes/bespin.d.ts +1 -0
- package/themes/bespin.js +62 -0
- package/themes/black-metal-bathory.css +1 -0
- package/themes/black-metal-bathory.d.ts +1 -0
- package/themes/black-metal-bathory.js +62 -0
- package/themes/black-metal-burzum.css +1 -0
- package/themes/black-metal-burzum.d.ts +1 -0
- package/themes/black-metal-burzum.js +62 -0
- package/themes/black-metal-dark-funeral.css +1 -0
- package/themes/black-metal-dark-funeral.d.ts +1 -0
- package/themes/black-metal-dark-funeral.js +62 -0
- package/themes/black-metal-gorgoroth.css +1 -0
- package/themes/black-metal-gorgoroth.d.ts +1 -0
- package/themes/black-metal-gorgoroth.js +62 -0
- package/themes/black-metal-immortal.css +1 -0
- package/themes/black-metal-immortal.d.ts +1 -0
- package/themes/black-metal-immortal.js +62 -0
- package/themes/black-metal-khold.css +1 -0
- package/themes/black-metal-khold.d.ts +1 -0
- package/themes/black-metal-khold.js +62 -0
- package/themes/black-metal-marduk.css +1 -0
- package/themes/black-metal-marduk.d.ts +1 -0
- package/themes/black-metal-marduk.js +62 -0
- package/themes/black-metal-mayhem.css +1 -0
- package/themes/black-metal-mayhem.d.ts +1 -0
- package/themes/black-metal-mayhem.js +62 -0
- package/themes/black-metal-nile.css +1 -0
- package/themes/black-metal-nile.d.ts +1 -0
- package/themes/black-metal-nile.js +62 -0
- package/themes/black-metal-venom.css +1 -0
- package/themes/black-metal-venom.d.ts +1 -0
- package/themes/black-metal-venom.js +62 -0
- package/themes/black-metal.css +1 -0
- package/themes/black-metal.d.ts +1 -0
- package/themes/black-metal.js +62 -0
- package/themes/brewer.css +1 -0
- package/themes/brewer.d.ts +1 -0
- package/themes/brewer.js +62 -0
- package/themes/bright.css +1 -0
- package/themes/bright.d.ts +1 -0
- package/themes/bright.js +62 -0
- package/themes/brogrammer.css +1 -0
- package/themes/brogrammer.d.ts +1 -0
- package/themes/brogrammer.js +62 -0
- package/themes/brown-paper.css +1 -0
- package/themes/brown-paper.d.ts +1 -0
- package/themes/brown-paper.js +53 -0
- package/themes/brush-trees-dark.css +1 -0
- package/themes/brush-trees-dark.d.ts +1 -0
- package/themes/brush-trees-dark.js +62 -0
- package/themes/brush-trees.css +1 -0
- package/themes/brush-trees.d.ts +1 -0
- package/themes/brush-trees.js +62 -0
- package/themes/chalk.css +1 -0
- package/themes/chalk.d.ts +1 -0
- package/themes/chalk.js +62 -0
- package/themes/circus.css +1 -0
- package/themes/circus.d.ts +1 -0
- package/themes/circus.js +62 -0
- package/themes/classic-dark.css +1 -0
- package/themes/classic-dark.d.ts +1 -0
- package/themes/classic-dark.js +62 -0
- package/themes/classic-light.css +1 -0
- package/themes/classic-light.d.ts +1 -0
- package/themes/classic-light.js +62 -0
- package/themes/codepen-embed.css +1 -0
- package/themes/codepen-embed.d.ts +1 -0
- package/themes/codepen-embed.js +45 -0
- package/themes/codeschool.css +1 -0
- package/themes/codeschool.d.ts +1 -0
- package/themes/codeschool.js +62 -0
- package/themes/color-brewer.css +1 -0
- package/themes/color-brewer.d.ts +1 -0
- package/themes/color-brewer.js +45 -0
- package/themes/colors.css +1 -0
- package/themes/colors.d.ts +1 -0
- package/themes/colors.js +62 -0
- package/themes/cupcake.css +1 -0
- package/themes/cupcake.d.ts +1 -0
- package/themes/cupcake.js +62 -0
- package/themes/cupertino.css +1 -0
- package/themes/cupertino.d.ts +1 -0
- package/themes/cupertino.js +62 -0
- package/themes/cybertopia-cherry.css +1 -0
- package/themes/cybertopia-cherry.d.ts +1 -0
- package/themes/cybertopia-cherry.js +61 -0
- package/themes/cybertopia-dimmer.css +1 -0
- package/themes/cybertopia-dimmer.d.ts +1 -0
- package/themes/cybertopia-dimmer.js +61 -0
- package/themes/cybertopia-icecap.css +1 -0
- package/themes/cybertopia-icecap.d.ts +1 -0
- package/themes/cybertopia-icecap.js +61 -0
- package/themes/cybertopia-saturated.css +1 -0
- package/themes/cybertopia-saturated.d.ts +1 -0
- package/themes/cybertopia-saturated.js +61 -0
- package/themes/danqing.css +1 -0
- package/themes/danqing.d.ts +1 -0
- package/themes/danqing.js +62 -0
- package/themes/darcula.css +1 -0
- package/themes/darcula.d.ts +1 -0
- package/themes/darcula.js +62 -0
- package/themes/dark-violet.css +1 -0
- package/themes/dark-violet.d.ts +1 -0
- package/themes/dark-violet.js +62 -0
- package/themes/dark.css +1 -0
- package/themes/dark.d.ts +1 -0
- package/themes/dark.js +52 -0
- package/themes/darkmoss.css +1 -0
- package/themes/darkmoss.d.ts +1 -0
- package/themes/darkmoss.js +62 -0
- package/themes/darktooth.css +1 -0
- package/themes/darktooth.d.ts +1 -0
- package/themes/darktooth.js +62 -0
- package/themes/decaf.css +1 -0
- package/themes/decaf.d.ts +1 -0
- package/themes/decaf.js +62 -0
- package/themes/default-dark.css +1 -0
- package/themes/default-dark.d.ts +1 -0
- package/themes/default-dark.js +62 -0
- package/themes/default-light.css +1 -0
- package/themes/default-light.d.ts +1 -0
- package/themes/default-light.js +62 -0
- package/themes/default.css +1 -0
- package/themes/default.d.ts +1 -0
- package/themes/default.js +59 -0
- package/themes/devibeans.css +1 -0
- package/themes/devibeans.d.ts +1 -0
- package/themes/devibeans.js +52 -0
- package/themes/dirtysea.css +1 -0
- package/themes/dirtysea.d.ts +1 -0
- package/themes/dirtysea.js +62 -0
- package/themes/docco.css +1 -0
- package/themes/docco.d.ts +1 -0
- package/themes/docco.js +57 -0
- package/themes/dracula.css +1 -0
- package/themes/dracula.d.ts +1 -0
- package/themes/dracula.js +62 -0
- package/themes/edge-dark.css +1 -0
- package/themes/edge-dark.d.ts +1 -0
- package/themes/edge-dark.js +62 -0
- package/themes/edge-light.css +1 -0
- package/themes/edge-light.d.ts +1 -0
- package/themes/edge-light.js +62 -0
- package/themes/eighties.css +1 -0
- package/themes/eighties.d.ts +1 -0
- package/themes/eighties.js +62 -0
- package/themes/embers.css +1 -0
- package/themes/embers.d.ts +1 -0
- package/themes/embers.js +62 -0
- package/themes/equilibrium-dark.css +1 -0
- package/themes/equilibrium-dark.d.ts +1 -0
- package/themes/equilibrium-dark.js +62 -0
- package/themes/equilibrium-gray-dark.css +1 -0
- package/themes/equilibrium-gray-dark.d.ts +1 -0
- package/themes/equilibrium-gray-dark.js +62 -0
- package/themes/equilibrium-gray-light.css +1 -0
- package/themes/equilibrium-gray-light.d.ts +1 -0
- package/themes/equilibrium-gray-light.js +62 -0
- package/themes/equilibrium-light.css +1 -0
- package/themes/equilibrium-light.d.ts +1 -0
- package/themes/equilibrium-light.js +62 -0
- package/themes/espresso.css +1 -0
- package/themes/espresso.d.ts +1 -0
- package/themes/espresso.js +62 -0
- package/themes/eva-dim.css +1 -0
- package/themes/eva-dim.d.ts +1 -0
- package/themes/eva-dim.js +62 -0
- package/themes/eva.css +1 -0
- package/themes/eva.d.ts +1 -0
- package/themes/eva.js +62 -0
- package/themes/far.css +1 -0
- package/themes/far.d.ts +1 -0
- package/themes/far.js +50 -0
- package/themes/felipec.css +1 -0
- package/themes/felipec.d.ts +1 -0
- package/themes/felipec.js +54 -0
- package/themes/flat.css +1 -0
- package/themes/flat.d.ts +1 -0
- package/themes/flat.js +62 -0
- package/themes/foundation.css +1 -0
- package/themes/foundation.d.ts +1 -0
- package/themes/foundation.js +52 -0
- package/themes/framer.css +1 -0
- package/themes/framer.d.ts +1 -0
- package/themes/framer.js +62 -0
- package/themes/fruit-soda.css +1 -0
- package/themes/fruit-soda.d.ts +1 -0
- package/themes/fruit-soda.js +62 -0
- package/themes/gigavolt.css +1 -0
- package/themes/gigavolt.d.ts +1 -0
- package/themes/gigavolt.js +62 -0
- package/themes/github-dark-dimmed.css +1 -0
- package/themes/github-dark-dimmed.d.ts +1 -0
- package/themes/github-dark-dimmed.js +59 -0
- package/themes/github-dark.css +1 -0
- package/themes/github-dark.d.ts +1 -0
- package/themes/github-dark.js +59 -0
- package/themes/github.css +1 -0
- package/themes/github.d.ts +1 -0
- package/themes/github.js +59 -0
- package/themes/gml.css +1 -0
- package/themes/gml.d.ts +1 -0
- package/themes/gml.js +51 -0
- package/themes/google-dark.css +1 -0
- package/themes/google-dark.d.ts +1 -0
- package/themes/google-dark.js +62 -0
- package/themes/google-light.css +1 -0
- package/themes/google-light.d.ts +1 -0
- package/themes/google-light.js +62 -0
- package/themes/googlecode.css +1 -0
- package/themes/googlecode.d.ts +1 -0
- package/themes/googlecode.js +53 -0
- package/themes/gradient-dark.css +1 -0
- package/themes/gradient-dark.d.ts +1 -0
- package/themes/gradient-dark.js +60 -0
- package/themes/gradient-light.css +1 -0
- package/themes/gradient-light.d.ts +1 -0
- package/themes/gradient-light.js +60 -0
- package/themes/grayscale-dark.css +1 -0
- package/themes/grayscale-dark.d.ts +1 -0
- package/themes/grayscale-dark.js +62 -0
- package/themes/grayscale-light.css +1 -0
- package/themes/grayscale-light.d.ts +1 -0
- package/themes/grayscale-light.js +62 -0
- package/themes/grayscale.css +1 -0
- package/themes/grayscale.d.ts +1 -0
- package/themes/grayscale.js +66 -0
- package/themes/green-screen.css +1 -0
- package/themes/green-screen.d.ts +1 -0
- package/themes/green-screen.js +62 -0
- package/themes/gruvbox-dark-hard.css +1 -0
- package/themes/gruvbox-dark-hard.d.ts +1 -0
- package/themes/gruvbox-dark-hard.js +62 -0
- package/themes/gruvbox-dark-medium.css +1 -0
- package/themes/gruvbox-dark-medium.d.ts +1 -0
- package/themes/gruvbox-dark-medium.js +62 -0
- package/themes/gruvbox-dark-pale.css +1 -0
- package/themes/gruvbox-dark-pale.d.ts +1 -0
- package/themes/gruvbox-dark-pale.js +62 -0
- package/themes/gruvbox-dark-soft.css +1 -0
- package/themes/gruvbox-dark-soft.d.ts +1 -0
- package/themes/gruvbox-dark-soft.js +62 -0
- package/themes/gruvbox-light-hard.css +1 -0
- package/themes/gruvbox-light-hard.d.ts +1 -0
- package/themes/gruvbox-light-hard.js +62 -0
- package/themes/gruvbox-light-medium.css +1 -0
- package/themes/gruvbox-light-medium.d.ts +1 -0
- package/themes/gruvbox-light-medium.js +62 -0
- package/themes/gruvbox-light-soft.css +1 -0
- package/themes/gruvbox-light-soft.d.ts +1 -0
- package/themes/gruvbox-light-soft.js +62 -0
- package/themes/hardcore.css +1 -0
- package/themes/hardcore.d.ts +1 -0
- package/themes/hardcore.js +62 -0
- package/themes/harmonic16-dark.css +1 -0
- package/themes/harmonic16-dark.d.ts +1 -0
- package/themes/harmonic16-dark.js +62 -0
- package/themes/harmonic16-light.css +1 -0
- package/themes/harmonic16-light.d.ts +1 -0
- package/themes/harmonic16-light.js +62 -0
- package/themes/heetch-dark.css +1 -0
- package/themes/heetch-dark.d.ts +1 -0
- package/themes/heetch-dark.js +62 -0
- package/themes/heetch-light.css +1 -0
- package/themes/heetch-light.d.ts +1 -0
- package/themes/heetch-light.js +62 -0
- package/themes/helios.css +1 -0
- package/themes/helios.d.ts +1 -0
- package/themes/helios.js +62 -0
- package/themes/hopscotch.css +1 -0
- package/themes/hopscotch.d.ts +1 -0
- package/themes/hopscotch.js +62 -0
- package/themes/horizon-dark.css +1 -0
- package/themes/horizon-dark.d.ts +1 -0
- package/themes/horizon-dark.js +62 -0
- package/themes/horizon-light.css +1 -0
- package/themes/horizon-light.d.ts +1 -0
- package/themes/horizon-light.js +62 -0
- package/themes/humanoid-dark.css +1 -0
- package/themes/humanoid-dark.d.ts +1 -0
- package/themes/humanoid-dark.js +62 -0
- package/themes/humanoid-light.css +1 -0
- package/themes/humanoid-light.d.ts +1 -0
- package/themes/humanoid-light.js +62 -0
- package/themes/hybrid.css +1 -0
- package/themes/hybrid.d.ts +1 -0
- package/themes/hybrid.js +51 -0
- package/themes/ia-dark.css +1 -0
- package/themes/ia-dark.d.ts +1 -0
- package/themes/ia-dark.js +62 -0
- package/themes/ia-light.css +1 -0
- package/themes/ia-light.d.ts +1 -0
- package/themes/ia-light.js +62 -0
- package/themes/icy-dark.css +1 -0
- package/themes/icy-dark.d.ts +1 -0
- package/themes/icy-dark.js +62 -0
- package/themes/idea.css +1 -0
- package/themes/idea.d.ts +1 -0
- package/themes/idea.js +75 -0
- package/themes/index.d.ts +258 -0
- package/themes/index.js +256 -0
- package/themes/intellij-light.css +1 -0
- package/themes/intellij-light.d.ts +1 -0
- package/themes/intellij-light.js +63 -0
- package/themes/ir-black.css +1 -0
- package/themes/ir-black.d.ts +1 -0
- package/themes/ir-black.js +48 -0
- package/themes/isbl-editor-dark.css +1 -0
- package/themes/isbl-editor-dark.d.ts +1 -0
- package/themes/isbl-editor-dark.js +62 -0
- package/themes/isbl-editor-light.css +1 -0
- package/themes/isbl-editor-light.d.ts +1 -0
- package/themes/isbl-editor-light.js +62 -0
- package/themes/isotope.css +1 -0
- package/themes/isotope.d.ts +1 -0
- package/themes/isotope.js +62 -0
- package/themes/kimber.css +1 -0
- package/themes/kimber.d.ts +1 -0
- package/themes/kimber.js +62 -0
- package/themes/kimbie-dark.css +1 -0
- package/themes/kimbie-dark.d.ts +1 -0
- package/themes/kimbie-dark.js +47 -0
- package/themes/kimbie-light.css +1 -0
- package/themes/kimbie-light.d.ts +1 -0
- package/themes/kimbie-light.js +47 -0
- package/themes/lightfair.css +1 -0
- package/themes/lightfair.d.ts +1 -0
- package/themes/lightfair.js +54 -0
- package/themes/lioshi.css +1 -0
- package/themes/lioshi.d.ts +1 -0
- package/themes/lioshi.js +49 -0
- package/themes/london-tube.css +1 -0
- package/themes/london-tube.d.ts +1 -0
- package/themes/london-tube.js +62 -0
- package/themes/macintosh.css +1 -0
- package/themes/macintosh.d.ts +1 -0
- package/themes/macintosh.js +62 -0
- package/themes/magula.css +1 -0
- package/themes/magula.d.ts +1 -0
- package/themes/magula.js +56 -0
- package/themes/marrakesh.css +1 -0
- package/themes/marrakesh.d.ts +1 -0
- package/themes/marrakesh.js +62 -0
- package/themes/materia.css +1 -0
- package/themes/materia.d.ts +1 -0
- package/themes/materia.js +62 -0
- package/themes/material-darker.css +1 -0
- package/themes/material-darker.d.ts +1 -0
- package/themes/material-darker.js +62 -0
- package/themes/material-lighter.css +1 -0
- package/themes/material-lighter.d.ts +1 -0
- package/themes/material-lighter.js +62 -0
- package/themes/material-palenight.css +1 -0
- package/themes/material-palenight.d.ts +1 -0
- package/themes/material-palenight.js +62 -0
- package/themes/material-vivid.css +1 -0
- package/themes/material-vivid.d.ts +1 -0
- package/themes/material-vivid.js +62 -0
- package/themes/material.css +1 -0
- package/themes/material.d.ts +1 -0
- package/themes/material.js +62 -0
- package/themes/mellow-purple.css +1 -0
- package/themes/mellow-purple.d.ts +1 -0
- package/themes/mellow-purple.js +62 -0
- package/themes/mexico-light.css +1 -0
- package/themes/mexico-light.d.ts +1 -0
- package/themes/mexico-light.js +62 -0
- package/themes/mocha.css +1 -0
- package/themes/mocha.d.ts +1 -0
- package/themes/mocha.js +62 -0
- package/themes/mono-blue.css +1 -0
- package/themes/mono-blue.d.ts +1 -0
- package/themes/mono-blue.js +54 -0
- package/themes/monokai-sublime.css +1 -0
- package/themes/monokai-sublime.d.ts +1 -0
- package/themes/monokai-sublime.js +52 -0
- package/themes/monokai.css +1 -0
- package/themes/monokai.d.ts +1 -0
- package/themes/monokai.js +58 -0
- package/themes/nebula.css +1 -0
- package/themes/nebula.d.ts +1 -0
- package/themes/nebula.js +62 -0
- package/themes/night-owl.css +1 -0
- package/themes/night-owl.d.ts +1 -0
- package/themes/night-owl.js +64 -0
- package/themes/nnfx-dark.css +1 -0
- package/themes/nnfx-dark.d.ts +1 -0
- package/themes/nnfx-dark.js +74 -0
- package/themes/nnfx-light.css +1 -0
- package/themes/nnfx-light.d.ts +1 -0
- package/themes/nnfx-light.js +74 -0
- package/themes/nord.css +1 -0
- package/themes/nord.d.ts +1 -0
- package/themes/nord.js +59 -0
- package/themes/nova.css +1 -0
- package/themes/nova.d.ts +1 -0
- package/themes/nova.js +62 -0
- package/themes/obsidian.css +1 -0
- package/themes/obsidian.d.ts +1 -0
- package/themes/obsidian.js +58 -0
- package/themes/ocean.css +1 -0
- package/themes/ocean.d.ts +1 -0
- package/themes/ocean.js +62 -0
- package/themes/oceanicnext.css +1 -0
- package/themes/oceanicnext.d.ts +1 -0
- package/themes/oceanicnext.js +62 -0
- package/themes/one-light.css +1 -0
- package/themes/one-light.d.ts +1 -0
- package/themes/one-light.js +62 -0
- package/themes/onedark.css +1 -0
- package/themes/onedark.d.ts +1 -0
- package/themes/onedark.js +62 -0
- package/themes/outrun-dark.css +1 -0
- package/themes/outrun-dark.d.ts +1 -0
- package/themes/outrun-dark.js +62 -0
- package/themes/panda-syntax-dark.css +1 -0
- package/themes/panda-syntax-dark.d.ts +1 -0
- package/themes/panda-syntax-dark.js +59 -0
- package/themes/panda-syntax-light.css +1 -0
- package/themes/panda-syntax-light.d.ts +1 -0
- package/themes/panda-syntax-light.js +59 -0
- package/themes/papercolor-dark.css +1 -0
- package/themes/papercolor-dark.d.ts +1 -0
- package/themes/papercolor-dark.js +62 -0
- package/themes/papercolor-light.css +1 -0
- package/themes/papercolor-light.d.ts +1 -0
- package/themes/papercolor-light.js +62 -0
- package/themes/paraiso-dark.css +1 -0
- package/themes/paraiso-dark.d.ts +1 -0
- package/themes/paraiso-dark.js +45 -0
- package/themes/paraiso-light.css +1 -0
- package/themes/paraiso-light.d.ts +1 -0
- package/themes/paraiso-light.js +45 -0
- package/themes/paraiso.css +1 -0
- package/themes/paraiso.d.ts +1 -0
- package/themes/paraiso.js +62 -0
- package/themes/pasque.css +1 -0
- package/themes/pasque.d.ts +1 -0
- package/themes/pasque.js +62 -0
- package/themes/phd.css +1 -0
- package/themes/phd.d.ts +1 -0
- package/themes/phd.js +62 -0
- package/themes/pico.css +1 -0
- package/themes/pico.d.ts +1 -0
- package/themes/pico.js +62 -0
- package/themes/pojoaque.css +1 -0
- package/themes/pojoaque.d.ts +1 -0
- package/themes/pojoaque.js +54 -0
- package/themes/pop.css +1 -0
- package/themes/pop.d.ts +1 -0
- package/themes/pop.js +62 -0
- package/themes/porple.css +1 -0
- package/themes/porple.d.ts +1 -0
- package/themes/porple.js +62 -0
- package/themes/purebasic.css +1 -0
- package/themes/purebasic.d.ts +1 -0
- package/themes/purebasic.js +60 -0
- package/themes/qtcreator-dark.css +1 -0
- package/themes/qtcreator-dark.d.ts +1 -0
- package/themes/qtcreator-dark.js +55 -0
- package/themes/qtcreator-light.css +1 -0
- package/themes/qtcreator-light.d.ts +1 -0
- package/themes/qtcreator-light.js +55 -0
- package/themes/qualia.css +1 -0
- package/themes/qualia.d.ts +1 -0
- package/themes/qualia.js +62 -0
- package/themes/railscasts.css +1 -0
- package/themes/railscasts.d.ts +1 -0
- package/themes/railscasts.js +62 -0
- package/themes/rainbow.css +1 -0
- package/themes/rainbow.d.ts +1 -0
- package/themes/rainbow.js +55 -0
- package/themes/rebecca.css +1 -0
- package/themes/rebecca.d.ts +1 -0
- package/themes/rebecca.js +62 -0
- package/themes/ros-pine-dawn.css +1 -0
- package/themes/ros-pine-dawn.d.ts +1 -0
- package/themes/ros-pine-dawn.js +62 -0
- package/themes/ros-pine-moon.css +1 -0
- package/themes/ros-pine-moon.d.ts +1 -0
- package/themes/ros-pine-moon.js +62 -0
- package/themes/ros-pine.css +1 -0
- package/themes/ros-pine.d.ts +1 -0
- package/themes/ros-pine.js +62 -0
- package/themes/rose-pine-dawn.css +1 -0
- package/themes/rose-pine-dawn.d.ts +1 -0
- package/themes/rose-pine-dawn.js +54 -0
- package/themes/rose-pine-moon.css +1 -0
- package/themes/rose-pine-moon.d.ts +1 -0
- package/themes/rose-pine-moon.js +54 -0
- package/themes/rose-pine.css +1 -0
- package/themes/rose-pine.d.ts +1 -0
- package/themes/rose-pine.js +54 -0
- package/themes/routeros.css +1 -0
- package/themes/routeros.d.ts +1 -0
- package/themes/routeros.js +57 -0
- package/themes/sagelight.css +1 -0
- package/themes/sagelight.d.ts +1 -0
- package/themes/sagelight.js +62 -0
- package/themes/sandcastle.css +1 -0
- package/themes/sandcastle.d.ts +1 -0
- package/themes/sandcastle.js +62 -0
- package/themes/school-book.css +1 -0
- package/themes/school-book.d.ts +1 -0
- package/themes/school-book.js +56 -0
- package/themes/seti-ui.css +1 -0
- package/themes/seti-ui.d.ts +1 -0
- package/themes/seti-ui.js +62 -0
- package/themes/shades-of-purple.css +1 -0
- package/themes/shades-of-purple.d.ts +1 -0
- package/themes/shades-of-purple.js +56 -0
- package/themes/shapeshifter.css +1 -0
- package/themes/shapeshifter.d.ts +1 -0
- package/themes/shapeshifter.js +62 -0
- package/themes/silk-dark.css +1 -0
- package/themes/silk-dark.d.ts +1 -0
- package/themes/silk-dark.js +62 -0
- package/themes/silk-light.css +1 -0
- package/themes/silk-light.d.ts +1 -0
- package/themes/silk-light.js +62 -0
- package/themes/snazzy.css +1 -0
- package/themes/snazzy.d.ts +1 -0
- package/themes/snazzy.js +62 -0
- package/themes/solar-flare-light.css +1 -0
- package/themes/solar-flare-light.d.ts +1 -0
- package/themes/solar-flare-light.js +62 -0
- package/themes/solar-flare.css +1 -0
- package/themes/solar-flare.d.ts +1 -0
- package/themes/solar-flare.js +62 -0
- package/themes/solarized-dark.css +1 -0
- package/themes/solarized-dark.d.ts +1 -0
- package/themes/solarized-dark.js +62 -0
- package/themes/solarized-light.css +1 -0
- package/themes/solarized-light.d.ts +1 -0
- package/themes/solarized-light.js +62 -0
- package/themes/spacemacs.css +1 -0
- package/themes/spacemacs.d.ts +1 -0
- package/themes/spacemacs.js +62 -0
- package/themes/srcery.css +1 -0
- package/themes/srcery.d.ts +1 -0
- package/themes/srcery.js +51 -0
- package/themes/stackoverflow-dark.css +1 -0
- package/themes/stackoverflow-dark.d.ts +1 -0
- package/themes/stackoverflow-dark.js +50 -0
- package/themes/stackoverflow-light.css +1 -0
- package/themes/stackoverflow-light.d.ts +1 -0
- package/themes/stackoverflow-light.js +50 -0
- package/themes/summercamp.css +1 -0
- package/themes/summercamp.d.ts +1 -0
- package/themes/summercamp.js +62 -0
- package/themes/summerfruit-dark.css +1 -0
- package/themes/summerfruit-dark.d.ts +1 -0
- package/themes/summerfruit-dark.js +62 -0
- package/themes/summerfruit-light.css +1 -0
- package/themes/summerfruit-light.d.ts +1 -0
- package/themes/summerfruit-light.js +62 -0
- package/themes/sunburst.css +1 -0
- package/themes/sunburst.d.ts +1 -0
- package/themes/sunburst.js +57 -0
- package/themes/synth-midnight-terminal-dark.css +1 -0
- package/themes/synth-midnight-terminal-dark.d.ts +1 -0
- package/themes/synth-midnight-terminal-dark.js +62 -0
- package/themes/synth-midnight-terminal-light.css +1 -0
- package/themes/synth-midnight-terminal-light.d.ts +1 -0
- package/themes/synth-midnight-terminal-light.js +62 -0
- package/themes/tango.css +1 -0
- package/themes/tango.d.ts +1 -0
- package/themes/tango.js +62 -0
- package/themes/tender.css +1 -0
- package/themes/tender.d.ts +1 -0
- package/themes/tender.js +62 -0
- package/themes/tokyo-night-dark.css +1 -0
- package/themes/tokyo-night-dark.d.ts +1 -0
- package/themes/tokyo-night-dark.js +54 -0
- package/themes/tokyo-night-light.css +1 -0
- package/themes/tokyo-night-light.d.ts +1 -0
- package/themes/tokyo-night-light.js +54 -0
- package/themes/tomorrow-night-blue.css +1 -0
- package/themes/tomorrow-night-blue.d.ts +1 -0
- package/themes/tomorrow-night-blue.js +45 -0
- package/themes/tomorrow-night-bright.css +1 -0
- package/themes/tomorrow-night-bright.d.ts +1 -0
- package/themes/tomorrow-night-bright.js +45 -0
- package/themes/tomorrow-night.css +1 -0
- package/themes/tomorrow-night.d.ts +1 -0
- package/themes/tomorrow-night.js +62 -0
- package/themes/tomorrow.css +1 -0
- package/themes/tomorrow.d.ts +1 -0
- package/themes/tomorrow.js +62 -0
- package/themes/twilight.css +1 -0
- package/themes/twilight.d.ts +1 -0
- package/themes/twilight.js +62 -0
- package/themes/unikitty-dark.css +1 -0
- package/themes/unikitty-dark.d.ts +1 -0
- package/themes/unikitty-dark.js +62 -0
- package/themes/unikitty-light.css +1 -0
- package/themes/unikitty-light.d.ts +1 -0
- package/themes/unikitty-light.js +62 -0
- package/themes/vs.css +1 -0
- package/themes/vs.d.ts +1 -0
- package/themes/vs.js +45 -0
- package/themes/vs2015.css +1 -0
- package/themes/vs2015.d.ts +1 -0
- package/themes/vs2015.js +59 -0
- package/themes/vulcan.css +1 -0
- package/themes/vulcan.d.ts +1 -0
- package/themes/vulcan.js +62 -0
- package/themes/windows-10-light.css +1 -0
- package/themes/windows-10-light.d.ts +1 -0
- package/themes/windows-10-light.js +62 -0
- package/themes/windows-10.css +1 -0
- package/themes/windows-10.d.ts +1 -0
- package/themes/windows-10.js +62 -0
- package/themes/windows-95-light.css +1 -0
- package/themes/windows-95-light.d.ts +1 -0
- package/themes/windows-95-light.js +62 -0
- package/themes/windows-95.css +1 -0
- package/themes/windows-95.d.ts +1 -0
- package/themes/windows-95.js +62 -0
- package/themes/windows-high-contrast-light.css +1 -0
- package/themes/windows-high-contrast-light.d.ts +1 -0
- package/themes/windows-high-contrast-light.js +62 -0
- package/themes/windows-high-contrast.css +1 -0
- package/themes/windows-high-contrast.d.ts +1 -0
- package/themes/windows-high-contrast.js +62 -0
- package/themes/windows-nt-light.css +1 -0
- package/themes/windows-nt-light.d.ts +1 -0
- package/themes/windows-nt-light.js +62 -0
- package/themes/windows-nt.css +1 -0
- package/themes/windows-nt.d.ts +1 -0
- package/themes/windows-nt.js +62 -0
- package/themes/woodland.css +1 -0
- package/themes/woodland.d.ts +1 -0
- package/themes/woodland.js +62 -0
- package/themes/xcode-dusk.css +1 -0
- package/themes/xcode-dusk.d.ts +1 -0
- package/themes/xcode-dusk.js +62 -0
- package/themes/xcode.css +1 -0
- package/themes/xcode.d.ts +1 -0
- package/themes/xcode.js +57 -0
- package/themes/xt256.css +1 -0
- package/themes/xt256.d.ts +1 -0
- package/themes/xt256.js +56 -0
- package/themes/zenburn.css +1 -0
- package/themes/zenburn.d.ts +1 -0
- package/themes/zenburn.js +62 -0
- package/tokenized-document.d.ts +29 -0
- package/tokenized-document.js +263 -0
- package/typewriter-units.d.ts +14 -0
- package/typewriter-units.js +69 -0
- package/token-ranges.d.ts +0 -18
- package/token-ranges.js +0 -112
package/languages/sql.js
CHANGED
|
@@ -1,4 +1,475 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* Grammar "sql" derived from highlight.js 11.11.1 (BSD-3-Clause).
|
|
3
|
+
* Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
|
|
4
|
+
*/
|
|
5
|
+
export const sql = /** @type {import("./index.d.ts").LanguageType<"sql">} */ ({
|
|
6
|
+
name: "sql",
|
|
7
|
+
register: {
|
|
8
|
+
name: "sql",
|
|
9
|
+
caseInsensitive: true,
|
|
10
|
+
unicode: false,
|
|
11
|
+
disableAutodetect: false,
|
|
12
|
+
states: [
|
|
13
|
+
{
|
|
14
|
+
rules: [1, 2, 3, 4, 5, 7, 9, 10, 13, 16],
|
|
15
|
+
illegal: "[{}]|<\\/",
|
|
16
|
+
keywords: {
|
|
17
|
+
all: ["keyword", 1],
|
|
18
|
+
allocate: ["keyword", 1],
|
|
19
|
+
alter: ["keyword", 1],
|
|
20
|
+
and: ["keyword", 0],
|
|
21
|
+
any: ["keyword", 1],
|
|
22
|
+
are: ["keyword", 1],
|
|
23
|
+
array: ["keyword", 1],
|
|
24
|
+
array_max_cardinality: ["keyword", 1],
|
|
25
|
+
as: ["keyword", 0],
|
|
26
|
+
asensitive: ["keyword", 1],
|
|
27
|
+
asymmetric: ["keyword", 1],
|
|
28
|
+
at: ["keyword", 0],
|
|
29
|
+
atomic: ["keyword", 1],
|
|
30
|
+
authorization: ["keyword", 1],
|
|
31
|
+
begin: ["keyword", 1],
|
|
32
|
+
begin_frame: ["keyword", 1],
|
|
33
|
+
begin_partition: ["keyword", 1],
|
|
34
|
+
between: ["keyword", 1],
|
|
35
|
+
bigint: ["type", 1],
|
|
36
|
+
binary: ["type", 1],
|
|
37
|
+
blob: ["type", 1],
|
|
38
|
+
boolean: ["type", 1],
|
|
39
|
+
both: ["keyword", 1],
|
|
40
|
+
by: ["keyword", 0],
|
|
41
|
+
call: ["keyword", 1],
|
|
42
|
+
called: ["keyword", 1],
|
|
43
|
+
cardinality: ["keyword", 1],
|
|
44
|
+
cascaded: ["keyword", 1],
|
|
45
|
+
case: ["keyword", 1],
|
|
46
|
+
char: ["type", 1],
|
|
47
|
+
char_length: ["keyword", 1],
|
|
48
|
+
character: ["type", 1],
|
|
49
|
+
character_length: ["keyword", 1],
|
|
50
|
+
check: ["keyword", 1],
|
|
51
|
+
classifier: ["keyword", 1],
|
|
52
|
+
clob: ["type", 1],
|
|
53
|
+
close: ["keyword", 1],
|
|
54
|
+
collate: ["keyword", 1],
|
|
55
|
+
collect: ["keyword", 1],
|
|
56
|
+
column: ["keyword", 1],
|
|
57
|
+
commit: ["keyword", 1],
|
|
58
|
+
condition: ["keyword", 1],
|
|
59
|
+
connect: ["keyword", 1],
|
|
60
|
+
constraint: ["keyword", 1],
|
|
61
|
+
contains: ["keyword", 1],
|
|
62
|
+
convert: ["keyword", 1],
|
|
63
|
+
copy: ["keyword", 1],
|
|
64
|
+
corresponding: ["keyword", 1],
|
|
65
|
+
create: ["keyword", 1],
|
|
66
|
+
cross: ["keyword", 1],
|
|
67
|
+
cube: ["keyword", 1],
|
|
68
|
+
current: ["keyword", 1],
|
|
69
|
+
current_catalog: ["built_in", 1],
|
|
70
|
+
current_date: ["built_in", 1],
|
|
71
|
+
current_default_transform_group: ["built_in", 1],
|
|
72
|
+
current_path: ["built_in", 1],
|
|
73
|
+
current_role: ["built_in", 1],
|
|
74
|
+
current_row: ["keyword", 1],
|
|
75
|
+
current_schema: ["built_in", 1],
|
|
76
|
+
current_time: ["built_in", 1],
|
|
77
|
+
current_timestamp: ["built_in", 1],
|
|
78
|
+
current_transform_group_for_type: ["built_in", 1],
|
|
79
|
+
current_user: ["built_in", 1],
|
|
80
|
+
cursor: ["keyword", 1],
|
|
81
|
+
cycle: ["keyword", 1],
|
|
82
|
+
date: ["type", 1],
|
|
83
|
+
day: ["keyword", 1],
|
|
84
|
+
deallocate: ["keyword", 1],
|
|
85
|
+
dec: ["type", 1],
|
|
86
|
+
decimal: ["type", 1],
|
|
87
|
+
decfloat: ["type", 1],
|
|
88
|
+
declare: ["keyword", 1],
|
|
89
|
+
default: ["keyword", 1],
|
|
90
|
+
define: ["keyword", 1],
|
|
91
|
+
delete: ["keyword", 1],
|
|
92
|
+
describe: ["keyword", 1],
|
|
93
|
+
deterministic: ["keyword", 1],
|
|
94
|
+
disconnect: ["keyword", 1],
|
|
95
|
+
distinct: ["keyword", 1],
|
|
96
|
+
double: ["keyword", 1],
|
|
97
|
+
drop: ["keyword", 1],
|
|
98
|
+
dynamic: ["keyword", 1],
|
|
99
|
+
each: ["keyword", 1],
|
|
100
|
+
else: ["keyword", 1],
|
|
101
|
+
empty: ["keyword", 1],
|
|
102
|
+
end: ["keyword", 1],
|
|
103
|
+
end_frame: ["keyword", 1],
|
|
104
|
+
end_partition: ["keyword", 1],
|
|
105
|
+
"end-exec": ["keyword", 1],
|
|
106
|
+
equals: ["keyword", 1],
|
|
107
|
+
escape: ["keyword", 1],
|
|
108
|
+
every: ["keyword", 1],
|
|
109
|
+
except: ["keyword", 1],
|
|
110
|
+
exec: ["keyword", 1],
|
|
111
|
+
execute: ["keyword", 1],
|
|
112
|
+
exists: ["keyword", 1],
|
|
113
|
+
external: ["keyword", 1],
|
|
114
|
+
false: ["literal", 1],
|
|
115
|
+
fetch: ["keyword", 1],
|
|
116
|
+
filter: ["keyword", 1],
|
|
117
|
+
float: ["type", 1],
|
|
118
|
+
for: ["keyword", 0],
|
|
119
|
+
foreign: ["keyword", 1],
|
|
120
|
+
frame_row: ["keyword", 1],
|
|
121
|
+
free: ["keyword", 1],
|
|
122
|
+
from: ["keyword", 1],
|
|
123
|
+
full: ["keyword", 1],
|
|
124
|
+
function: ["keyword", 1],
|
|
125
|
+
fusion: ["keyword", 1],
|
|
126
|
+
get: ["keyword", 1],
|
|
127
|
+
global: ["keyword", 1],
|
|
128
|
+
grant: ["keyword", 1],
|
|
129
|
+
group: ["keyword", 1],
|
|
130
|
+
grouping: ["keyword", 1],
|
|
131
|
+
groups: ["keyword", 1],
|
|
132
|
+
having: ["keyword", 1],
|
|
133
|
+
hold: ["keyword", 1],
|
|
134
|
+
hour: ["keyword", 1],
|
|
135
|
+
identity: ["keyword", 1],
|
|
136
|
+
in: ["keyword", 0],
|
|
137
|
+
indicator: ["keyword", 1],
|
|
138
|
+
initial: ["keyword", 1],
|
|
139
|
+
inner: ["keyword", 1],
|
|
140
|
+
inout: ["keyword", 1],
|
|
141
|
+
insensitive: ["keyword", 1],
|
|
142
|
+
insert: ["keyword", 1],
|
|
143
|
+
int: ["type", 1],
|
|
144
|
+
integer: ["type", 1],
|
|
145
|
+
intersect: ["keyword", 1],
|
|
146
|
+
intersection: ["keyword", 1],
|
|
147
|
+
interval: ["type", 1],
|
|
148
|
+
into: ["keyword", 1],
|
|
149
|
+
is: ["keyword", 0],
|
|
150
|
+
join: ["keyword", 1],
|
|
151
|
+
language: ["keyword", 1],
|
|
152
|
+
large: ["keyword", 1],
|
|
153
|
+
lateral: ["keyword", 1],
|
|
154
|
+
leading: ["keyword", 1],
|
|
155
|
+
left: ["keyword", 1],
|
|
156
|
+
like: ["keyword", 1],
|
|
157
|
+
like_regex: ["keyword", 1],
|
|
158
|
+
local: ["keyword", 1],
|
|
159
|
+
localtime: ["built_in", 1],
|
|
160
|
+
localtimestamp: ["built_in", 1],
|
|
161
|
+
match: ["keyword", 1],
|
|
162
|
+
match_number: ["keyword", 1],
|
|
163
|
+
match_recognize: ["keyword", 1],
|
|
164
|
+
matches: ["keyword", 1],
|
|
165
|
+
member: ["keyword", 1],
|
|
166
|
+
merge: ["keyword", 1],
|
|
167
|
+
method: ["keyword", 1],
|
|
168
|
+
minute: ["keyword", 1],
|
|
169
|
+
modifies: ["keyword", 1],
|
|
170
|
+
module: ["keyword", 1],
|
|
171
|
+
month: ["keyword", 1],
|
|
172
|
+
multiset: ["keyword", 1],
|
|
173
|
+
national: ["type", 1],
|
|
174
|
+
natural: ["keyword", 1],
|
|
175
|
+
nchar: ["type", 1],
|
|
176
|
+
nclob: ["type", 1],
|
|
177
|
+
"new": ["keyword", 1],
|
|
178
|
+
no: ["keyword", 0],
|
|
179
|
+
none: ["keyword", 1],
|
|
180
|
+
normalize: ["keyword", 1],
|
|
181
|
+
not: ["keyword", 0],
|
|
182
|
+
null: ["keyword", 1],
|
|
183
|
+
numeric: ["type", 1],
|
|
184
|
+
octet_length: ["keyword", 1],
|
|
185
|
+
occurrences_regex: ["keyword", 1],
|
|
186
|
+
of: ["keyword", 0],
|
|
187
|
+
offset: ["keyword", 1],
|
|
188
|
+
old: ["keyword", 1],
|
|
189
|
+
omit: ["keyword", 1],
|
|
190
|
+
on: ["keyword", 0],
|
|
191
|
+
one: ["keyword", 1],
|
|
192
|
+
only: ["keyword", 1],
|
|
193
|
+
open: ["keyword", 1],
|
|
194
|
+
or: ["keyword", 0],
|
|
195
|
+
order: ["keyword", 1],
|
|
196
|
+
out: ["keyword", 1],
|
|
197
|
+
outer: ["keyword", 1],
|
|
198
|
+
over: ["keyword", 1],
|
|
199
|
+
overlaps: ["keyword", 1],
|
|
200
|
+
overlay: ["keyword", 1],
|
|
201
|
+
parameter: ["keyword", 1],
|
|
202
|
+
partition: ["keyword", 1],
|
|
203
|
+
pattern: ["keyword", 1],
|
|
204
|
+
per: ["keyword", 1],
|
|
205
|
+
percent: ["keyword", 1],
|
|
206
|
+
period: ["keyword", 1],
|
|
207
|
+
portion: ["keyword", 1],
|
|
208
|
+
precedes: ["keyword", 1],
|
|
209
|
+
precision: ["keyword", 1],
|
|
210
|
+
prepare: ["keyword", 1],
|
|
211
|
+
primary: ["keyword", 1],
|
|
212
|
+
procedure: ["keyword", 1],
|
|
213
|
+
ptf: ["keyword", 1],
|
|
214
|
+
range: ["keyword", 1],
|
|
215
|
+
reads: ["keyword", 1],
|
|
216
|
+
real: ["type", 1],
|
|
217
|
+
recursive: ["keyword", 1],
|
|
218
|
+
ref: ["keyword", 1],
|
|
219
|
+
references: ["keyword", 1],
|
|
220
|
+
referencing: ["keyword", 1],
|
|
221
|
+
release: ["keyword", 1],
|
|
222
|
+
result: ["keyword", 1],
|
|
223
|
+
return: ["keyword", 1],
|
|
224
|
+
returns: ["keyword", 1],
|
|
225
|
+
revoke: ["keyword", 1],
|
|
226
|
+
right: ["keyword", 1],
|
|
227
|
+
rollback: ["keyword", 1],
|
|
228
|
+
rollup: ["keyword", 1],
|
|
229
|
+
row: ["type", 1],
|
|
230
|
+
rows: ["keyword", 1],
|
|
231
|
+
running: ["keyword", 1],
|
|
232
|
+
savepoint: ["keyword", 1],
|
|
233
|
+
scope: ["keyword", 1],
|
|
234
|
+
scroll: ["keyword", 1],
|
|
235
|
+
search: ["keyword", 1],
|
|
236
|
+
second: ["keyword", 1],
|
|
237
|
+
seek: ["keyword", 1],
|
|
238
|
+
select: ["keyword", 1],
|
|
239
|
+
sensitive: ["keyword", 1],
|
|
240
|
+
session_user: ["built_in", 1],
|
|
241
|
+
set: ["keyword", 1],
|
|
242
|
+
show: ["keyword", 1],
|
|
243
|
+
similar: ["keyword", 1],
|
|
244
|
+
skip: ["keyword", 1],
|
|
245
|
+
smallint: ["type", 1],
|
|
246
|
+
some: ["keyword", 1],
|
|
247
|
+
specific: ["keyword", 1],
|
|
248
|
+
specifictype: ["keyword", 1],
|
|
249
|
+
sql: ["keyword", 1],
|
|
250
|
+
sqlexception: ["keyword", 1],
|
|
251
|
+
sqlstate: ["keyword", 1],
|
|
252
|
+
sqlwarning: ["keyword", 1],
|
|
253
|
+
start: ["keyword", 1],
|
|
254
|
+
static: ["keyword", 1],
|
|
255
|
+
submultiset: ["keyword", 1],
|
|
256
|
+
subset: ["keyword", 1],
|
|
257
|
+
succeeds: ["keyword", 1],
|
|
258
|
+
symmetric: ["keyword", 1],
|
|
259
|
+
system: ["keyword", 1],
|
|
260
|
+
system_time: ["built_in", 1],
|
|
261
|
+
system_user: ["built_in", 1],
|
|
262
|
+
table: ["keyword", 1],
|
|
263
|
+
tablesample: ["keyword", 1],
|
|
264
|
+
then: ["keyword", 0],
|
|
265
|
+
time: ["type", 1],
|
|
266
|
+
timestamp: ["type", 1],
|
|
267
|
+
timezone_hour: ["keyword", 1],
|
|
268
|
+
timezone_minute: ["keyword", 1],
|
|
269
|
+
to: ["keyword", 0],
|
|
270
|
+
trailing: ["keyword", 1],
|
|
271
|
+
translation: ["keyword", 1],
|
|
272
|
+
trigger: ["keyword", 1],
|
|
273
|
+
true: ["literal", 1],
|
|
274
|
+
truncate: ["keyword", 1],
|
|
275
|
+
uescape: ["keyword", 1],
|
|
276
|
+
union: ["keyword", 1],
|
|
277
|
+
unique: ["keyword", 1],
|
|
278
|
+
unknown: ["literal", 1],
|
|
279
|
+
update: ["keyword", 1],
|
|
280
|
+
user: ["keyword", 1],
|
|
281
|
+
using: ["keyword", 1],
|
|
282
|
+
value: ["keyword", 0],
|
|
283
|
+
values: ["keyword", 1],
|
|
284
|
+
varbinary: ["type", 1],
|
|
285
|
+
varchar: ["type", 1],
|
|
286
|
+
varying: ["type", 1],
|
|
287
|
+
versioning: ["keyword", 1],
|
|
288
|
+
when: ["keyword", 1],
|
|
289
|
+
whenever: ["keyword", 1],
|
|
290
|
+
where: ["keyword", 1],
|
|
291
|
+
window: ["keyword", 1],
|
|
292
|
+
with: ["keyword", 1],
|
|
293
|
+
within: ["keyword", 1],
|
|
294
|
+
without: ["keyword", 1],
|
|
295
|
+
year: ["keyword", 1],
|
|
296
|
+
add: ["keyword", 1],
|
|
297
|
+
asc: ["keyword", 1],
|
|
298
|
+
collation: ["keyword", 1],
|
|
299
|
+
desc: ["keyword", 1],
|
|
300
|
+
final: ["keyword", 1],
|
|
301
|
+
first: ["keyword", 1],
|
|
302
|
+
last: ["keyword", 1],
|
|
303
|
+
view: ["keyword", 1],
|
|
304
|
+
},
|
|
305
|
+
keywordPattern: "\\b[\\w\\.]+",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
rules: [],
|
|
309
|
+
scope: "type",
|
|
310
|
+
begin:
|
|
311
|
+
"\\b(?:double\\s+precision|large\\s+object|with\\s+timezone|without\\s+timezone)\\b",
|
|
312
|
+
end: "\\B|\\b",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
relevance: 0,
|
|
316
|
+
rules: [],
|
|
317
|
+
scope: "keyword",
|
|
318
|
+
begin:
|
|
319
|
+
"\\b(?:create\\s+table|insert\\s+into|primary\\s+key|foreign\\s+key|not\\s+null|alter\\s+table|add\\s+constraint|grouping\\s+sets|on\\s+overflow|character\\s+set|respect\\s+nulls|ignore\\s+nulls|nulls\\s+first|nulls\\s+last|depth\\s+first|breadth\\s+first)\\b",
|
|
320
|
+
end: "\\B|\\b",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
relevance: 0,
|
|
324
|
+
rules: [],
|
|
325
|
+
begin:
|
|
326
|
+
"\\b(?:abs|acos|array_agg|asin|atan|avg|cast|ceil|ceiling|coalesce|corr|cos|cosh|count|covar_pop|covar_samp|cume_dist|dense_rank|deref|element|exp|extract|first_value|floor|json_array|json_arrayagg|json_exists|json_object|json_objectagg|json_query|json_table|json_table_primitive|json_value|lag|last_value|lead|listagg|ln|log|log10|lower|max|min|mod|nth_value|ntile|nullif|percent_rank|percentile_cont|percentile_disc|position|position_regex|power|rank|regr_avgx|regr_avgy|regr_count|regr_intercept|regr_r2|regr_slope|regr_sxx|regr_sxy|regr_syy|row_number|sin|sinh|sqrt|stddev_pop|stddev_samp|substring|substring_regex|sum|tan|tanh|translate|translate_regex|treat|trim|trim_array|unnest|upper|value_of|var_pop|var_samp|width_bucket)\\s*\\(",
|
|
327
|
+
end: "\\B|\\b",
|
|
328
|
+
keywords: {
|
|
329
|
+
abs: ["built_in", 1],
|
|
330
|
+
acos: ["built_in", 1],
|
|
331
|
+
array_agg: ["built_in", 1],
|
|
332
|
+
asin: ["built_in", 1],
|
|
333
|
+
atan: ["built_in", 1],
|
|
334
|
+
avg: ["built_in", 1],
|
|
335
|
+
cast: ["built_in", 1],
|
|
336
|
+
ceil: ["built_in", 1],
|
|
337
|
+
ceiling: ["built_in", 1],
|
|
338
|
+
coalesce: ["built_in", 1],
|
|
339
|
+
corr: ["built_in", 1],
|
|
340
|
+
cos: ["built_in", 1],
|
|
341
|
+
cosh: ["built_in", 1],
|
|
342
|
+
count: ["built_in", 1],
|
|
343
|
+
covar_pop: ["built_in", 1],
|
|
344
|
+
covar_samp: ["built_in", 1],
|
|
345
|
+
cume_dist: ["built_in", 1],
|
|
346
|
+
dense_rank: ["built_in", 1],
|
|
347
|
+
deref: ["built_in", 1],
|
|
348
|
+
element: ["built_in", 1],
|
|
349
|
+
exp: ["built_in", 1],
|
|
350
|
+
extract: ["built_in", 1],
|
|
351
|
+
first_value: ["built_in", 1],
|
|
352
|
+
floor: ["built_in", 1],
|
|
353
|
+
json_array: ["built_in", 1],
|
|
354
|
+
json_arrayagg: ["built_in", 1],
|
|
355
|
+
json_exists: ["built_in", 1],
|
|
356
|
+
json_object: ["built_in", 1],
|
|
357
|
+
json_objectagg: ["built_in", 1],
|
|
358
|
+
json_query: ["built_in", 1],
|
|
359
|
+
json_table: ["built_in", 1],
|
|
360
|
+
json_table_primitive: ["built_in", 1],
|
|
361
|
+
json_value: ["built_in", 1],
|
|
362
|
+
lag: ["built_in", 1],
|
|
363
|
+
last_value: ["built_in", 1],
|
|
364
|
+
lead: ["built_in", 1],
|
|
365
|
+
listagg: ["built_in", 1],
|
|
366
|
+
ln: ["built_in", 1],
|
|
367
|
+
log: ["built_in", 1],
|
|
368
|
+
log10: ["built_in", 1],
|
|
369
|
+
lower: ["built_in", 1],
|
|
370
|
+
max: ["built_in", 1],
|
|
371
|
+
min: ["built_in", 1],
|
|
372
|
+
mod: ["built_in", 1],
|
|
373
|
+
nth_value: ["built_in", 1],
|
|
374
|
+
ntile: ["built_in", 1],
|
|
375
|
+
nullif: ["built_in", 1],
|
|
376
|
+
percent_rank: ["built_in", 1],
|
|
377
|
+
percentile_cont: ["built_in", 1],
|
|
378
|
+
percentile_disc: ["built_in", 1],
|
|
379
|
+
position: ["built_in", 1],
|
|
380
|
+
position_regex: ["built_in", 1],
|
|
381
|
+
power: ["built_in", 1],
|
|
382
|
+
rank: ["built_in", 1],
|
|
383
|
+
regr_avgx: ["built_in", 1],
|
|
384
|
+
regr_avgy: ["built_in", 1],
|
|
385
|
+
regr_count: ["built_in", 1],
|
|
386
|
+
regr_intercept: ["built_in", 1],
|
|
387
|
+
regr_r2: ["built_in", 1],
|
|
388
|
+
regr_slope: ["built_in", 1],
|
|
389
|
+
regr_sxx: ["built_in", 1],
|
|
390
|
+
regr_sxy: ["built_in", 1],
|
|
391
|
+
regr_syy: ["built_in", 1],
|
|
392
|
+
row_number: ["built_in", 1],
|
|
393
|
+
sin: ["built_in", 1],
|
|
394
|
+
sinh: ["built_in", 1],
|
|
395
|
+
sqrt: ["built_in", 1],
|
|
396
|
+
stddev_pop: ["built_in", 1],
|
|
397
|
+
stddev_samp: ["built_in", 1],
|
|
398
|
+
substring: ["built_in", 1],
|
|
399
|
+
substring_regex: ["built_in", 1],
|
|
400
|
+
sum: ["built_in", 1],
|
|
401
|
+
tan: ["built_in", 1],
|
|
402
|
+
tanh: ["built_in", 1],
|
|
403
|
+
translate: ["built_in", 1],
|
|
404
|
+
translate_regex: ["built_in", 1],
|
|
405
|
+
treat: ["built_in", 1],
|
|
406
|
+
trim: ["built_in", 1],
|
|
407
|
+
trim_array: ["built_in", 1],
|
|
408
|
+
unnest: ["built_in", 1],
|
|
409
|
+
upper: ["built_in", 1],
|
|
410
|
+
value_of: ["built_in", 1],
|
|
411
|
+
var_pop: ["built_in", 1],
|
|
412
|
+
var_samp: ["built_in", 1],
|
|
413
|
+
width_bucket: ["built_in", 1],
|
|
414
|
+
},
|
|
415
|
+
keywordPattern: "\\w+",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
rules: [],
|
|
419
|
+
scope: "variable",
|
|
420
|
+
begin: "@[a-z0-9][a-z0-9_]*",
|
|
421
|
+
end: "\\B|\\b",
|
|
422
|
+
},
|
|
423
|
+
{ rules: [6], scope: "string", begin: "'", end: "'" },
|
|
424
|
+
{ rules: [], begin: "''", end: "\\B|\\b" },
|
|
425
|
+
{ rules: [8], begin: '"', end: '"' },
|
|
426
|
+
{ rules: [], begin: '""', end: "\\B|\\b" },
|
|
427
|
+
{
|
|
428
|
+
relevance: 0,
|
|
429
|
+
rules: [],
|
|
430
|
+
scope: "number",
|
|
431
|
+
begin:
|
|
432
|
+
"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
|
|
433
|
+
end: "\\B|\\b",
|
|
434
|
+
},
|
|
435
|
+
{ rules: [11, 12], scope: "comment", begin: "/\\*", end: "\\*/" },
|
|
436
|
+
{
|
|
437
|
+
relevance: 0,
|
|
438
|
+
rules: [],
|
|
439
|
+
scope: "doctag",
|
|
440
|
+
begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
|
|
441
|
+
end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
|
|
442
|
+
excludeBegin: true,
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
rules: [],
|
|
446
|
+
begin:
|
|
447
|
+
"[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
|
|
448
|
+
end: "\\B|\\b",
|
|
449
|
+
},
|
|
450
|
+
{ rules: [14, 15], scope: "comment", begin: "--", end: "$" },
|
|
451
|
+
{
|
|
452
|
+
relevance: 0,
|
|
453
|
+
rules: [],
|
|
454
|
+
scope: "doctag",
|
|
455
|
+
begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
|
|
456
|
+
end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
|
|
457
|
+
excludeBegin: true,
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
rules: [],
|
|
461
|
+
begin:
|
|
462
|
+
"[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
|
|
463
|
+
end: "\\B|\\b",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
relevance: 0,
|
|
467
|
+
rules: [],
|
|
468
|
+
scope: "operator",
|
|
469
|
+
begin: "[-+*/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?",
|
|
470
|
+
end: "\\B|\\b",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
},
|
|
474
|
+
});
|
|
4
475
|
export default sql;
|