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

Misleading coloring of "end" in let-block inside brackets #140

Open
pparuzel opened this issue Mar 3, 2018 · 1 comment
Open

Misleading coloring of "end" in let-block inside brackets #140

pparuzel opened this issue Mar 3, 2018 · 1 comment

Comments

@pparuzel
Copy link

pparuzel commented Mar 3, 2018

Example:

# look at "end" color
Float64[let; println("Adding float"); rand(1.0:10.0); end]
# while it should highlight "end" like this
let; println("Adding float"); rand(1.0:10.0); end

This highlights end as if it was the "end" meaning index of the last element.
Subtle thing, though.

@pfitzseb
Copy link
Collaborator

pfitzseb commented Apr 4, 2018

Yeah... this basically was a shortcut I took because I was too annoyed with figuring out corrected regexps for this. I don't think I'll look into fixing this and instead focus my efforts on https://github.com/tree-sitter/tree-sitter-julia.

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

2 participants