renzmann / treesit-auto

Automatic installation, usage, and fallback for tree-sitter major modes in Emacs 29
GNU General Public License v3.0
386 stars 29 forks source link

How to handle multiple parsers for a single mode #101

Open dpassen opened 5 months ago

dpassen commented 5 months ago

https://github.com/tree-sitter-grammars/tree-sitter-markdown uses a split_parser design where there are two grammars, tree-sitter-markdown and tree-sitter-markdown-inline. markdown-ts-mode suggests we will need both grammars for it to work effectively. How do we set this up?

dpassen commented 5 months ago

Is :requires sufficient?