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

Finish support for insert_final_newline #361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vermiculus
Copy link

As noted in the documentation, insert_final_newline = false is expected to remove final newlines, but editorconfig-mode does not do that.

Use a similar pattern to editorconfig-set-trailing-ws by setting a buffer-local before-save hook to remove any final newline.


Fix #360.

As noted in the documentation, `insert_final_newline = false` is
expected to remove final newlines, but `editorconfig-mode` does not do
that.

Use a similar pattern to `editorconfig-set-trailing-ws` by setting a
buffer-local before-save hook to remove any final newline.
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.

Remove final newlines when insert_final_newline = false
1 participant