mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
27 lines
353 B
Scheme
27 lines
353 B
Scheme
|
|
; Scopes
|
||
|
|
;-------
|
||
|
|
|
||
|
|
(let_binding) @local.scope
|
||
|
|
|
||
|
|
(class_binding) @local.scope
|
||
|
|
|
||
|
|
(class_function) @local.scope
|
||
|
|
|
||
|
|
(method_definition) @local.scope
|
||
|
|
|
||
|
|
(fun_expression) @local.scope
|
||
|
|
|
||
|
|
(match_case) @local.scope
|
||
|
|
|
||
|
|
(for_expression) @local.scope
|
||
|
|
|
||
|
|
; Definitions
|
||
|
|
;------------
|
||
|
|
|
||
|
|
(value_pattern) @local.definition
|
||
|
|
|
||
|
|
; References
|
||
|
|
;------------
|
||
|
|
|
||
|
|
(value_name) @local.reference
|