Skip to content

Commit

Permalink
fix: rational highlighting (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer authored May 9, 2021
1 parent 4f778cf commit 9a3e11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor-extensions/vscode/syntaxes/grain.json
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,11 @@
"number": {
"patterns": [
{
"match": "\\b(\\d[\\d_]*)(\\.[\\d_]*)?([eE][+-]?\\d[\\d_]*)?[fdwW]?\\b",
"match": "\\b(\\d[\\d_]*)\\s*/\\s*(\\d[\\d_]*)\\b",
"name": "constant.numeric.grain"
},
{
"match": "\\b(\\d[\\d_]*)\\s*/\\s*(\\d[\\d_]*)\\b",
"match": "\\b(\\d[\\d_]*)(\\.[\\d_]*)?([eE][+-]?\\d[\\d_]*)?[fdwW]?\\b",
"name": "constant.numeric.grain"
},
{
Expand Down

0 comments on commit 9a3e11b

Please sign in to comment.