mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat: improved highlight + injections, cc @stsewd
This commit is contained in:
parent
46463fe53a
commit
17a74e2055
2 changed files with 31 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue