mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
17 lines
460 B
Scheme
17 lines
460 B
Scheme
(parenthesis) @local.scope
|
|
(anonymous_function) @local.scope
|
|
(object) @local.scope
|
|
(field) @local.scope
|
|
(local_bind) @local.scope
|
|
|
|
(field
|
|
function: (fieldname (id) @local.definition.function)
|
|
(#set! "definition.function.scope" "parent"))
|
|
|
|
(bind (id) @local.definition.var)
|
|
(bind function: (id) @local.definition.function)
|
|
|
|
(param (id) @local.definition.parameter)
|
|
|
|
(id) @local.reference
|
|
;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet
|