helix-mods/runtime/queries/nu/locals.scm

14 lines
240 B
Scheme
Raw Normal View History

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