# Julia-vim and Indentation

**URL:** <https://discourse.julialang.org/t/julia-vim-and-indentation/47052>\
**Category:** New to Julia\
**Tags:** question, editors\
**Created:** [September 22, 2020, 8:45am UTC](https://discourse.julialang.org/t/julia-vim-and-indentation/47052 "2020-09-22T08:45:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iHany](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihany/32/18151_2.png) [@iHany](https://discourse.julialang.org/u/iHany)\
**Post date:** [September 22, 2020, 8:45am UTC](https://discourse.julialang.org/t/julia-vim-and-indentation/47052/1 "2020-09-22T08:45:43Z")

</div>

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

(Before pressing `enter`)

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

```

(What I expected)

```julia
a = (
    b + c)

```

(Result)

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

```

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

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

```

(What I expected)

```julia
a = (
    b + c
)

```

(Result)

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

```

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