AutoYADM commit: 2025-02-19 16:45:07

This commit is contained in:
Daniel Fichtinger 2025-02-19 16:45:07 -05:00
parent 414bd18863
commit cca39a7ca9
2 changed files with 27 additions and 26 deletions

View file

@ -1,26 +0,0 @@
; 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
(quote_marker) @punctuation.special
(quote_contents) @markup.quote))

View file

@ -0,0 +1 @@
/home/fic/dev/tree-sitter-mail/queries/mail/highlights.scm

View file

@ -0,0 +1,26 @@
; 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
(quote_marker) @punctuation.special
(quote_contents) @markup.quote))