summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/ted.cfg b/ted.cfg
index ea59963..5a20477 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -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.