javascript queries: fix parameters (#3280)

This commit is contained in:
ChrHorn 2022-08-01 22:15:17 +02:00 committed by GitHub
parent 07019c3905
commit 59bf1669ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 13 deletions

View file

@ -12,7 +12,13 @@
; Definitions
;------------
(pattern/identifier)@local.definition
(pattern/identifier) @local.definition
(pattern/rest_pattern
(identifier) @local.definition)
(arrow_function
parameter: (identifier) @local.definition)
(variable_declarator
name: (identifier) @local.definition)