add "async" and "await" keywords
* lisp/progmodes/js.el (js--keyword-re): Add async, await.
This commit is contained in:
parent
91932fff1d
commit
7b49bd44b7
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue