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 does not work correctly for generic types in function parameters #75

Open
Andriamanitra opened this issue Mar 25, 2023 · 0 comments
Labels

Comments

@Andriamanitra
Copy link

Andriamanitra commented Mar 25, 2023

Describe the bug
Syntax highlighting starts doing weird things when there are generic types in a parameter list.

To Reproduce
Paste this snippet to sublime code buffer with Crystal syntax selected:

def func(a : String, b : Array(String), c : String)
  p a
end

Expected behavior
I expect the parameter c to be the same color as a and b, and the parens in Array(String) to both be same color.

Screenshots
image

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

1 participant