Once again, treating module as function calls, since that's basically what they are...
This commit is contained in:
parent
b7e0ae80ea
commit
0fcd980d86
1 changed files with 14 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue