[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7b49bd4: add "async" and "await" keywords
From: |
Tom Tromey |
Subject: |
[Emacs-diffs] master 7b49bd4: add "async" and "await" keywords |
Date: |
Fri, 24 Feb 2017 10:11:34 -0500 (EST) |
branch: master
commit 7b49bd44b70d0583e7e5989513b38e6f77e1c559
Author: Tom Tromey <address@hidden>
Commit: Tom Tromey <address@hidden>
add "async" and "await" keywords
* lisp/progmodes/js.el (js--keyword-re): Add async, await.
---
lisp/progmodes/js.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index b42b2bc..6e313dc 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7b49bd4: add "async" and "await" keywords,
Tom Tromey <=