aboutsummaryrefslogtreecommitdiff
path: root/helix-22.03-x86_64-windows/runtime/queries/rust/locals.scm
blob: 6428f9b4a9486b190acbcba74bc5f4502da068dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; Scopes

(block) @local.scope

; Definitions

(parameter
  (identifier) @local.definition)

(let_declaration
  pattern: (identifier) @local.definition)

(closure_parameters (identifier)) @local.definition

; References
(identifier) @local.reference