From 9748266de2da169ee91b769cbd227b9d75b03ee9 Mon Sep 17 00:00:00 2001 From: Dan <39170265+chillenberger@users.noreply.github.com> Date: Tue, 7 Nov 2023 19:17:23 -0700 Subject: [PATCH] add reindex to syntax highlight --- pgml-dashboard/src/utils/markdown.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index 0533b8b6c..1511b7da5 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -225,7 +225,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { let code = match options.lang { "postgresql" | "sql" | "postgresql-line-nums" => { lazy_static! { - static ref SQL_KEYS: [&'static str; 68] = [ + static ref SQL_KEYS: [&'static str; 69] = [ "PARTITION OF", "PARTITION BY", "CASCADE", @@ -276,6 +276,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "END", "BETWEEN", "SET", + "REINDEX", "INDEX", "USING", "GROUP BY", @@ -295,7 +296,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "pgml.predict", "pgml.transform", ]; - static ref SQL_KEYS_REPLACEMENTS: [&'static str; 68] = [ + static ref SQL_KEYS_REPLACEMENTS: [&'static str; 69] = [ r#"PARTITION OF"#, r#"PARTITION BY"#, "CASCADE", @@ -346,6 +347,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "END", "BETWEEN", "SET", + "REINDEX", "INDEX", "USING", "GROUP BY", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy