File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,12 @@ contexts:
142
142
# variant and modules confused
143
143
# scope: entity.name.union
144
144
scope : variable.function variable.other
145
- - match : ' (#)(\.\.\.)?[a-zA-Z][0-9a-zA-Z_]*\b'
145
+ - match : ' (#)(\.\.\.)?( [a-zA-Z][0-9a-zA-Z_]*) \b'
146
146
captures :
147
147
1 : punctuation.definition.keyword
148
148
2 : punctuation.definition.keyword
149
+ # see comment above
150
+ 3 : variable.function variable.other
149
151
150
152
array :
151
153
- match : ' \['
Original file line number Diff line number Diff line change @@ -314,8 +314,10 @@ let interp = j`hello ${world.bla->b(a)} bye`
314
314
// ^ string.quoted.other punctuation.definition.string.end
315
315
let variant = #foo
316
316
// ^ source.res punctuation.definition.keyword
317
+ // ^^^ variable.function variable.other
317
318
let #... foo = bar
318
319
// ^^^^ punctuation.definition.keyword
320
+ // ^^^ variable.function variable.other
319
321
320
322
@foo (bar ) let a = 1
321
323
// ^ source.res meta.annotation punctuation.definition.annotation
You can’t perform that action at this time.
0 commit comments