Skip to content

Commit

Permalink
Add highlighting for dict{} literal
Browse files Browse the repository at this point in the history
  • Loading branch information
DZakh committed Feb 29, 2024
1 parent 45f5dbe commit 6629543
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grammars/rescript.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,10 @@
}
]
},
"list": {
"entity-literal": {
"patterns": [
{
"match": "\\b(list)(\\{)",
"match": "\\b(list|dict)(\\{)",
"captures": {
"1": {
"name": "keyword"
Expand Down Expand Up @@ -549,7 +549,7 @@
{ "include": "#string" },
{ "include": "#attribute" },
{ "include": "#function" },
{ "include": "#list" },
{ "include": "#entity-literal" },
{ "include": "#jsx" },
{ "include": "#operator" },
{ "include": "#number" },
Expand Down

0 comments on commit 6629543

Please sign in to comment.