julia-emacs icon indicating copy to clipboard operation
julia-emacs copied to clipboard

Indentation of map do statement

Open hcarlsso opened this issue 4 years ago • 1 comments

When writing a map-do statement, indentation is correct:

map(1:3) do x
    x
end

However, if writing this in a function call yields

f(
    map(1:3) do x
    x
    end
)

where the statements inside the do-block is on the same level as map. Shouldn't it be like the following?

f(
    map(1:3) do x
        x
    end
)

hcarlsso avatar Mar 24 '20 11:03 hcarlsso

I think this is a dup of #11, but will keep it open to see if fixing that closes it.

tpapp avatar Mar 24 '20 11:03 tpapp