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

Commit d821224

Browse files
authored
Merge pull request #653 from caleb531/fn-declaration-name
Fix lost colorization of function declaration names
2 parents 7c9b5a9 + 45430f7 commit d821224

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
@@ -99,6 +99,7 @@ scopes:
9999
'arrow_function > identifier:nth-child(0)': 'variable.parameter.function'
100100

101101
'function > identifier': 'entity.name.function'
102+
'function_declaration > identifier': 'entity.name.function'
102103
'generator_function > identifier': 'entity.name.function'
103104

104105
'call_expression > identifier': [

0 commit comments

Comments
 (0)