File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,12 @@ contexts:
142142 # variant and modules confused
143143 # scope: entity.name.union
144144 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'
146146 captures :
147147 1 : punctuation.definition.keyword
148148 2 : punctuation.definition.keyword
149+ # see comment above
150+ 3 : variable.function variable.other
149151
150152 array :
151153 - match : ' \['
Original file line number Diff line number Diff line change @@ -314,8 +314,10 @@ let interp = j`hello ${world.bla->b(a)} bye`
314314// ^ string.quoted.other punctuation.definition.string.end
315315let variant = #foo
316316// ^ source.res punctuation.definition.keyword
317+ // ^^^ variable.function variable.other
317318let #... foo = bar
318319// ^^^^ punctuation.definition.keyword
320+ // ^^^ variable.function variable.other
319321
320322 @foo (bar ) let a = 1
321323// ^ source.res meta.annotation punctuation.definition.annotation
You can’t perform that action at this time.
0 commit comments