summaryrefslogtreecommitdiff
path: root/queries/heex/locals.scm
diff options
context:
space:
mode:
authorClay <connorlay@pm.me>2022-01-30 16:15:24 -0800
committerStephan Seitz <stephan.seitz@fau.de>2022-01-31 09:19:01 +0100
commit083aee08735fd5dcd02ef72d831b054244db73a4 (patch)
tree9e7073d77a5e2ba256ebaef6e8ae401ffee2c1bf /queries/heex/locals.scm
parentefedf3510aa85f89a687dd1e29eab6f4677fa17e (diff)
Support HEEx slots
Diffstat (limited to 'queries/heex/locals.scm')
-rw-r--r--queries/heex/locals.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/queries/heex/locals.scm b/queries/heex/locals.scm
index 3f99132e..4371bc97 100644
--- a/queries/heex/locals.scm
+++ b/queries/heex/locals.scm
@@ -1,11 +1,13 @@
-; HEEx tags and components are references
+; HEEx tags, components, and slots are references
[
- (tag_name)
(component_name)
+ (slot_name)
+ (tag_name)
] @reference
-; Create a new scope within each HEEx tag or component
+; Create a new scope within each HEEx tag, component, and slot
[
- (tag)
(component)
+ (slot)
+ (tag)
] @scope