svelte: Update Tree-sitter grammar (#17323)

Before:
![Screenshot from 2024-09-03
20-36-48](https://github.com/user-attachments/assets/c4eca8c9-977b-461c-bb0a-77c0d94554b8)

After:
![Screenshot from 2024-09-03
20-43-44](https://github.com/user-attachments/assets/d9b9653c-29c0-4273-85ee-040fb51af07c)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Mathias 2024-09-04 16:00:19 +02:00 committed by GitHub
parent a092ff0c4f
commit bde1c95158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 1 deletions

View file

@ -12,4 +12,4 @@ language = "Svelte"
[grammars.svelte]
repository = "https://github.com/Himujjal/tree-sitter-svelte"
commit = "ea528fc9985aed8d93c9f438c185644a33d011af"
commit = "038dea960b58a88d3a8e916e81399d6bfed50ef8"

View file

@ -15,6 +15,7 @@
[
(text)
(raw_text_expr)
(raw_text_each)
] @none
[

View file

@ -3,6 +3,7 @@
(if_statement)
(each_statement)
(await_statement)
(snippet_statement)
(script_element)
(style_element)
] @indent

View file

@ -69,3 +69,6 @@
((raw_text_expr) @content
(#set! "language" "javascript"))
((raw_text_each) @content
(#set! "language" "javascript"))