mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Ecma: Highlight single-argument callback parameter
This commit is contained in:
parent
e4083fc8e1
commit
0bab8e56b2
1 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,10 @@
|
|||
value: (arrow_function
|
||||
parameter: (identifier) @parameter))
|
||||
|
||||
; (a => null)
|
||||
(arrow_function
|
||||
parameter: (identifier) @parameter)
|
||||
|
||||
; optional parameters
|
||||
(formal_parameters
|
||||
(assignment_pattern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue