Skip to content

Suggestion: delete the space in the end when break a line #96

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

Closed
CareF opened this issue Nov 24, 2017 · 1 comment
Closed

Suggestion: delete the space in the end when break a line #96

CareF opened this issue Nov 24, 2017 · 1 comment

Comments

@CareF
Copy link

CareF commented Nov 24, 2017

Thank you a lot for making a very nice plugin, but sorry I don't have the ability to implement it myself.
The conditions are:

foo(a, b, c)

and I want to break after b, , I would expect for same result no matter I break the line after , or space.

@blueyed
Copy link
Member

blueyed commented Nov 24, 2017

Makes sense, but it does not seem the responsibility of an indent plugin to change text by itself.
We're only being asked for the indent of line 2 in this case - and should not modify line 1.

I am closing this, and suggest to use something to remove trailing spaces instead and/or just wrap after the ,.. ;)

@blueyed blueyed closed this as completed Nov 24, 2017
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

2 participants