mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
22 lines
403 B
Scheme
22 lines
403 B
Scheme
; locals.scm
|
|
(function_definition) @local.scope
|
|
|
|
(argument
|
|
name: (identifier) @local.definition)
|
|
|
|
(parameter
|
|
name: (identifier) @local.definition)
|
|
|
|
(binary_operator
|
|
lhs: (identifier) @local.definition
|
|
operator: "<-")
|
|
|
|
(binary_operator
|
|
lhs: (identifier) @local.definition
|
|
operator: "=")
|
|
|
|
(binary_operator
|
|
operator: "->"
|
|
rhs: (identifier) @local.definition)
|
|
|
|
(identifier) @local.reference
|