add "async" and "await" keywords

* lisp/progmodes/js.el (js--keyword-re): Add async, await.
This commit is contained in:
Tom Tromey 2017-02-23 23:57:59 -07:00
parent 91932fff1d
commit 7b49bd44b7

View file

@ -277,7 +277,7 @@ Match group 1 is the name of the macro.")
(defconst js--keyword-re
(js--regexp-opt-symbol
'("abstract" "break" "case" "catch" "class" "const"
'("abstract" "async" "await" "break" "case" "catch" "class" "const"
"continue" "debugger" "default" "delete" "do" "else"
"enum" "export" "extends" "final" "finally" "for"
"function" "goto" "if" "implements" "import" "in"