Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named arguments in a single line "aligned" #271

Open
shn-amn opened this issue Aug 7, 2018 · 0 comments
Open

Named arguments in a single line "aligned" #271

shn-amn opened this issue Aug 7, 2018 · 0 comments

Comments

@shn-amn
Copy link

shn-amn commented Aug 7, 2018

With AlignParameters and AlignArguments on, when arguments or parameters are named on function call, even when they are all in the same line, if the first argument's name is shorter than the second, spaces are added between the name and the assignment, seemingly trying to "align" it with the second. As in

-   function(arg = 3, muchLongerArg = 13)
+   function(arg          = 3, muchLongerArg = 13)

I can't think of any situation where this behaviour can be desired.

@shn-amn shn-amn changed the title Name arguments in a single line "aligned" Named arguments in a single line "aligned" Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant