You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/nu/locals.scm

14 lines
240 B
Scheme

; Scopes
(function_definition) @scope
; Definitions
(variable_declaration
name: (identifier) @definition.var)
(function_definition
func_name: (identifier) @definition.function)
; References
(value_path) @reference
(word) @reference