summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-05-11 11:47:22 -0400
committerpommicket <pommicket@gmail.com>2023-05-11 11:47:22 -0400
commit8ae9e18c008dba7e47c5750f7feb91df8bf723df (patch)
treeac80b1663cfe9f6b4c8a772319006eca2e16bd50 /ted.cfg
parent79724dc47d0fe9b6ceaa21cd3af1052bdcaea653 (diff)
fix backups wrt hard links, add crlf-windows setting
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/ted.cfg b/ted.cfg
index 592cfb4..408c9b3 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -99,6 +99,14 @@ regenerate-tags-if-not-found = yes
# if no identifying files are found, the directory containing the current file is used.
root-identifiers = .ted-root, .ted-root.out, Cargo.toml, make.bat, CMakeLists.txt, Makefile, go.mod, .git
+# whether or not to save a backup copy of files before
+# 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
+# whether to default to \r\n line endings.
+# this setting is ignored on non-Windows operating system.
+crlf-windows = no
+
# you can make your own custom background for ted using a shader.
# an example is provided here. you will have access to the following variables:
# t_pos - screen position of fragment (0,0) to (1,1)