From a293bcb0194d5c95d2ed6f687e3029c51241ef2c Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 19 Feb 2025 19:00:06 -0500 Subject: [PATCH] AutoYADM commit: 2025-02-19 19:00:06 --- .config/helix/languages.toml | 3 ++- .config/helix/runtime/queries/mail/injections.scm | 6 ++++++ .config/helix/sample.eml | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .config/helix/runtime/queries/mail/injections.scm diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 627d6d0c..c90feb45 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -84,7 +84,8 @@ onSave = true name = "mail" scope = "text.mail" file-types = ["eml"] -# injection-regex = "mail|eml|email" +# language-servers = ["harper-ls"] +injection-regex = "mail|eml|email" [[grammar]] name = "mail" diff --git a/.config/helix/runtime/queries/mail/injections.scm b/.config/helix/runtime/queries/mail/injections.scm new file mode 100644 index 00000000..1617581e --- /dev/null +++ b/.config/helix/runtime/queries/mail/injections.scm @@ -0,0 +1,6 @@ +; ((body) @injection.content +; (#set! injection.language "markdown") +; (#set! injection.include "body_line") +; (#set! injection.include "empty_line")) +((body) @injection.content + (#set! injection.language "markdown")) diff --git a/.config/helix/sample.eml b/.config/helix/sample.eml index ba40f4a0..98b9245b 100644 --- a/.config/helix/sample.eml +++ b/.config/helix/sample.eml @@ -21,6 +21,8 @@ X-ExtEditorR-Help: KEEP blank line below to separate headers from body. Thanks for your response@ +*Markdown* + --- Daniel Fichtinger - Graduate Student