nvim-treesitter/runtime/queries/sourcepawn/locals.scm
2025-05-12 18:43:40 +02:00

19 lines
390 B
Scheme

[
(function_definition)
(alias_declaration)
(enum_struct_method)
(methodmap_method)
(methodmap_method_constructor)
(methodmap_method_destructor)
(methodmap_property_method)
] @local.scope
; Definitions
(variable_declaration
name: (identifier) @local.definition)
(old_variable_declaration
name: (identifier) @local.definition)
; References
(identifier) @local.reference