Skip to content

Commit

Permalink
fix label highlighting in extension grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jun 14, 2024
1 parent 1375729 commit 65db2cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/primitive/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1803,6 +1803,9 @@ mod tests {
}},
{{
"include": "#characters"
}},
{{
"include": "#labels"
}},
{{
"include": "#numbers"
Expand Down Expand Up @@ -1886,6 +1889,10 @@ mod tests {
"characters": {{
"name": "constant.character.escape",
"match": "@(\\\\(x[0-9A-Fa-f]{{2}}|u[0-9A-Fa-f]{{4}}|.)|.)"
}},
"labels": {{
"name": "label.uiua",
"match": "\\$[a-zA-Z]*"
}},
"numbers": {{
"name": "constant.numeric.uiua",
Expand Down

0 comments on commit 65db2cf

Please sign in to comment.