Skip to content

Commit

Permalink
feat: add BigDecimal literal highlighting (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Sep 15, 2024
1 parent 8bbfea4 commit 40d1049
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions syntaxes/flix.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@
"name": "constant.numeric.decimal.flix",
"match": "\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(f32|f64)?\\b"
},
{
"name": "constant.numeric.decimal.bigdecimal.flix",
"match": "\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(ff)?\\b"
},
{
"name": "constant.numeric.decimal.flix",
"match": "(?<!\\$)\\b[0-9](_*[0-9])*(i8|i16|i32|i64|ii)?\\b"
Expand Down

0 comments on commit 40d1049

Please sign in to comment.