We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3637c48 commit f773b36Copy full SHA for f773b36
grammars/rescript.tmLanguage.json
@@ -230,7 +230,7 @@
230
}
231
]
232
},
233
- "array": {
+ "bracketAccess": {
234
"patterns": [
235
{
236
"match": "\\[",
@@ -261,22 +261,6 @@
261
262
263
264
- "objectAccess": {
265
- "patterns": [
266
- {
267
- "match": "\\b[a-z_][0-9a-zA-Z_]*(\\[)",
268
- "captures": {
269
- "1": {
270
- "name": "punctuation.section.brackets.begin"
271
- }
272
273
- },
274
275
- "match": "\\]",
276
- "name": "punctuation.section.brackets.end"
277
278
- ]
279
280
"attribute": {
281
282
@@ -460,10 +444,7 @@
460
444
"include": "#list"
461
445
462
446
463
- "include": "#objectAccess"
464
465
466
- "include": "#array"
447
+ "include": "#bracketAccess"
467
448
468
449
469
450
"include": "#jsx"
0 commit comments