helix-mirror/runtime/queries/javascript/highlights-params.scm
2021-04-09 18:57:46 +09:00

13 lines
293 B
Scheme

(formal_parameters
[
(identifier) @variable.parameter
(array_pattern
(identifier) @variable.parameter)
(object_pattern
[
(pair_pattern value: (identifier) @variable.parameter)
(shorthand_property_identifier_pattern) @variable.parameter
])
]
)