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

Incorrect highlight rendering for combination of Open parenthesis and Asterisk #4252

Open
anthonydresser opened this issue Oct 30, 2020 · 0 comments

Comments

@anthonydresser
Copy link
Owner

  • Azure Data Studio Version: 1.23.0

I have custom token color for operators:

{ "name": "Keyword operators", "scope": [ "keyword.operator" ], "settings": { "foreground": "-ecae4f" } }

So when type Open parenthesis and Asterisk next each other "(*" editor don't highlight correct and Open parenthesis get Asterisk foreground color...
incorrectHighlight

But if I add another color token for operators with custom font style (bold,italic...) everything goes fine...

{ "name": "Keyword Operator Fix", "scope": [ "keyword.operator" ], "settings": { "fontStyle": "bold" } }

And this is the correct highlight
correctHighlight

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

No branches or pull requests

1 participant