|
I'm trying to get mutt to work with Helix but it seems not so easy to do that. The biggest problem I'm having that Helix doesn't recognise the emails I create in Helix from mutt as emails, a reason could be, that mutt does not give the the temporary file an .eml extension. Just a string with "mutt" in the beginning, but adding this to the language definition didn't work. This is how it currently looks like: |
Replies: 2 comments
|
If the files have no extension, you probably want a glob pattern in e.g. if you set mutt’s [[language]]
name = "mail"
file-types = ["mail", "eml", { glob = "/tmp/muttdrafts/*" }]Any file opened from that location should set the language to |
|
Thank you. |
injection-regexis for syntax highlighting one language when it’s embedded in another. Like code snippets in Markdown (e.g. the TOML section below), or Markdown-formatted comments in code files.If the files have no extension, you probably want a glob pattern in
file-types.e.g. if you set mutt’s
tmpdraftdirto/tmp/muttdrafts/. Then in your Helixlanguages.toml:Any file opened from that location should set the language to
mail.