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

Commit f1103e2

Browse files
committed
Teach Tree-sitter grammar match TextMate scope used for rest params
/xref #654 (comment)
1 parent e748023 commit f1103e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/tree-sitter-javascript.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +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.function'
73+
'formal_parameters > rest_parameter > identifier': 'variable.parameter.rest.function'
7474

7575
'shorthand_property_identifier': [
7676
{

0 commit comments

Comments
 (0)