mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
19 lines
309 B
Scheme
19 lines
309 B
Scheme
; Scopes
|
|
[
|
|
(command)
|
|
(function_definition)
|
|
(if_statement)
|
|
(for_statement)
|
|
(begin_statement)
|
|
(while_statement)
|
|
(switch_statement)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
(function_definition
|
|
name: (word) @local.definition.function)
|
|
|
|
; References
|
|
(variable_name) @local.reference
|
|
|
|
(word) @local.reference
|