1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 13:00:05 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/queries/astro/injections.scm

20 lines
372 B
Scheme
Raw Normal View History

; inherits: html
((frontmatter
(raw_text) @typescript))
((interpolation
(raw_text) @tsx))
((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"))