From 1b79f5acb0f95e89a0c80a37e6350c2e7f4f1af3 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 18 Jan 2024 20:40:05 +0000 Subject: [PATCH] Missing keywords --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,