Skip to content

stevenxxiu/tree-sitter-mail

Repository files navigation

Tree-sitter Grammar for Mail

lazy.nvim Install

Add to tree-sitter config:

{
  'nvim-treesitter/nvim-treesitter',
  -- ...
  dependencies = {
    'stevenxxiu/tree-sitter-mail',
  },
  -- ...
}

To parse the body, in e.g. Markdown, add to ~/.config/nvim/after/queries/mail/injections.scm:

((body) @injection.content
 (#set! injection.language "markdown"))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published