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-internal.h | |
parent | 71f1f03835566abd979fb1cb572a5195611ac9f7 (diff) |
Add sync option to control how much stuff to sync to disk
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h index f5e3211..dd109ea 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -151,6 +151,11 @@ struct Settings { RcStr *font; /// Comma separated list of paths to bold font files. RcStr *font_bold; + /// How to sync data when writing a file + /// - none - don't sync to disk + /// - full - sync data and metadata to disk + /// - data - only sync data but not metadata (on Windows this is the same as full) + RcStr *sync; LanguageExtension *language_extensions; /// dynamic array, sorted by KEY_COMBO(modifier, key) KeyAction *key_actions; |