1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 05:38:09 +01:00
helix/runtime/queries/ocaml/locals.scm
2025-05-13 19:01:10 -04:00

25 lines
364 B
Scheme

; Scopes
;-------
[
(let_binding)
(class_binding)
(class_function)
(method_definition)
(fun_expression)
(object_expression)
(for_expression)
(match_case)
(attribute_payload)
] @local.scope
; Definitions
;------------
(value_pattern) @local.definition.variable.parameter
; References
;-----------
(value_path . (value_name) @local.reference)