Skip to content

Commit

Permalink
Update components/prism-elixir.js
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
  • Loading branch information
gordalina and RunDevelopment committed Feb 23, 2021
1 parent 1a9a935 commit 77b7d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/prism-elixir.js
Expand Up @@ -41,7 +41,7 @@ Prism.languages.elixir = {
alias: 'symbol'
},
'atom-module': {
pattern: /\b[A-Z][A-Z_a-z0-9]*\b/,
pattern: /\b[A-Z]\w*\b/,
alias: 'class-name'
},
// Look-ahead prevents bad highlighting of the :: operator
Expand Down

0 comments on commit 77b7d92

Please sign in to comment.