Julia-vim and Indentation

iHany
Tue, 22 Sep 2020 08:45:43 +0000
New to Julia

I’m using vim and julia-vim.
While editing julia files,
I think that it supports weird indentation as follows:

(Before pressing enter)

a = (b + c)  # cursor at before b

(What I expected)

a = (
    b + c)

(Result)

a = (
     b + c)  # after pressing `enter`

Similarly, such things also happen:
(Before pressing enter)

a = (
    b + c)  # cursor at after c

(What I expected)

a = (
    b + c
)

(Result)

a = (
     b + c
   )  # after pressing `enter`

Is it a problem with julia-vim or does something go wrong with my configuration?

1 post - 1 participant