aboutsummaryrefslogtreecommitdiffstats
path: root/config/compose.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2023-09-01 13:40:56 +0200
committerRobin Jarry <robin@jarry.cc>2023-09-18 21:15:34 +0200
commitad159d5e9bd40dd42ce2bdbcbab30d954a3c4c0a (patch)
treef67ae66a7aec3fd6c400a31f133e716a2a1c934b /config/compose.go
parent389d89a9362e2e782f17074331bf85bb579d7466 (diff)
downloadaerc-ad159d5e9bd40dd42ce2bdbcbab30d954a3c4c0a.tar.gz
compose: add option for LF-only editors
Some editors only support LF line endings. For these, standard compliant eml files are not an option. Add an option compose.lf-editor to translate the eml file to lf lineendings. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc> Tested-by: Matěj Cepl <mcepl@cepl.eu>
Diffstat (limited to 'config/compose.go')
-rw-r--r--config/compose.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/compose.go b/config/compose.go
index 37e46f96..463723cf 100644
--- a/config/compose.go
+++ b/config/compose.go
@@ -17,6 +17,7 @@ type ComposeConfig struct {
FilePickerCmd string `ini:"file-picker-cmd"`
FormatFlowed bool `ini:"format-flowed"`
EditHeaders bool `ini:"edit-headers"`
+ LFEditor bool `ini:"lf-editor"`
}
var Compose = new(ComposeConfig)