Skip to content

Commit

Permalink
Don't highlight unused after macro interp (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Feb 26, 2024
1 parent e0a6bbc commit 968d53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/crystal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@
"name": "comment.line.number-sign.crystal"
},
{
"match": "\\b_([\\w]+[?!]?)\\b(?!\\()",
"match": "(?<!}})\\b_([\\w]+[?!]?)\\b(?!\\()",
"name": "comment.unused.crystal"
},
{
Expand Down

0 comments on commit 968d53a

Please sign in to comment.