mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 14:42:57 +02:00
19 lines
347 B
Scheme
19 lines
347 B
Scheme
; Scopes
|
|
|
|
(func_def) @local.scope
|
|
|
|
; Definitions
|
|
|
|
; awk has no local declarations; extra params are the idiom for locals.
|
|
(func_def
|
|
(param_list
|
|
(identifier) @local.definition.variable.parameter))
|
|
|
|
; References
|
|
|
|
(identifier) @local.reference
|
|
|
|
; Function names in call position are not variable references.
|
|
(func_call
|
|
name: (identifier) @_)
|