Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/mail/highlights.scm')
-rw-r--r--runtime/queries/mail/highlights.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/runtime/queries/mail/highlights.scm b/runtime/queries/mail/highlights.scm
new file mode 100644
index 00000000..ed06b568
--- /dev/null
+++ b/runtime/queries/mail/highlights.scm
@@ -0,0 +1,28 @@
+; header fields
+[
+ (header_field_email)
+ (header_field_subject)
+ (header_field)
+] @keyword
+
+; delimited punctuation
+(header_separator) @punctuation.delimiter
+(email_delimiter) @punctuation.delimiter
+
+; email subject contents
+(header_subject
+ (subject) @markup.bold)
+; extra metadata headers
+(header_other
+ (header_unstructured) @comment)
+
+; Addressee Name (Firstname, Lastname, etc.)
+(atom) @variable
+
+; Email Address
+(email) @string
+
+; Quoted Reply
+(quote_marker) @punctuation.special
+(quote_contents) @markup.quote
+