Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/svelte/locals.scm')
-rw-r--r--runtime/queries/svelte/locals.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/queries/svelte/locals.scm b/runtime/queries/svelte/locals.scm
index 1f2129cf..14f11b09 100644
--- a/runtime/queries/svelte/locals.scm
+++ b/runtime/queries/svelte/locals.scm
@@ -1 +1,8 @@
-; inherits: html
+(snippet_block) @local.scope
+
+(snippet_parameters
+ parameter: (pattern) @local.definition.variable.parameter)
+
+(snippet_name) @local.definition.function
+
+(tag_name) @local.reference