mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
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:
parent
a092ff0c4f
commit
bde1c95158
4 changed files with 6 additions and 1 deletions
|
@ -12,4 +12,4 @@ language = "Svelte"
|
|||
|
||||
[grammars.svelte]
|
||||
repository = "https://github.com/Himujjal/tree-sitter-svelte"
|
||||
commit = "ea528fc9985aed8d93c9f438c185644a33d011af"
|
||||
commit = "038dea960b58a88d3a8e916e81399d6bfed50ef8"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
[
|
||||
(text)
|
||||
(raw_text_expr)
|
||||
(raw_text_each)
|
||||
] @none
|
||||
|
||||
[
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
(if_statement)
|
||||
(each_statement)
|
||||
(await_statement)
|
||||
(snippet_statement)
|
||||
(script_element)
|
||||
(style_element)
|
||||
] @indent
|
||||
|
|
|
@ -69,3 +69,6 @@
|
|||
|
||||
((raw_text_expr) @content
|
||||
(#set! "language" "javascript"))
|
||||
|
||||
((raw_text_each) @content
|
||||
(#set! "language" "javascript"))
|
||||
|
|
Loading…
Reference in a new issue