JuliaEditorSupport/julia-vim

something has changed in indentation of function arguments

avigliotti opened this issue · 2 comments

I just updated the plugin after deleting ~/.vim/ and I found that function arguments are not indented at the beginning of the parenthesis as it used to be, but are indented from the left margin,

to be more specific, i used to get

function my_func(x::Int,
                 y::Int)
      x+y
end

now I get

function my_func(x::Int,
     y::Float)
     x+y
end

is there anything I can do to restore the old behavior, I found it made clearer to read the arguments of a function especially when there are many

thanks

Yes, there is

*g:julia_indent_align_funcargs*

many thanks for the quick reply, that works perfectly!

btw removing the old .vim/ folder fixed the problem I was having with vim not folding multi-line comments,

many thanks again!