mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
astro: add injections for scss
This commit is contained in:
parent
5b71f2674a
commit
d7c12db4c8
1 changed files with 9 additions and 0 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue