Skip to content

Commit 6629543

Browse files
committed
Add highlighting for dict{} literal
1 parent 45f5dbe commit 6629543

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grammars/rescript.tmLanguage.json

+3-3
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"
@@ -549,7 +549,7 @@
549549
{ "include": "#string" },
550550
{ "include": "#attribute" },
551551
{ "include": "#function" },
552-
{ "include": "#list" },
552+
{ "include": "#entity-literal" },
553553
{ "include": "#jsx" },
554554
{ "include": "#operator" },
555555
{ "include": "#number" },

0 commit comments

Comments
 (0)