mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 12:37:38 +03:00
Update javascript.yaml
Add statements `async` and `await`. Its status is stage 3 Draft. https://tc39.github.io/ecmascript-asyncawait/#async-function-definitions But I think it's usefull to add, because Node.js >= v7.6 support it.
This commit is contained in:
parent
423f4675d2
commit
07bfcc9747
@ -16,7 +16,7 @@ rules:
|
|||||||
- symbol.brackets: "(\\(|\\))"
|
- symbol.brackets: "(\\(|\\))"
|
||||||
- symbol.brackets: "(\\[|\\])"
|
- symbol.brackets: "(\\[|\\])"
|
||||||
- statement: "\\b(break|case|catch|continue|default|delete|do|else|finally)\\b"
|
- statement: "\\b(break|case|catch|continue|default|delete|do|else|finally)\\b"
|
||||||
- statement: "\\b(for|function|class|extends|get|if|in|instanceof|new|return|set|switch)\\b"
|
- statement: "\\b(for|function|class|extends|get|if|in|instanceof|new|return|set|switch|async|await)\\b"
|
||||||
- statement: "\\b(switch|this|throw|try|typeof|var|const|let|void|while|with)\\b"
|
- statement: "\\b(switch|this|throw|try|typeof|var|const|let|void|while|with)\\b"
|
||||||
- constant: "\\b(null|undefined|NaN)\\b"
|
- constant: "\\b(null|undefined|NaN)\\b"
|
||||||
- constant: "\\b(true|false)\\b"
|
- constant: "\\b(true|false)\\b"
|
||||||
|
Loading…
Reference in New Issue
Block a user