tokyo-night / tokyo-night-vscode-theme

A clean, dark Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.
MIT License
1.74k stars 119 forks source link

Python 3.10 "match/case" highlighting doesn't work #64

Closed SirZokxyron closed 1 year ago

SirZokxyron commented 1 year ago

Issue

When writing python 3.10+ the match and case keywords are not highlighted. I've provided screenshots to compare with the default dark VS Code theme.

Expected match/case highlighting

default

Actual match/case highlighting

tokyonight

Suggested match/case highlighting

suggestion Since match and case are two regular keywords, it'd be logical to apply the same color as if, else, etc.

Thank you for your time, and thank you again for this wonderful theme!

enkia commented 1 year ago

Apologies for the late response. I can't seem to replicate on my end? if/else, match/case, switch, etc uses textmate scope keyword.control which is in my theme. I don't write python scripts so I may be missing something. I'm using the Python extension by Microsoft.

image
SirZokxyron commented 1 year ago

Well, for some magic reasons, it works now. Perhaps something has been updated somewhere, or I had something badly configured, I have no idea.

Anyway, thanks for the reply, I'm closing the issue.

Have a nice day!