Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37a888f

Browse files
add reindex to syntax highlight (#1149)
1 parent68aff5e commit37a888f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎pgml-dashboard/src/utils/markdown.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
225225
let code =match options.lang{
226226
"postgresql" |"sql" |"postgresql-line-nums" =>{
227227
lazy_static!{
228-
static refSQL_KEYS:[&'staticstr;68] =[
228+
static refSQL_KEYS:[&'staticstr;69] =[
229229
"PARTITION OF",
230230
"PARTITION BY",
231231
"CASCADE",
@@ -276,6 +276,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
276276
"END",
277277
"BETWEEN",
278278
"SET",
279+
"REINDEX",
279280
"INDEX",
280281
"USING",
281282
"GROUP BY",
@@ -295,7 +296,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
295296
"pgml.predict",
296297
"pgml.transform",
297298
];
298-
static refSQL_KEYS_REPLACEMENTS:[&'staticstr;68] =[
299+
static refSQL_KEYS_REPLACEMENTS:[&'staticstr;69] =[
299300
r#"<span class="syntax-highlight">PARTITION OF</span>"#,
300301
r#"<span class="syntax-highlight">PARTITION BY</span>"#,
301302
"<span class=\"syntax-highlight\">CASCADE</span>",
@@ -346,6 +347,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter {
346347
"<span class=\"syntax-highlight\">END</span>",
347348
"<span class=\"syntax-highlight\">BETWEEN</span>",
348349
"<span class=\"syntax-highlight\">SET</span>",
350+
"<span class=\"syntax-highlight\">REINDEX</span>",
349351
"<span class=\"syntax-highlight\">INDEX</span>",
350352
"<span class=\"syntax-highlight\">USING</span>",
351353
"<span class=\"syntax-highlight\">GROUP BY</span>",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp