aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erlang/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/erlang/locals.scm')
-rw-r--r--runtime/queries/erlang/locals.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/erlang/locals.scm b/runtime/queries/erlang/locals.scm
index 7379926b..156e4038 100644
--- a/runtime/queries/erlang/locals.scm
+++ b/runtime/queries/erlang/locals.scm
@@ -1,7 +1,7 @@
; Specs and Callbacks
(attribute
(stab_clause
- pattern: (arguments (variable) @local.definition)
+ pattern: (arguments (variable)? @local.definition)
; If a spec uses a variable as the return type (and later a `when` clause to type it):
body: (variable)? @local.definition)) @local.scope