Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 7c9b5a9

Browse files
authored
Merge pull request #654 from caleb531/rest-parameter-color
Colorize rest parameters like other formal parameters
2 parents 125fa7f + ad8d5f0 commit 7c9b5a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: grammars/tree-sitter-javascript.cson

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ scopes:
7070
'member_expression > property_identifier': 'variable.other.object.property.unquoted'
7171

7272
'formal_parameters > identifier': 'variable.parameter.function'
73+
'formal_parameters > rest_parameter > identifier': 'variable.parameter.rest.function'
7374

7475
'shorthand_property_identifier': [
7576
{

0 commit comments

Comments
 (0)