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

Commit f873737

Browse files
committed
🐛 Allow 'from' as identifier
1 parent 61b5fa8 commit f873737

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
@@ -891,7 +891,7 @@
891891
'name': 'meta.control.yield.js'
892892
}
893893
{
894-
'match': '(?<!\\.)\\b(await|break|case|catch|continue|do|else|finally|for|if|import|from|package|return|switch|throw|try|while|with)(?!\\s*:)\\b'
894+
'match': '(?<!\\.)\\b(await|break|case|catch|continue|do|else|finally|for|if|import|package|return|switch|throw|try|while|with)(?!\\s*:)\\b'
895895
'name': 'keyword.control.js'
896896
}
897897
{

0 commit comments

Comments
 (0)