Skip to content

Commit

Permalink
Add external keyword to grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
patriksvensson committed May 19, 2024
1 parent f5f5940 commit 49f2614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prism/prism-mew.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Prism.languages.mew = Prism.languages.extend('clike', {
lookbehind: true,
greedy: true
},
'keyword': /\b(?:union|where|namespace|match|mut|static|pub|use|type|interface|impl|field|while|loop|break|continue|else|fn|if|return|let|for|in|as|print)\b/,
'keyword': /\b(?:external|union|where|namespace|match|mut|static|pub|use|type|interface|impl|field|while|loop|break|continue|else|fn|if|return|let|for|in|as|print)\b/,
'boolean': /\b(?:_|false|iota|nil|true)\b/,
'number': [
// binary and octal integers
Expand Down

0 comments on commit 49f2614

Please sign in to comment.