diff --git a/.config/harper-ls/dictionary.txt b/.config/harper-ls/dictionary.txt index c969191b..4a6ed875 100644 Binary files a/.config/harper-ls/dictionary.txt and b/.config/harper-ls/dictionary.txt differ diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index c90feb45..291a3ade 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -84,7 +84,7 @@ onSave = true name = "mail" scope = "text.mail" file-types = ["eml"] -# language-servers = ["harper-ls"] +language-servers = ["harper-ls"] injection-regex = "mail|eml|email" [[grammar]] diff --git a/.config/helix/runtime/queries/mail/injections.scm b/.config/helix/runtime/queries/mail/injections.scm index 1617581e..cf4a5201 100644 --- a/.config/helix/runtime/queries/mail/injections.scm +++ b/.config/helix/runtime/queries/mail/injections.scm @@ -1,6 +1,2 @@ -; ((body) @injection.content -; (#set! injection.language "markdown") -; (#set! injection.include "body_line") -; (#set! injection.include "empty_line")) -((body) @injection.content +((body_line) @injection.content (#set! injection.language "markdown")) diff --git a/.config/helix/sample.eml b/.config/helix/sample.eml index 98b9245b..db8176f7 100644 --- a/.config/helix/sample.eml +++ b/.config/helix/sample.eml @@ -19,9 +19,7 @@ X-ExtEditorR-Help: Delivery format options: auto, plaintext, html, both. X-ExtEditorR-Help: Custom header names must start with "X-". X-ExtEditorR-Help: KEEP blank line below to separate headers from body. -Thanks for your response@ - -*Markdown* +Thanks for your response! --- Daniel Fichtinger