feat(svelte)!: switch upstream parser

This commit is contained in:
Amaan Qureshi 2024-02-19 02:53:49 -05:00
parent b3e53e9423
commit 3a7b5a9fb4
8 changed files with 52 additions and 34 deletions

View file

@ -10,10 +10,7 @@
(#any-of? @_lang "scss" "postcss" "less")
(#set! injection.language "scss"))
([
(raw_text_expr)
(raw_text_each)
] @injection.content
((svelte_raw_text) @injection.content
(#set! injection.language "javascript"))
((script_element