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 feat(treesitter): bundle markdown parser and queries (#22481) 2023-07-01 11:08:06 +02:00
highlights.scm feat(treesitter): bundle markdown parser and queries (#22481) 2023-07-01 11:08:06 +02:00
injections.scm feat(treesitter): add injection language fallback (#24659) 2023-08-11 17:05:17 +02:00