2021-05-05 16:40:36 +07:00
|
|
|
; inherits: html_tags
|
2021-02-08 18:48:14 +01:00
|
|
|
|
2021-03-29 06:30:31 +07:00
|
|
|
(
|
|
|
|
|
(style_element
|
|
|
|
|
(start_tag
|
|
|
|
|
(attribute
|
|
|
|
|
(quoted_attribute_value (attribute_value) @_lang)))
|
|
|
|
|
(raw_text) @scss)
|
2021-06-24 14:45:31 -04:00
|
|
|
(#any-of? @_lang "scss" "postcss" "less")
|
2021-03-29 06:30:31 +07:00
|
|
|
)
|
2021-02-08 18:48:14 +01:00
|
|
|
|
|
|
|
|
(
|
|
|
|
|
(script_element
|
|
|
|
|
(start_tag
|
|
|
|
|
(attribute
|
|
|
|
|
(quoted_attribute_value (attribute_value) @_lang)))
|
|
|
|
|
(raw_text) @typescript)
|
2021-06-24 14:45:31 -04:00
|
|
|
(#any-of? @_lang "ts" "typescript")
|
2021-02-08 18:48:14 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
((interpolation
|
|
|
|
|
(raw_text) @javascript))
|
2021-03-12 11:21:46 -05:00
|
|
|
|
2021-05-05 16:40:36 +07:00
|
|
|
((directive_attribute
|
|
|
|
|
(quoted_attribute_value
|
2021-04-22 18:52:20 +02:00
|
|
|
(attribute_value) @javascript)))
|
|
|
|
|
|
2021-04-30 13:22:12 -05:00
|
|
|
(comment) @comment
|