neovim/runtime/queries/markdown
Christian Clason 31c4ed26bc
feat(treesitter): add injection language fallback (#24659)
* feat(treesitter): add injection language fallback

Problem: injection languages are often specified via aliases (e.g.,
filetype or in upper case), requiring custom directives.

Solution: include lookup logic (try as parser name, then filetype, then
lowercase) in LanguageTree itself and remove `#inject-language`
directive.

Co-authored-by: Lewis Russell <me@lewisr.dev>
2023-08-11 17:05:17 +02:00
..
folds.scm
highlights.scm
injections.scm feat(treesitter): add injection language fallback (#24659) 2023-08-11 17:05:17 +02:00