5
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 \?

4

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
  • Christian Brabandt: I didn't see your comment til just now. – garyjohn Dec 10 '16 at 1:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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