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

Commit e4fbe38

Browse files
author
Wliu
authored
Merge pull request #394 from Alhadis/doc-fix
Allow multiple spaces in JSDoc tags
2 parents 1160dee + 479dd5e commit e4fbe38

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
@@ -1605,7 +1605,7 @@
16051605
'name': 'storage.type.class.jsdoc'
16061606
}
16071607
{
1608-
'match': '({\\b(?:[a-zA-Z_$][a-zA-Z_$0-9]*)\\b})\\s\\b([a-zA-Z_$][a-zA-Z_$0-9]*)\\b\\s*((?:(?!\\*\\/).)*)'
1608+
'match': '({\\b(?:[a-zA-Z_$][a-zA-Z_$0-9]*)\\b})\\s+\\b([a-zA-Z_$][a-zA-Z_$0-9]*)\\b\\s*((?:(?!\\*\\/).)*)'
16091609
'captures':
16101610
0:
16111611
'name': 'other.meta.jsdoc'

0 commit comments

Comments
 (0)