feat: improved highlight + injections, cc @stsewd

This commit is contained in:
elianiva 2021-02-07 13:14:12 +07:00 committed by Stephan Seitz
parent 46463fe53a
commit 17a74e2055
2 changed files with 31 additions and 0 deletions

View file

@ -1,6 +1,11 @@
((style_element
(raw_text) @css))
((attribute
(attribute_name) @_attr
(quoted_attribute_value (attribute_value) @css))
(#match? @_attr "^style$"))
((script_element
(raw_text) @javascript))