mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 22:11:55 +04:00
56ccaedffb
Problem: Closing tags for markdown is sometimes not highlighted Solution: Add `injection.combined` to create a valid syntax tree for highlighting
8 lines
259 B
Scheme
8 lines
259 B
Scheme
|
|
((html_tag) @injection.content
|
|
(#set! injection.language "html")
|
|
(#set! injection.include-unnamed-children)
|
|
(#set! injection.combined))
|
|
|
|
((latex_block) @injection.content (#set! injection.language "latex") (#set! injection.include-unnamed-children))
|