mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 03:43:29 +04:00
0dab6c8c17
Markdown code blocks should be highlighted as a single block, so set injection.include-children.
10 lines
272 B
Scheme
10 lines
272 B
Scheme
(fenced_code_block
|
|
(info_string) @injection.language
|
|
(code_fence_content) @injection.content
|
|
(#set! injection.include-children))
|
|
|
|
((html_block) @injection.content
|
|
(#set! injection.language "html"))
|
|
((html_tag) @injection.content
|
|
(#set! injection.language "html"))
|