Skip to content

Commit

Permalink
fix: Properly highlight true/false in pattern matching (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Jun 6, 2022
1 parent 38e8ed8 commit 43d2cba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editor-extensions/vscode/syntaxes/grain.json
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@
"1": { "name": "punctuation.definition.parameters.grain" }
},
"patterns": [
{ "include": "#constant" },
{
"match": "(\\||\\bas\\b)",
"captures": {
Expand Down Expand Up @@ -1115,6 +1116,7 @@
}
]
},
{ "include": "#constant" },
{
"match": "(\\||\\bas\\b)",
"captures": {
Expand Down Expand Up @@ -1147,8 +1149,7 @@
},
{ "include": "#type-destructor-tuple" },
{ "include": "#type-destructor-record" },
{ "include": "#type-destructor-list" },
{ "include": "#constant" }
{ "include": "#type-destructor-list" }
]
},
"pattern-variant": {
Expand Down

0 comments on commit 43d2cba

Please sign in to comment.