markdown.inline: Add injection.combined
to html tag (#7960)
Problem: Closing tags for markdown is sometimes not highlighted Solution: Add `injection.combined` to create a valid syntax tree for highlighting
This commit is contained in:
parent
0a45fb4371
commit
56ccaedffb
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
|
|
||||||
((html_tag) @injection.content (#set! injection.language "html") (#set! injection.include-unnamed-children))
|
((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))
|
((latex_block) @injection.content (#set! injection.language "latex") (#set! injection.include-unnamed-children))
|
||||||
|
|
Loading…
Reference in a new issue