Open ssokolow opened 4 years ago
Hmm. After more experimentation, it looks like I'm going to need something a little fancier, because I do use both.
I guess I'll have to investigate whether it's easier to make EnterTab produce an aligned indent in what would normally be a base + s:sw()
indent situation or to make EnterBackspace generate a base + s:sw()
indent (respecting the extra indent for function parameters) in what would normally be an aligned indent situation.
I would like to have this option as well, since I auto-indent the cursor most of the time:
let g:python_pep8_indent_disable_paren_aligned = 1
While I haven't tested it enough to be sure it's the right way to accomplish what I want, I just modified the version of vim-python-pep8-indent that I got through vim-polyglot as follows:
It'd be really nice if I could just set something like this and get on with my life: