astro: add injections for scss

This commit is contained in:
Vir Chaudhury 2023-02-09 21:14:02 +08:00 committed by Stephan Seitz
parent 5b71f2674a
commit d7c12db4c8

View file

@ -8,3 +8,12 @@
((script_element
(raw_text) @typescript))
((style_element
(start_tag
(attribute
(attribute_name) @_lang_attr
(quoted_attribute_value (attribute_value) @_lang_value)))
(raw_text) @scss)
(#eq? @_lang_attr "lang")
(#eq? @_lang_value "scss"))