Closed justus2510 closed 3 days ago
Thanks for the issue!
This is an intended and documented behavior. The idea is that it is consistent with common case of splitting function call (like f(a, b, c)
) or an array without initial padding (like [a, b, c]
).
The suggested way to account for that is indeed with custom hooks.
Closing as not planned.
Contributing guidelines
Module(s)
splitjoin
Description
I like to format my function calls such that the arguments are all indented to the opening parenthesis. However, this style seems to introduce inconsistent spaces when joining.
I was able to easily fix this using a hook:
Neovim version
0.10.0
Steps to reproduce
Expected behavior
func(a, b, c, d)
Actual behavior
func(a,b, c,d)