mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat(svelte): inject JS on each expression (#1969)
This commit is contained in:
parent
6d08b25f0e
commit
0916cceab2
1 changed files with 4 additions and 1 deletions
|
|
@ -14,7 +14,10 @@
|
||||||
(quoted_attribute_value (attribute_value) @css))
|
(quoted_attribute_value (attribute_value) @css))
|
||||||
(#eq? @_attr "style"))
|
(#eq? @_attr "style"))
|
||||||
|
|
||||||
(raw_text_expr) @javascript
|
[
|
||||||
|
(raw_text_expr)
|
||||||
|
(raw_text_each)
|
||||||
|
] @javascript
|
||||||
|
|
||||||
(
|
(
|
||||||
(script_element
|
(script_element
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue