Fix markdown code-block highlighting
Markdown code blocks should be highlighted as a single block, so set
injection.include-children.
commit0dab6c8c17c027092e117a48f60feb099cd8d59c
authorFlakebi <flakebi@t-online.de>
dateWed 29 Dec 2021, 17:26 (5 years ago)
parent8a019b4
runtime/queries/markdown/injections.scm+2−1
@@ -1,6 +1,7 @@
11(fenced_code_block
22 (info_string) @injection.language
3− (code_fence_content) @injection.content)
3+ (code_fence_content) @injection.content
4+ (#set! injection.include-children))
45
56((html_block) @injection.content
67 (#set! injection.language "html"))