mirror of
https://github.com/realAscot/helix.git
synced 2025-09-13 19:53:03 +02:00
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>
This commit is contained in:
parent
4dd4ba798c
commit
25b299abc5
@ -2,6 +2,7 @@
|
||||
|
||||
[
|
||||
(function_declaration)
|
||||
(method_declaration)
|
||||
(type_declaration)
|
||||
(block)
|
||||
] @local.scope
|
||||
|
Loading…
x
Reference in New Issue
Block a user