mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
fix(queries/svelte): inherit html for injections and set svelte_raw_text to typescript (#14460)
This commit is contained in:
committed by
GitHub
parent
c0921202a0
commit
46e3617f6b
@@ -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
|
||||
|
Reference in New Issue
Block a user