9
let b:some = {
            \ 'some',
            \ 'array',
}

This makes code ugly IMHO, how can I change that and should I change that? Is that some coding style or something in vimscript?

Also, is there a plugin that would (I think I had one, but I don't know which one) would expand <CR> like delimitMate with inserting appropriate number of spaces and \?

1

1 Answer 1

8

You can change the amount of that indentation by setting the variable g:vim_indent_cont, e.g.,

:let g:vim_indent_cont = &sw

See

:help ft-vim-indent
1
  • Christian Brabandt: I didn't see your comment til just now.
    – garyjohn
    Commented Dec 10, 2016 at 1:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.