From ebe3e90340fcb75b8a0fad0a32b6d1b074596d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastian=20M=C3=BCller?=
Date: Fri, 6 Sep 2024 09:53:33 -0700
Subject: [PATCH 2/2] update keywords
---
src/pages/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/index.js b/src/pages/index.js
index 4635399..dd0b6fe 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -44,7 +44,7 @@ function cadence(Prism) {
greedy: true
},
keyword:
- /\b(?:pub|fun|resource|create|let|destroy|return|self)\b/,
+ /\b(?:access|all|fun|resource|create|let|destroy|return|self)\b/,
'class-name': /\b[A-Z][A-Za-z_\d]*\b/,
function: /\b[a-z_]\w*(?=\s*\()/i,
}