Using g:julia_indent_align_brackets = 0, the closing parenthesis of a nested parenthesis block receives no indentation:
# as it is now
reduce(+,
map(
i -> i * 2,
[1, 2, 3]
)
)
# expected
reduce(+,
map(
i -> i * 2,
[1, 2, 3]
)
)
I made a quick fix to my local indent/julia.vim that seems to be working, but I'm still testing it out to try to gauge whether it breaks other indentation:
Using
g:julia_indent_align_brackets = 0
, the closing parenthesis of a nested parenthesis block receives no indentation:I made a quick fix to my local
indent/julia.vim
that seems to be working, but I'm still testing it out to try to gauge whether it breaks other indentation:https://github.com/JuliaEditorSupport/julia-vim/blob/a4bc8a2032e9da4dbfc5f527c2415b68fc09b9bd/indent/julia.vim#L398-L399
I'm happy to help iterate on this if there are other scenarios that I might be overlooking.