Skip to content

Commit

Permalink
Missing keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Jan 18, 2024
1 parent 36c767c commit 1b79f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b79f5a

Please sign in to comment.