helix/helix-term
Michael Davis 67879a1e5b
Avoid inserting final newlines in empty files
This matches the behavior described by the EditorConfig spec for its
`insert_final_newline` option:

> Editors must not insert newlines in empty files when saving those
> files, even if `insert_final_newline = true`.

Co-authored-by: Axlefublr <101342105+Axlefublr@users.noreply.github.com>
2025-03-10 10:38:11 -04:00
..
src Avoid inserting final newlines in empty files 2025-03-10 10:38:11 -04:00
tests Avoid inserting final newlines in empty files 2025-03-10 10:38:11 -04:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs chore: clean up clippy lints (#11377) 2024-08-01 06:39:46 +09:00
Cargo.toml build(deps): bump the rust-dependencies group with 11 updates (#13017) 2025-03-03 18:09:43 -06:00