JuliaEditorSupport / atom-language-julia

A Julia language support package for the Atom editor
Other
52 stars 39 forks source link

Incorrect syntax highlighting when splatting a range #245

Closed CameronBieganek closed 3 years ago

CameronBieganek commented 3 years ago

This is a tricky one. The following is correct Julia syntax:

julia> [1:3..., 7:9...]
6-element Vector{Int64}:
 1
 2
 3
 7
 8
 9

But the TextMate grammar treats the code as a floating point 3. followed by two dots, and similarly for the 9:

image