helix-mods/runtime/queries/nu/locals.scm
Justin Ma 5c2570582b
feat(lang): add nushell language support (#2225)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-04-22 09:37:51 -05:00

13 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