diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 5c81eb4c..dee583ce 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -82,16 +82,16 @@ language-servers = ["scls"] [language-server.texlab.config.texlab.build] onSave = true -[[language]] -name = "mail" -scope = "text.mail" -file-types = ["eml"] -# language-servers = ["harper-ls"] -injection-regex = "mail|eml|email" +# [[language]] +# name = "mail" +# scope = "text.mail" +# file-types = ["eml"] +# # language-servers = ["harper-ls"] +# injection-regex = "mail|eml|email" -[[grammar]] -name = "mail" -source.path = "/home/fic/dev/tree-sitter-mail" +# [[grammar]] +# name = "mail" +# source.path = "/home/fic/dev/tree-sitter-mail" # source.rev = "5f869321f8c8" # source = { git = "https://github.com/stevenxxiu/tree-sitter-mail", rev = "e3d63ac2093e22777cb30d70b9264f48814622ad" } diff --git a/.config/helix/runtime/grammars/kotlin.so b/.config/helix/runtime/grammars/kotlin.so index 54d0dcef..73240fb5 100755 Binary files a/.config/helix/runtime/grammars/kotlin.so and b/.config/helix/runtime/grammars/kotlin.so differ diff --git a/.config/helix/runtime/grammars/mail.so b/.config/helix/runtime/grammars/mail.so deleted file mode 120000 index 691479a0..00000000 --- a/.config/helix/runtime/grammars/mail.so +++ /dev/null @@ -1 +0,0 @@ -/home/fic/dev/tree-sitter-mail/mail.so \ No newline at end of file diff --git a/.config/helix/runtime/queries/mail/highlights.scm b/.config/helix/runtime/queries/mail/highlights.scm deleted file mode 120000 index a6be5ece..00000000 --- a/.config/helix/runtime/queries/mail/highlights.scm +++ /dev/null @@ -1 +0,0 @@ -/home/fic/dev/tree-sitter-mail/queries/mail/highlights.scm \ No newline at end of file diff --git a/.config/helix/runtime/queries/mail/highlights.scm.bak b/.config/helix/runtime/queries/mail/highlights.scm.bak deleted file mode 100644 index 41de2939..00000000 --- a/.config/helix/runtime/queries/mail/highlights.scm.bak +++ /dev/null @@ -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)) - diff --git a/.config/helix/runtime/queries/mail/injections.scm b/.config/helix/runtime/queries/mail/injections.scm deleted file mode 100644 index fe299fc3..00000000 --- a/.config/helix/runtime/queries/mail/injections.scm +++ /dev/null @@ -1,2 +0,0 @@ -; ((body_line) @injection.content -; (#set! injection.language "markdown"))