You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
" DISABLED: Indent to match position of opening paren." let res = paren_col"" Force nothing_after_opening_paren-style indentation to avoid having" to wear out my dedent keybind fighting with the indenter in " situations like this:"" parser.add_argument('-v', '--verbose', action="count", default=2," help="Increase the verbosity. Use twice for extra effect.")" parser.add_argument('-q', '--quiet', action="count", default=0," help="Decrease the verbosity. Use twice for extra effect.")letres= base +s:sw()
It'd be really nice if I could just set something like this and get on with my life:
letg:python_pep8_indent_disable_paren_aligned=1
The text was updated successfully, but these errors were encountered:
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.
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:
The text was updated successfully, but these errors were encountered: