go: highlight identifiers in parameter lists

Forgot this in #7276. This fixes highlighting of parameters, bringing it
also closer to how we highlight `self` in Rust.
This commit is contained in:
Thorsten Ball 2024-02-02 11:52:19 +01:00
parent 43eb148dcf
commit adb20e6f73

View file

@ -19,6 +19,9 @@
(method_declaration
name: (field_identifier) @function.method)
(parameter_declaration
(identifier) @variable.parameter)
[
"("
")"