Skip to content

Commit 426557f

Browse files
committed
Merge pull request atom#103 from AMalininHere/patch-2
Part of fix issue atom#90
2 parents 995d4f2 + 4a13bb6 commit 426557f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/javascript.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
]
117117
}
118118
{
119-
'begin': '\\b(function\\*?)\\s*((\\*)|(\\*?[a-zA-Z_$]\\w*))?\\s*(\\()'
119+
'begin': '\\b(function\\*?)\\s*((\\*)|(?:(?:\\s+)(\\*?[a-zA-Z_$]\\w*)))?\\s*(\\()'
120120
'beginCaptures':
121121
'1':
122122
'name': 'storage.type.function.js'

0 commit comments

Comments
 (0)