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

Feature request: trim at line change #47

Open
fleutot opened this issue Oct 18, 2022 · 2 comments
Open

Feature request: trim at line change #47

fleutot opened this issue Oct 18, 2022 · 2 comments

Comments

@fleutot
Copy link

fleutot commented Oct 18, 2022

I highlight trailing whitespace in bright red.

Steps:

  • add a new line to source code, so that the new line is automatically indented (e.g. after a curly in a C-like language),
  • navigate away from the line, C-n.

Result:

  • the indentation whitespace on the newly created line is highlighted, until I save the file.

Solution:

  • do the trimming at leaving the line, or give an option to do so.

This is what keeps me using ws-trim instead of ws-butler. Would you consider implementing something like this?

@phil-s
Copy link

phil-s commented Oct 20, 2022

Just out of curiosity, what is it about ws-trim that makes you want to stop using it?

@fleutot
Copy link
Author

fleutot commented Oct 20, 2022

@phil-s The fact that it's not in melpa. I started a new init.el from scratch when I moved to emacs 28, and I couldn't find that functionality anywhere. Until I realized I had ws-trim.el manually downloaded.

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