We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b309d0 commit 1d16309Copy full SHA for 1d16309
CHANGELOG.md
@@ -12,6 +12,10 @@
12
13
## master
14
15
+#### :rocket: New Feature
16
+
17
+- Add hightlighting for the new dict literal syntax `dict{}`. https://github.com/rescript-lang/rescript-vscode/pull/934
18
19
## 1.56.0
20
21
#### :bug: Bug Fix
grammars/rescript.tmLanguage.json
@@ -297,10 +297,10 @@
297
}
298
]
299
},
300
- "list": {
+ "entity-literal": {
301
"patterns": [
302
{
303
- "match": "\\b(list)(\\{)",
+ "match": "\\b(list|dict)(\\{)",
304
"captures": {
305
"1": {
306
"name": "keyword"
@@ -548,7 +548,7 @@
548
{ "include": "#string" },
549
{ "include": "#attribute" },
550
{ "include": "#function" },
551
- { "include": "#list" },
+ { "include": "#entity-literal" },
552
{ "include": "#jsx" },
553
{ "include": "#operator" },
554
{ "include": "#number" },
0 commit comments