Python match/case syntax highlight is not supporting
ruthus18 opened this issue · 2 comments
ruthus18 commented
Hello! First of all, thank you for this pretty theme, love using it.
I have faced with problem that match/case syntax, which was added in Python 3.10, not supporting by theme. If you switch to default theme, everything is OK, so I suppose that the problem is not in IntelliSense, but in tokenization something inside the gruvbox theme.
jdinhify commented
@ruthus18 would you be able to provide a full snippet to be used for investigating this?
leon332157 commented
def operation(op1,op2,op):
match op:
case '+':
return op1+op2
case '-':
return op1-op2
case '*':
return op1*op2
case '/':
return op1/op2
It works on the default theme for vscode,
not sure if helpful but the css selector is
Using scope editor:
Gruvbox:
Default:
This applies to both match
and case
, hopefully this is helpful.
@jdinhify