AutoYADM commit: 2025-02-23 22:15:07
This commit is contained in:
parent
ea401288a9
commit
57601b273e
6 changed files with 9 additions and 39 deletions
|
@ -82,16 +82,16 @@ language-servers = ["scls"]
|
||||||
[language-server.texlab.config.texlab.build]
|
[language-server.texlab.config.texlab.build]
|
||||||
onSave = true
|
onSave = true
|
||||||
|
|
||||||
[[language]]
|
# [[language]]
|
||||||
name = "mail"
|
# name = "mail"
|
||||||
scope = "text.mail"
|
# scope = "text.mail"
|
||||||
file-types = ["eml"]
|
# file-types = ["eml"]
|
||||||
# language-servers = ["harper-ls"]
|
# # language-servers = ["harper-ls"]
|
||||||
injection-regex = "mail|eml|email"
|
# injection-regex = "mail|eml|email"
|
||||||
|
|
||||||
[[grammar]]
|
# [[grammar]]
|
||||||
name = "mail"
|
# name = "mail"
|
||||||
source.path = "/home/fic/dev/tree-sitter-mail"
|
# source.path = "/home/fic/dev/tree-sitter-mail"
|
||||||
# source.rev = "5f869321f8c8"
|
# source.rev = "5f869321f8c8"
|
||||||
# source = { git = "https://github.com/stevenxxiu/tree-sitter-mail", rev = "e3d63ac2093e22777cb30d70b9264f48814622ad" }
|
# source = { git = "https://github.com/stevenxxiu/tree-sitter-mail", rev = "e3d63ac2093e22777cb30d70b9264f48814622ad" }
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
/home/fic/dev/tree-sitter-mail/mail.so
|
|
|
@ -1 +0,0 @@
|
||||||
/home/fic/dev/tree-sitter-mail/queries/mail/highlights.scm
|
|
|
@ -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))
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
; ((body_line) @injection.content
|
|
||||||
; (#set! injection.language "markdown"))
|
|
Loading…
Add table
Add a link
Reference in a new issue