diff options
author | pommicket <pommicket@gmail.com> | 2024-07-12 16:26:25 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2024-07-12 16:26:25 -0400 |
commit | dd6dcaec09426e786f5265fcb08dea283cb63fc0 (patch) | |
tree | a128399bebb00c80d33bcdac1a472450c0643ad8 /ted.cfg | |
parent | 71f1f03835566abd979fb1cb572a5195611ac9f7 (diff) |
Add sync option to control how much stuff to sync to disk
Diffstat (limited to 'ted.cfg')
-rw-r--r-- | ted.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -133,6 +133,12 @@ root-identifiers = .ted-root, .ted-root.out, Cargo.toml, make.bat, CMakeLists.tx # writing to the file (prevents loss of data if power goes out mid-write or something). # the backups are deleted immediately after writing. save-backup = yes +# how much data to sync to disk on :save +# this can be one of: +# - none: don't sync to disk (you may lose data if power goes out) +# - full: sync data and metadata to disk (fsync) +# - data: sync data to disk but not metadata (fsyncdata) (on Windows this is the same as full) +sync = data # whether to save files with \r\n line endings. crlf = no # same as crlf setting, but ignored on non-Windows operating system. |