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

[Syntax highlighting] New syntax highlighting in v2.7.0 does not handle this case. #74

Open
lexidor opened this issue Oct 20, 2019 · 0 comments
Labels

Comments

@lexidor
Copy link
Contributor

lexidor commented Oct 20, 2019

Using the older version (and what github appears to be using)

  const dict<string, (function(Webserver\RequestURL): Awaitable<void>)> CONSTANT_NAME = dict[];
//00000 000012222221 33333333333333333333333333333333 33333333333333330 4444444444444 0 0000111

In case github updates their version before you had a chance to see it, this is what I see right now.

0 -> red
1 -> black
2 -> green
3 -> purple
4 -> blue

Using the newer version (2.7.0)

image

The comma behind string is red.
The left angle bracket of the Awaitable is red, but the right one is gray.
The left paren of the (function) is blue, but the right one is gray.
The left angle bracket of the dict is gray, but the right one is white.

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

No branches or pull requests

2 participants