Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6629543

Browse files
committedFeb 29, 2024
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

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"
@@ -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)
Please sign in to comment.