mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
the Elm parser segfaults when injected in markdown. Disable it for now. See https://github.com/elm-tooling/tree-sitter-elm/issues/124
14 lines
320 B
Scheme
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))
|