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