From c400d84ee480928e7df3d2090c35c7cc202f46be Mon Sep 17 00:00:00 2001 From: Aru Sahni Date: Thu, 7 Dec 2023 10:42:55 -0500 Subject: [PATCH] Add a lexer for the Materialize SQL dialect --- README.md | 2 +- lexers/embedded/materialize_sql_dialect.xml | 155 ++++++++++++++++++++ 2 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 lexers/embedded/materialize_sql_dialect.xml diff --git a/README.md b/README.md index 6c347a0be..6a7c77d24 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ translators for Pygments lexers and styles. | J | J, Java, JavaScript, JSON, Julia, Jungle | | K | Kotlin | | L | Lighttpd configuration file, LLVM, Lua | -| M | Makefile, Mako, markdown, Mason, Mathematica, Matlab, mcfunction, Meson, Metal, MiniZinc, MLIR, Modula-2, MonkeyC, MorrowindScript, Myghty, MySQL | +| M | Makefile, Mako, markdown, Mason, Materialize SQL dialect, Mathematica, Matlab, mcfunction, Meson, Metal, MiniZinc, MLIR, Modula-2, MonkeyC, MorrowindScript, Myghty, MySQL | | N | NASM, Natural, Newspeak, Nginx configuration file, Nim, Nix | | O | Objective-C, OCaml, Octave, Odin, OnesEnterprise, OpenEdge ABL, OpenSCAD, Org Mode | | P | PacmanConf, Perl, PHP, PHTML, Pig, PkgConfig, PL/pgSQL, plaintext, Plutus Core, Pony, PostgreSQL SQL dialect, PostScript, POVRay, PowerQuery, PowerShell, Prolog, PromQL, properties, Protocol Buffer, PRQL, PSL, Puppet, Python, Python 2 | diff --git a/lexers/embedded/materialize_sql_dialect.xml b/lexers/embedded/materialize_sql_dialect.xml new file mode 100644 index 000000000..7b22a46c6 --- /dev/null +++ b/lexers/embedded/materialize_sql_dialect.xml @@ -0,0 +1,155 @@ + + + Materialize SQL dialect + materialize + mzsql + text/x-materializesql + true + true + + + + + + + + + + + + + + + + + + + 6 + 12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 12 + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file