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

13 lines
293 B
Scheme
Raw Normal View History

2021-04-09 12:42:49 +04: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
])
]
)