delimitMate
delimitMate copied to clipboard
Some closing characters indented too far in python
Hitting <CR>
at the |
:
{|}
results in
{
|
}
But does not work correctly with parentheses and square brackets:
(|)
results in
(
|
)
and
[|]
results in
[
|
]
Is there something special about square brackets and parentheses? Is this some PEP8 hard-coded-ness? The desired results (similar to the curly braces) seem to be approved by PEP8: https://www.python.org/dev/peps/pep-0008/#indentation .
I too am having this issue, but with all pair types...
this issue is not related to delimitMate, i guess, try adding vim-polyglot plugin, but it can hurt performance (e.g. in .vue
files)
see also https://stackoverflow.com/q/67166645/13449712