mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +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"))
|