Skip to content

Commit 107c111

Browse files
committed
Highlighting 'of' as operator for 'for of' cycles
In ES6 was created new 'for of' cycles
1 parent d58edec commit 107c111

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
@@ -319,7 +319,7 @@
319319
'name': 'keyword.control.js'
320320
}
321321
{
322-
'match': '(?<!\\.)\\b(delete|in|instanceof|new|typeof|void)(?!\\s*:)\\b'
322+
'match': '(?<!\\.)\\b(delete|in|of|instanceof|new|typeof|void)(?!\\s*:)\\b'
323323
'name': 'keyword.operator.js'
324324
}
325325
{

0 commit comments

Comments
 (0)