JuliaFormatter.jl
JuliaFormatter.jl copied to clipboard
Whitespace removed outside of indices
When I format the following text, the blanks in the expression are removed. I expected that only to happen in index expressions inside the `[...].
julia> using JuliaFormatter
julia> s = "(A * B)[1]"
"(A * B)[1]"
julia> format_text(s) |> print
(A*B)[1]
julia>