1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-07 20:46:21 +01:00
helix/runtime/queries/ripple/injections.scm
godalming123 ecdbeca790
Add support for ripple (#14798)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-11-30 11:18:14 -06:00

14 lines
454 B
Scheme

; Inject CSS into style elements
(style_element
(raw_text) @injection.content
(#set! injection.language "css"))
; Inject JavaScript/TypeScript into server blocks
; Note: statement is inlined, so we need to match specific statement types
; Commenting out for now as it requires matching all concrete statement types
; Template string interpolations
(template_substitution
(expression) @injection.content
(#set! injection.language "typescript"))