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:
parent
43eb148dcf
commit
adb20e6f73
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@
|
|||
(method_declaration
|
||||
name: (field_identifier) @function.method)
|
||||
|
||||
(parameter_declaration
|
||||
(identifier) @variable.parameter)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue