helix-mods/runtime/queries/javascript/highlights-params.scm

13 lines
293 B
Scheme
Raw Normal View History

2021-04-09 10:42:49 +02:00
(formal_parameters
[
(identifier) @variable.parameter
(array_pattern
(identifier) @variable.parameter)
(object_pattern
[
(pair_pattern value: (identifier) @variable.parameter)
(shorthand_property_identifier_pattern) @variable.parameter
])
]
)