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

Add vim native trailing whitespace removal #297

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

ferplnat
Copy link
Contributor

Hello! I ran across this when using Neovim in an environment where I didn't have sed, and thought that there was probably some simple implementation that didn't need to rely on any external binaries. I know sed is super common, but I figured this might be a useful add for anyone looking for this specific functionality. I took close care to make sure that this would not affect search history and would behave as similarly as possible to the sed implementation.

Open to different function naming, and happy to make any changes needed.

Thanks for considering!

@mhartington mhartington merged commit 241caf2 into mhartington:master Nov 27, 2023
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.

2 participants