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

Commit 2cf5b6b

Browse files
committed
Merge pull request #114 from Ganonside/master
added `from` to the regex matching `keyword.control.js`
2 parents b087eec + 450a664 commit 2cf5b6b

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
@@ -312,7 +312,7 @@
312312
'name': 'storage.modifier.js'
313313
}
314314
{
315-
'match': '(?<!\\.)\\b(break|case|catch|continue|do|else|finally|for|if|import|package|return|switch|throw|try|while|with|yield)(?!\\s*:)\\b'
315+
'match': '(?<!\\.)\\b(break|case|catch|continue|do|else|finally|for|if|import|from|package|return|switch|throw|try|while|with|yield)(?!\\s*:)\\b'
316316
'name': 'keyword.control.js'
317317
}
318318
{

0 commit comments

Comments
 (0)