atom-language-julia icon indicating copy to clipboard operation
atom-language-julia copied to clipboard

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

Open pparuzel opened this issue 7 years ago • 1 comments

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.

pparuzel avatar Mar 03 '18 00:03 pparuzel

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.

pfitzseb avatar Apr 04 '18 12:04 pfitzseb