helix-mods/runtime/queries/hare/locals.scm
meak 1a3d6252b9
feat(lang): add hare language support (#2289)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
2022-04-26 14:55:00 -05:00

20 lines
375 B
Scheme

(unit) @local.scope
(function_declaration) @local.scope
(global_binding
(identifier) @local.definition)
(constant_binding
(identifier) @local.definition)
(type_bindings
(identifier) @local.definition)
(function_declaration
(prototype
(parameter_list
(parameters
(parameter
(name) @local.definition)))))
(identifier) @local.reference