aboutsummaryrefslogtreecommitdiff
path: root/helix-22.03-x86_64-windows/runtime/queries/javascript/highlights-params.scm
blob: 95ffc72485b5f20bd18c0bc2f48bfd467e53236b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(formal_parameters
  [
    (identifier) @variable.parameter
    (array_pattern
      (identifier) @variable.parameter)
    (object_pattern
      [
        (pair_pattern value: (identifier) @variable.parameter)
        (shorthand_property_identifier_pattern) @variable.parameter
      ])
  ]
)