mirror of
https://github.com/helix-editor/helix
synced 2026-03-07 20:46:21 +01:00
14 lines
454 B
Scheme
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"))
|