Fix markdown code-block highlighting
Markdown code blocks should be highlighted as a single block, so set injection.include-children.
This commit is contained in:
parent
8a019b423f
commit
0dab6c8c17
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
(fenced_code_block
|
||||
(info_string) @injection.language
|
||||
(code_fence_content) @injection.content)
|
||||
(code_fence_content) @injection.content
|
||||
(#set! injection.include-children))
|
||||
|
||||
((html_block) @injection.content
|
||||
(#set! injection.language "html"))
|
||||
|
|
Loading…
Add table
Reference in a new issue