diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-03-04 21:21:21 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-03-04 21:21:21 +0100 |
commit | 2d435224689ab8b02b64ce78b6e9d061fe48df22 (patch) | |
tree | ccc8ba655ef957356f9c214a42359029c34fe718 | |
parent | 6ff90ef0bbd5ed6ff284a614352a17cf37d570fe (diff) | |
download | emacs-2d435224689ab8b02b64ce78b6e9d061fe48df22.tar.gz emacs-2d435224689ab8b02b64ce78b6e9d061fe48df22.tar.bz2 emacs-2d435224689ab8b02b64ce78b6e9d061fe48df22.zip |
Add "of" as a keyword in js-mode
* lisp/progmodes/js.el (js--keyword-re): Add the "of" of "for
... of" in ECMAScript 2018 (bug#46924).
-rw-r--r-- | lisp/progmodes/js.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 21bda086801..c233dcebe19 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -282,7 +282,7 @@ Match group 1 is the name of the macro.") "continue" "debugger" "default" "delete" "do" "else" "enum" "export" "extends" "final" "finally" "for" "function" "goto" "if" "implements" "import" "in" - "instanceof" "interface" "native" "new" "package" + "instanceof" "interface" "native" "new" "of" "package" "private" "protected" "public" "return" "static" "super" "switch" "synchronized" "throw" "throws" "transient" "try" "typeof" "var" "void" "let" |