Skip to content

Commit

Permalink
update keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Sep 6, 2024
1 parent b9a41b8 commit ebe3e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit ebe3e90

Please sign in to comment.