AutoYADM commit: 2025-03-20 22:45:08
This commit is contained in:
parent
9196d6a3a3
commit
f4e8207ae7
3 changed files with 16 additions and 7 deletions
|
@ -119,10 +119,10 @@ index-columns=flags:4,labels<=,name<20%,subject,date>=
|
|||
# column-name={{if match .Folder "^(Gesendet|Sent)$"}}{{index (.To | names) 0}}{{else}}{{index (.From | names) 0}}{{end}}
|
||||
#
|
||||
# Default settings
|
||||
column-flags={{.StyleMap .Flags (case `^!$` "important-flag") (case `r|a` "reply-flag") (default "flags") | join ""}}
|
||||
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-flags= {{.StyleMap .Flags (case `^!$` "important-flag") (case `r|a` "reply-flag") (default "flags") | join ""}}
|
||||
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 = {{.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 (switch .Folder (case `Inbox` `I`) (default "x"))) (case `^A(/)?.*` "archive") (case `^L(/)?.*` "lists") (default "labels") | join ","}}
|
||||
|
||||
#
|
||||
|
|
9
.config/helix/runtime/queries/ini/highlights.scm
Normal file
9
.config/helix/runtime/queries/ini/highlights.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
(section_name) @namespace
|
||||
|
||||
(setting_name) @keyword
|
||||
(setting_value) @string
|
||||
|
||||
(comment) @comment
|
||||
|
||||
; ((setting_value) @constant.builtin
|
||||
; (#match? @constant.builtin ".*"))
|
|
@ -1,4 +1,4 @@
|
|||
((setting_value) @injection.content
|
||||
(#match? @injection.content "\\{\\{.*\\}\\}")
|
||||
(#set! injection.language "gotmpl")
|
||||
(#set! injection.include-children))
|
||||
(#match? @injection.content ".*\\{\\{.*\\}\\}.*")
|
||||
(#set! injection.language "gotmpl")
|
||||
(#set! injection.include-children))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue