mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 07:20:06 -04:00
add rest_parameters as definition in javascript
This commit is contained in:
parent
16af10999c
commit
6157981113
2 changed files with 14 additions and 6 deletions
|
|
@ -72,7 +72,11 @@
|
|||
; Variables
|
||||
;----------
|
||||
|
||||
(formal_parameters (identifier) @variable.parameter)
|
||||
(formal_parameters (identifier) @parameter)
|
||||
|
||||
(formal_parameters
|
||||
(rest_parameter
|
||||
(identifier) @parameter))
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue