mirror of https://github.com/helix-editor/helix
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
parent
4dd4ba798c
commit
25b299abc5
|
@ -2,6 +2,7 @@
|
|||
|
||||
[
|
||||
(function_declaration)
|
||||
(method_declaration)
|
||||
(type_declaration)
|
||||
(block)
|
||||
] @local.scope
|
||||
|
|
Loading…
Reference in New Issue