Update helix-view/src/editor.rs

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
pull/13656/head
StratusFearMe21 2025-06-06 15:46:32 -06:00 committed by GitHub
parent d37bac00bd
commit 7cfed5f9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ pub struct Config {
pub default_line_ending: LineEndingConfig, pub default_line_ending: LineEndingConfig,
/// Whether to automatically insert a trailing line-ending on write if missing. Defaults to `true`. /// Whether to automatically insert a trailing line-ending on write if missing. Defaults to `true`.
pub insert_final_newline: bool, pub insert_final_newline: bool,
/// Whether the document should write it's contents to a backup file, then rename that backup to the target file when saving. This prevents data loss if the editor is interupted while writing the file, but may confuse some file watching/hot reloading programs. Defaults to `true` /// Whether the document should write its contents to a backup file, then rename that backup to the target file when saving. This prevents data loss if the editor is interrupted while writing the file, but may confuse some file watching/hot reloading programs. Defaults to `true`
pub atomic_save: bool, pub atomic_save: bool,
/// Whether to automatically remove all trailing line-endings after the final one on write. /// Whether to automatically remove all trailing line-endings after the final one on write.
/// Defaults to `false`. /// Defaults to `false`.