svelte: Update Tree-sitter grammar (#17323)
Before:  After:  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…
Add table
Add a link
Reference in a new issue