Merge pull request #1202 from luizbills/patch-1

add 'from' and 'of' keywords in javascript syntax file
This commit is contained in:
Zachary Yedidia 2018-12-10 14:30:25 -05:00 committed by GitHub
commit ba98e973c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ rules:
- symbol.brackets: "(\\[|\\])"
- symbol.operator: "[-+/*=<>!~%?:&|]"
- statement: "\\b(async|await|break|case|catch|const|continue|debugger|default|delete|do|else|export|finally)\\b"
- statement: "\\b(for|function|class|extends|get|if|import|in|instanceof|let|new|return|set)\\b"
- statement: "\\b(for|function|class|extends|get|if|import|from|in|of|instanceof|let|new|return|set)\\b"
- statement: "\\b(super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b"
# reserved but unassigned
- error: "\\b(enum|implements|interface|package|private|protected|public)"