Skip to content

Commit

Permalink
Highlight numbers with uppercase base prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
smercer10 authored and lpil committed May 20, 2024
1 parent 2c98d82 commit 5898983
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/gleam.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
},
"binary_number": {
"name": "constant.numeric.binary.gleam",
"match": "\\b0b(_?[01])+\\b",
"match": "\\b0[bB](_?[01])+\\b",
"patterns": []
},
"octal_number": {
"name": "constant.numeric.octal.gleam",
"match": "\\b0o(_?[0-7])+\\b",
"match": "\\b0[oO](_?[0-7])+\\b",
"patterns": []
},
"decimal_number": {
Expand All @@ -133,7 +133,7 @@
},
"hexadecimal_number": {
"name": "constant.numeric.hexadecimal.gleam",
"match": "\\b0x(_?[[:xdigit:]])+\\b",
"match": "\\b0[xX](_?[[:xdigit:]])+\\b",
"patterns": []
},
"boolean": {
Expand Down

0 comments on commit 5898983

Please sign in to comment.