The Wayback Machine - https://web.archive.org/web/20201206081201/https://github.com/MagicStack/MagicPython/issues/178
Skip to content
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

Is it possible to highlight all decorators the same? #178

Open
skilkis opened this issue Apr 6, 2019 · 0 comments
Open

Is it possible to highlight all decorators the same? #178

skilkis opened this issue Apr 6, 2019 · 0 comments

Comments

@skilkis
Copy link

@skilkis skilkis commented Apr 6, 2019

  • Editor name and version: VS Code 1.33.0
  • Platform: Windows 10 1809
  • Color scheme: Pycharm Dracula Style (WIP)
  • MagicPython version: 1.1.0

First of all congrats on the great project!

I've begun working on a theme to make VS Code look similar to PyCharm. I would like to have all decorators highlighted with the same color regardless of type. At the moment the scope 'support.type.python' is prioritized over 'meta.function.decorator.python'. You can see this demonstrated in the example below for the property decorator. I get why the current order is more desirable, but is it possible to somehow override it within the theme?

decorator_example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.