Skip to content

Commit 8f7c104

Browse files
committed
Add highlighting for dict{} literal
1 parent 0b309d0 commit 8f7c104

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grammars/rescript.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,10 @@
297297
}
298298
]
299299
},
300-
"list": {
300+
"entity-literal": {
301301
"patterns": [
302302
{
303-
"match": "\\b(list)(\\{)",
303+
"match": "\\b(list|dict)(\\{)",
304304
"captures": {
305305
"1": {
306306
"name": "keyword"
@@ -548,7 +548,7 @@
548548
{ "include": "#string" },
549549
{ "include": "#attribute" },
550550
{ "include": "#function" },
551-
{ "include": "#list" },
551+
{ "include": "#entity-literal" },
552552
{ "include": "#jsx" },
553553
{ "include": "#operator" },
554554
{ "include": "#number" },

0 commit comments

Comments
 (0)