mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +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))
|