Add locals queries
All checks were successful
ci/woodpecker/push/check Pipeline was successful

Once again, treating module as function calls, since that's basically
what they are...
This commit is contained in:
Bruno BELANYI 2024-04-13 18:59:21 +01:00
parent 6d6d9fc03b
commit b04cd92189

14
queries/locals.scm Normal file
View file

@ -0,0 +1,14 @@
(module
(property
field: (identifier) @local.definition.parameter))
(map_expression
(property
field: (identifier) @local.definition.field))
(assignment
left: (identifier) @local.definition.var)
(identifier) @local.reference
; vim: sw=2 foldmethod=marker