-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom themes lack match
and case
syntax highlighting
#3223
Comments
I'm not sure what the ask is here? Themes can provide their own colors for Here's an example: "editor.semanticTokenColorCustomizations": {
"[Default Light+]": {
"rules": {
// Make keywords green
"keyword": "#00ff26"
}
}
}, Which produces: Are you asking for a different token specific to 'match' and 'case'? |
then why are |
Do you have a specific case where that happens? I can't repro your first screen shot. |
It seems that in certain themes, such as for example One Monokai, Monokai Night or Darcula |
Pylance (and the tmlanguage grammar that ships with VS code) knows nothing of the theme being used. My guess is that the theme is not defining a color for the token, or is overriding it somehow. |
Hi, "editor.semanticTokenColorCustomizations": { |
default themes and github themes support
match
case
syntax, however majority of other themes does not support them out of the box.running
Inspect editor tokens and scopes
shows result like this:could there be any way to overwrite custom themes to support
match
case
?(using
editor.tokenColorCustomizations
for every single themes would too much work)Originally posted by @scarf005 in #1215 (comment)
The text was updated successfully, but these errors were encountered: