Skip to content

Trim all trailing whitespace in onEnter #6128

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

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

repnop
Copy link
Contributor

@repnop repnop commented Oct 3, 2020

Fixes #5848

@repnop
Copy link
Contributor Author

repnop commented Oct 3, 2020

I wasn't sure if modifying the behavior regarding the space-check was desirable (e.g. to check for a trailing tab to trigger it as well), but if that's something that you'd want included I can add that as well :)

@matklad
Copy link
Member

matklad commented Oct 6, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 6, 2020

@bors bors bot merged commit bf1043c into rust-lang:master Oct 6, 2020
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

Successfully merging this pull request may close these issues.

Feature request: rust-analyzer.onEnter should strip out trailing white-spaces before go to next line
3 participants