dotfiles/.config/helix/runtime/queries/mail/highlights.scm

26 lines
486 B
Scheme

; header fields
[
(header_field_email)
(header_field_subject)
(header_field)
] @keyword
(header_separator) @punctuation.delimiter
(header_subject
(header_unstructured) @markup.bold)
(header_other
(header_unstructured) @comment)
; Firstname Lastname
(atom) @variable
; Email Address
; currently this includes the wrapping <>, can we change this?
(email) @string
(body
(quoted_line) @markup.quote)
; (header_subject) @markup.heading
; (header_other) @markup.environment