AutoYADM commit: 2025-03-20 21:45:08

This commit is contained in:
Daniel Fichtinger 2025-03-20 21:45:08 -04:00
parent f113747cd0
commit 3c20cdad8e
2 changed files with 4 additions and 3 deletions

View file

@ -124,6 +124,7 @@ column-name={{.Style (index (.From | names) 0) "name"}}
column-subject={{.Style (printf "%s%s" .ThreadPrefix .Subject) "subject"}}
column-date={{.Style (.DateAutoFormat .Date.Local) "date"}}
column-labels = {{if match .Folder "Inbox"}}{{.StyleMap (.Labels | join "," | replace `\bArchive(/|$|,)` `A$1` | replace `\bLists(/|$|,)` `L$1` | replace `Sourcehut` `Srht` | replace `Recipt` `Rcpt` | replace `Inbox` `I` | replace `Sent` `S` | replace `Draft(s)?` `Dr` | replace `Snoozed` `Snz` | split "," ) (exclude `I`) (case `^A(/)?.*` "archive") (case `^L(/)?.*` "lists") (default "labels") | join ","}}{{else}}{{.StyleMap (.Labels | join "," | replace `\bArchive(/|$|,)` `A$1` | replace `\bLists(/|$|,)` `L$1` | replace `Sourcehut` `Srht` | replace `Recipt` `Rcpt` | replace `Inbox` `I` | replace `Sent` `S` | replace `Draft(s)?` `Dr` | replace `Snoozed` `Snz` | split "," ) (case `^A(/)?.*` "archive") (case `^L(/)?.*` "lists") (default "labels") | join ","}}{{end}}
# column-labels = {{.StyleMap (.Labels | join "," | replace `\bArchive(/|$|,)` `A$1` | replace `\bLists(/|$|,)` `L$1` | replace `Sourcehut` `Srht` | replace `Recipt` `Rcpt` | replace `Inbox` `I` | replace `Sent` `S` | replace `Draft(s)?` `Dr` | replace `Snoozed` `Snz` | split "," ) (exclude `I`) (case `^A(/)?.*` "archive") (case `^L(/)?.*` "lists") (default "labels") | join ","}}
#
@ -729,7 +730,7 @@ no-attachment-warning=^[^>]*attach(ed|ment)
# text. To actually make use of this format's features, you'll need support in
# your editor.
#
#format-flowed=false
format-flowed=true
[multipart-converters]
#

View file

@ -2,5 +2,5 @@
name = "markdown"
file-types = [{ glob = "/tmp/aerc-compose-*.eml" }]
language-servers = ["harper-ls", "marksman", "scls"]
formatter = { command = "/usr/lib/aerc/filters/wrap", args = ["-w", "74"] }
auto-format = true
# formatter = { command = "/usr/lib/aerc/filters/wrap", args = ["-w", "74"] }
# auto-format = true