aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-01-18 20:40:05 +0000
committerLouis Pilfold <louis@lpil.uk>2024-01-18 20:40:05 +0000
commit1b79f5acb0f95e89a0c80a37e6350c2e7f4f1af3 (patch)
treecc9f72fe021e4d161f4e67e2a94fcc60b7b619cc /static/index.js
parent36c767cf7058cca2c63f1a74161133f2492648e8 (diff)
downloadtour-1b79f5acb0f95e89a0c80a37e6350c2e7f4f1af3.tar.gz
tour-1b79f5acb0f95e89a0c80a37e6350c2e7f4f1af3.zip
Missing keywords
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js
index 8d13c63..3c7ef88 100644
--- a/static/index.js
+++ b/static/index.js
@@ -12,7 +12,7 @@ const prismGrammar = {
},
function: /([a-z_][a-z0-9_]+)(?=\()/,
keyword:
- /\b(use|case|if|external|fn|import|let|assert|try|pub|type|opaque|const|todo|as)\b/,
+ /\b(use|case|if|@external|@deprecated|fn|import|let|assert|try|pub|type|opaque|const|panic|todo|as)\b/,
symbol: {
pattern: /([A-Z][A-Za-z0-9_]+)/,
greedy: true,