Once again, treating module as function calls, since that's basically what they are...
This commit is contained in:
parent
6d6d9fc03b
commit
b04cd92189
14
queries/locals.scm
Normal file
14
queries/locals.scm
Normal 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
|
Loading…
Reference in a new issue