mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
18 lines
402 B
Scheme
18 lines
402 B
Scheme
(import_declaration (identifier) @local.definition.import)
|
|
(function_declaration name: (simple_identifier) @local.definition.function)
|
|
|
|
; Scopes
|
|
[
|
|
(statements)
|
|
(for_statement)
|
|
(while_statement)
|
|
(repeat_while_statement)
|
|
(do_statement)
|
|
(if_statement)
|
|
(guard_statement)
|
|
(switch_statement)
|
|
(property_declaration)
|
|
(function_declaration)
|
|
(class_declaration)
|
|
(protocol_declaration)
|
|
] @local.scope
|