fix(queries/svelte): inherit html for injections and set svelte_raw_text to typescript (#14460)

This commit is contained in:
Sri Senthil Balaji J
2025-09-16 19:05:34 +05:30
committed by GitHub
parent c0921202a0
commit 46e3617f6b

View File

@@ -1,7 +1,4 @@
((style_element
(raw_text) @injection.content)
(#set! injection.language "css"))
; inherits html
((style_element
(start_tag
(attribute
@@ -14,7 +11,7 @@
(#set! injection.language "scss"))
((svelte_raw_text) @injection.content
(#set! injection.language "javascript"))
(#set! injection.language "typescript"))
((script_element
(start_tag