nvim-treesitter/queries/markdown/injections.scm
kiyan 3bd228781b fix: disable elm parser in markdown to avoid segfault
the Elm parser segfaults when injected in markdown. Disable it for now.
See https://github.com/elm-tooling/tree-sitter-elm/issues/124
2022-07-15 12:08:58 +02:00

14 lines
320 B
Scheme

(fenced_code_block
(info_string
(language) @language)
(#not-match? @language "elm")
(code_fence_content) @content (#exclude_children! @content))
((html_block) @html)
([
(minus_metadata)
(plus_metadata)
] @yaml (#offset! @yaml 1 0 -1 0))
((inline) @markdown_inline (#exclude_children! @markdown_inline))