Skip to content

Commit

Permalink
components/hoon: simplify constant definition
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
  • Loading branch information
matildepark and RunDevelopment authored Jul 2, 2021
1 parent 9ff4225 commit 3982e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/prism-hoon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Prism.languages.hoon = {
constant: /(?:%\.n)|(?:%\.y)|(?:%[\w-]+\w?)/,
constant: /%(?:\.[ny])|[\w-]+)/,
comment: {
pattern: /::.*/,
lookahead: true,
Expand Down

0 comments on commit 3982e75

Please sign in to comment.