aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/go
diff options
context:
space:
mode:
authorMatthew Toohey2023-04-15 04:53:04 +0000
committerPascal Kuthe2023-04-16 16:32:00 +0000
commit99a8b6159cef76acb0bb0a9a872a36155e8cf6cd (patch)
treed7b49361ee05c9f10359c655ed659ef284f64958 /runtime/queries/go
parent4cdba7cccdd6a9fe5fbb3d15c9db3edc147b7a90 (diff)
Fix go locals query for var_spec identifiers
Diffstat (limited to 'runtime/queries/go')
-rw-r--r--runtime/queries/go/locals.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/go/locals.scm b/runtime/queries/go/locals.scm
index d240e2b7..aae56257 100644
--- a/runtime/queries/go/locals.scm
+++ b/runtime/queries/go/locals.scm
@@ -12,7 +12,7 @@
(identifier) @local.definition))
(var_spec
- name: (identifier) @local.definition)
+ (identifier) @local.definition)
(for_statement
(range_clause