queries: Recognize methods as a locals scope

This fixes a bug in highlighting parameter variables in Go methods.
See <https://redirect.github.com/helix-editor/helix/issues/13674#issuecomment-2935514099>
pull/13675/merge
Michael Davis 2025-06-06 11:48:17 -04:00
parent 4dd4ba798c
commit 25b299abc5
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
[
(function_declaration)
(method_declaration)
(type_declaration)
(block)
] @local.scope