tree-sitter-bp/queries/locals.scm
Bruno BELANYI 16c43068ec
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Align queries with 'nvim-treesitter'
Makes it easier to update either way.
2024-12-23 23:08:26 -05:00

16 lines
306 B
Scheme

(module
(property
field: (identifier) @local.definition.parameter))
(map_expression
(property
field: (identifier) @local.definition.field))
(assignment
left: (identifier) @local.definition.var)
(pattern_binding
binding: (identifier) @local.definition.var)
(identifier) @local.reference