jdinhify/vscode-theme-gruvbox

Python match/case syntax highlight is not supporting

ruthus18 opened this issue · 2 comments

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.

Screenshot 2022-08-01 at 17 58 54

@ruthus18 would you be able to provide a full snippet to be used for investigating this?

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,
image
not sure if helpful but the css selector is
image
Using scope editor:
Gruvbox:
image
Default:
image
This applies to both match and case, hopefully this is helpful.
@jdinhify