Skip to content

Commit

Permalink
Fix highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Oct 23, 2024
1 parent 880a669 commit 386fd72
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 @@ -28,7 +28,7 @@ const prismGrammar = {
greedy: true,
},
module: {
pattern: /([a-z][a-z0-9_]*)\./,
pattern: /([a-z][a-z0-9_]*)\.(?!{)/,
inside: {
punctuation: /\./,
},
Expand Down

0 comments on commit 386fd72

Please sign in to comment.