mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 12:37:38 +03:00
Merge pull request #1202 from luizbills/patch-1
add 'from' and 'of' keywords in javascript syntax file
This commit is contained in:
commit
ba98e973c4
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user