Content-Length: 2197 | pFad | http://github.com/postgresml/postgresml/pull/977.diff
thub.com diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index e090cfbfd..0957e5e39 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -220,7 +220,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { let code = match options.lang { "postgresql" | "sql" | "postgresql-line-nums" => { lazy_static! { - static ref SQL_KEYS: [&'static str; 61] = [ + static ref SQL_KEYS: [&'static str; 66] = [ "CASCADE", "INNER ", "ON ", @@ -288,7 +288,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "pgml.predict", "pgml.transform", ]; - static ref SQL_KEYS_REPLACEMENTS: [&'static str; 61] = [ + static ref SQL_KEYS_REPLACEMENTS: [&'static str; 66] = [ "CASCADE", "INNER ", "ON ", @@ -346,6 +346,11 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "pgml.norm_l2", "CONCURRENTLY", "ON\n", + "VALUES", + "@@", + "=>", + "GENERATED ALWAYS AS", + "STORED", "IF NOT EXISTS", "pgml.train", "pgml.predict",Fetched URL: http://github.com/postgresml/postgresml/pull/977.diff
Alternative Proxies: