Files
helix/runtime/queries/markdown.inline/injections.scm
jakub-mataandGitHub 9241cf9267 markdown-inline: Fix highlighting of inline math equations (#15922) (#15965)
Problem: The initial dollar-sign consumed before passing to tree-sitter
Solution: Change `injection.include-unnamed-children` to `injection.include-children`
2026-07-04 14:37:32 -05:00

8 lines
251 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-children))