helix/runtime/queries/djot/injections.scm
2025-02-10 15:36:01 -06:00

19 lines
602 B
Scheme

(comment (content) @injection.content
(#set! injection.language "comment"))
(math (content) @injection.content
(#set! injection.language "latex") (#set! injection.include-unnamed-children))
(code_block
(language) @injection.language
(code) @injection.content (#set! injection.include-unnamed-children))
(raw_block
(raw_block_info
(language) @injection.language)
(content) @injection.content (#set! injection.include-unnamed-children))
(raw_inline
(content) @injection.content (#set! injection.include-unnamed-children)
(raw_inline_attribute
(language) @injection.language))